question

phillipsmithattigercommsdotcom avatar image
0 Votes"
phillipsmithattigercommsdotcom asked JanardhanaVedham-MSFT answered

SessionID in callRecord is not unique across calls

Your documentation states that a Call has a 1:n relationship with Sessions (ER Model diagram here: https://docs.microsoft.com/en-gb/graph/api/resources/callrecords-api-overview?view=graph-rest-1.0)

It also states that a SessionID uniquely identifies a session. (https://docs.microsoft.com/en-gb/graph/api/resources/callrecords-session?view=graph-rest-1.0)

This does not appear to be the case.

The image below shows JSON snippets of two calls, each containing the same SessionID. The relationship is therefore m:n. The key is therefore the compound of (CallID, SessionID).

Can you confirm that this is correct and your documentation is wrong?

191818-image.png


microsoft-graph-cloud-communications
image.png (184.1 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JanardhanaVedham-MSFT avatar image
0 Votes"
JanardhanaVedham-MSFT answered

Hi @phillipsmithattigercommsdotcom ,

I tried to replicate above mentioned issue at my side in my developer tenant and based on my testing, Call Records List Sessions API working as expected and as per the documentation. All session IDs are unique in each call's API response and I could n't find any session ID is being overlaped between these two calls.

 GET https://graph.microsoft.com/v1.0/communications/callRecords/{id}/sessions

Call 1 API response ::

195127-image.png

Call 2 API response : :

195167-image.png

If the issue still persist in your tenant then I would advise you to open a support case with Graph API team for a dedicated support and escalalating it to Microsoft engineering team to analyze it and further assistance. You can raise the case either from Azure portal or M365 admin center of your tenant.

Hope this helps.

If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.



image.png (74.9 KiB)
image.png (76.2 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.