Reputation: 89
I have subscription to new callRecords in Teams and it works fine, but sometimes when I call "Get callRecord" Graph API method to get details of Teams call and there is no organizer's session info. I looked later and there is organizer's session info. I also see "version" property in callRecord.
Is there a way to surely new that it is last version of callRecord and it will not be changed later? I need to know if user was in the meeting or not, but this thing with version give me uncertainty.
Code is just for example:
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#communications/callRecords(sessions())/$entity",
"id": "5da1894e-5af4-47f9-a304-e26208c5469f",
//I talk about this attribute
"version": 3,
"type": "groupCall",
"modalities": [
"audio",
"videoBasedScreenSharing",
"screenSharing"
],
"lastModifiedDateTime": "2020-12-09T14:01:42.0108662Z",
"startDateTime": "2020-12-09T10:48:24.8299343Z",
"endDateTime": "2020-12-09T13:22:10.515688Z",
"joinWebUrl": "...",
"organizer": {
"acsUser": null,
"spoolUser": null,
"phone": null,
"guest": null,
"encrypted": null,
"onPremises": null,
"acsApplicationInstance": null,
"spoolApplicationInstance": null,
"applicationInstance": null,
"application": null,
"device": null,
"user": {
"id": "c2408055-2c55-489f-b8f5-5f404dbab627",
"displayName": "...",
"tenantId": "..."
}
},
"participants": [...],
"[email protected]": "https://graph.microsoft.com/v1.0/$metadata#communications/callRecords('5da1894e-5af4-47f9-a304-e26208c5469f')/sessions",
"sessions": [...]
}
Upvotes: 0
Views: 577
Reputation: 266
As the comment by Trinetra-MSFT says:
Version changes based on the number of call records available, once a version of existing call increased you can distinguish between both call records using version number, to retain the same version is not what call records API provides, it automatically increases the version.
It is not possible to get the last version of the call record.
Upvotes: 1