Forum Discussion
Luke_viaCSM
Jul 21, 2021Copper Contributor
MS-Teams Graph | listing all callID's or the call history of a member | call duration
dear wonderful people , for a small intern project I want to implement the call duration of the ms-teams into the customer relationship management system database - I don't manage to list all cal...
StefanFried
Sep 06, 2021Steel Contributor
well you need to have a subscription first ...
https://docs.microsoft.com/en-us/graph/api/subscription-post-subscriptions?view=graph-rest-beta&tabs=http
so that you get notified whenever a call happened.
the subscription gives you then the callID which you use in the getcallrecordes rest api call
https://docs.microsoft.com/en-us/graph/api/callrecords-callrecord-get?view=graph-rest-beta&tabs=http
hth
stefan
https://docs.microsoft.com/en-us/graph/api/subscription-post-subscriptions?view=graph-rest-beta&tabs=http
so that you get notified whenever a call happened.
the subscription gives you then the callID which you use in the getcallrecordes rest api call
https://docs.microsoft.com/en-us/graph/api/callrecords-callrecord-get?view=graph-rest-beta&tabs=http
hth
stefan
- WilsonOlarte15Mar 30, 2023Copper ContributorHi Stefan, you have other method for take the calls record without use subscribe to change notifications?