Microsoft Graph API Get CallRecord方法:allRecord的版本 [英] Microsoft Graph API Get callRecord method: version of callRecord

查看:22
本文介绍了Microsoft Graph API Get CallRecord方法:allRecord的版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在团队中订阅了新的CallRecords,它工作得很好,但有时当我调用";get allRecord";Graph API方法来获取团队调用的详细信息时,没有组织者的会话信息。我后来看了一下,有主办方的会议信息。我还在call Record中看到了";Version&Quot;属性。

有没有办法确保它是最新版本的CallRecord并且不会在以后更改?我需要知道用户是否参加了会议,但这个版本给我带来了不确定性。

代码仅为示例:

{
    "@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": [...],
    "sessions@odata.context": "https://graph.microsoft.com/v1.0/$metadata#communications/callRecords('5da1894e-5af4-47f9-a304-e26208c5469f')/sessions",
    "sessions": [...]
}

推荐答案

Asthe commentbyTrinetra-MSFT表示:

版本会根据可用呼叫记录的数量进行更改 现有呼叫的版本增加了,您可以区分两者 通话记录使用版本号,不能保留相同的版本 呼叫记录API提供的内容,它会自动增加 版本。

无法获取通话记录的最新版本。

这篇关于Microsoft Graph API Get CallRecord方法:allRecord的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆