Getting PSTN Call Reports from Microsoft Teams using Graph

%3CLINGO-SUB%20id%3D%22lingo-sub-1934752%22%20slang%3D%22en-US%22%3EGetting%20PSTN%20Call%20Reports%20from%20Microsoft%20Teams%20using%20Graph%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1934752%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20actually%20trying%20to%20get%20the%20Microsoft%20Teams%20reports%20from%20Microsoft%20Graph%2C%20I%20already%20registered%20an%20App%20on%20Azure%20AD%20and%20create%20the%20Key%20Access.%20But%2C%20according%20to%20the%20Microsoft%20documentation%2C%20i%20have%20to%20use%20this%20query%20structure%20for%20consuming%20the%20API%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%2Fv1.0%2Fcommunications%2FcallRecords%2Fmicrosoft.graph.callRecords.getDirectRoutingCalls(fromDateTime%3D%7Bstart%20date%20and%20time)%2CtoDateTime%3D%7Bend%20date%20and%20time))%3CSPAN%3E)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EWhen%20I%20try%20to%20do%20that%20at%20postman%20or%20MicrosoftGraph%20I%20receive%20an%20error%2C%20any%20idea%20or%20documentation%20that%20i%20could%20follow.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Visitor

Hi all,

 

I am actually trying to get the Microsoft Teams reports from Microsoft Graph, I already registered an App on Azure AD and create the Key Access. But, according to the Microsoft documentation, i have to use this query structure for consuming the API

 

/v1.0/communications/callRecords/microsoft.graph.callRecords.getDirectRoutingCalls(fromDateTime={start date and time),toDateTime={end date and time)))

 

When I try to do that at postman or MicrosoftGraph I receive an error, any idea or documentation that i could follow.

1 Reply

Hello, you must add the authorization in the request header, you can folllow this documentation https://docs.microsoft.com/fr-fr/graph/api/callrecords-callrecord-getdirectroutingcalls?view=graph-r... 
 @AgustinCanoTeamInt