Share via

getPstnCalls always returns 0 objects ("@odata.count": 0)

Drako 141 Reputation points
2021-08-09T20:58:26.423+00:00

I have tried to call the API with diferent dates and can't get it to return data:
https://graph.microsoft.com/beta/communications/callRecords/getPstnCalls(fromDateTime=2021-08-01,toDateTime=2021-08-09)

I always get
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#Collection(microsoft.graph.callRecords.pstnCallLogRow)",
"@odata.count": 0,
"value": []
}

Do we need some other permission?

Community Center | Not monitored
0 comments No comments

Answer accepted by question author

Drako 141 Reputation points
2021-09-08T15:53:06.387+00:00

Hi, sorry I resolved this...it was my fault, using incorrect method, as I was trying to get team calls wich I eventually used the subscription method to teams and get the calls service.. Thanks for reply.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Drako 141 Reputation points
    2021-08-10T02:30:57.223+00:00

    Actually I was trying to get the Total Calls by user in our ORG, Teams Call and I think this method doesn't get it....

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.