如果是 Microsoft Teams 会议,是否有获取在线会议的字段 url?

Is there a field to get online meeting url if it is Microsoft Teams meeting?

当我使用这个API获取事件时

GET https://graph.microsoft.com/v1.0/me/calendarview?startdatetime=2018-04-11T00:00:00.000Z&enddatetime=2018-04-18T00:00:00.000Z

如果是 Skype 会议,将有一个 onlineMeetingUrl 字段并召开会议 url。

但是,如果是 Microsoft Teams 会议,onlineMeetingUrl 为空。会议还有别的专场吗url?谢谢

下面是 Microsoft Teams 会议:

    {
        "@odata.etag": "W/\"oCWUK/b/Ok2lJzxdSR2E9QABXMy2tg==\"",
        "id": "AQMkADAwATM0MDAAMS1hZjgyLTczYjAtMDACLTAwCgBGAAADgXLIICAAoo9AoyFmP0_4_YQHAKAllCv2-zpNpSc8XUkdhPUAAAIBDQAAAKAllCv2-zpNpSc8XUkdhPUAAVypLdQAAAA=",
        "createdDateTime": "2018-04-11T02:58:26.9190336Z",
        "lastModifiedDateTime": "2018-04-11T02:58:26.9971595Z",
        "changeKey": "oCWUK/b/Ok2lJzxdSR2E9QABXMy2tg==",
        "categories": [],
        "originalStartTimeZone": "Pacific Standard Time",
        "originalEndTimeZone": "Pacific Standard Time",
        "iCalUId": "040000008200E00074C5B7101A82E00800000000F1F424ED40D1D301000000000000000010000000F51FB6A3836CAB4985F44D2D45E3AC0F",
        "reminderMinutesBeforeStart": 15,
        "isReminderOn": true,
        "hasAttachments": false,
        "subject": "Hi",
        "bodyPreview": "Hello",
        "importance": "normal",
        "sensitivity": "normal",
        "isAllDay": false,
        "isCancelled": false,
        "isOrganizer": false,
        "responseRequested": true,
        "seriesMasterId": null,
        "showAs": "tentative",
        "type": "singleInstance",
        "webLink": "https://outlook.live.com/owa/?itemid=AQMkADAwATM0MDAAMS1hZjgyLTczYjAtMDACLTAwCgBGAAADgXLIICAAoo9AoyFmP0%2B4%2BYQHAKAllCv2%2FzpNpSc8XUkdhPUAAAIBDQAAAKAllCv2%2FzpNpSc8XUkdhPUAAVypLdQAAAA%3D&exvsurl=1&path=/calendar/item",
        "onlineMeetingUrl": null,
        "responseStatus": {
            "response": "notResponded",
            "time": "0001-01-01T00:00:00Z"
        },
        "body": {
            "contentType": "html",
            "content": "Hello"
        },
        "start": {
            "dateTime": "2018-04-12T03:00:00.0000000",
            "timeZone": "UTC"
        },
        "end": {
            "dateTime": "2018-04-12T03:30:00.0000000",
            "timeZone": "UTC"
        },
        "location": {
            "displayName": "Here",
            "locationType": "default",
            "uniqueId": "Here",
            "uniqueIdType": "private"
        },
        "locations": [
            {
                "displayName": "Here",
                "locationType": "default",
                "uniqueId": "Here",
                "uniqueIdType": "private"
            }
        ],
        "recurrence": null,
        "attendees": [
            {
                "type": "required",
                "status": {
                    "response": "none",
                    "time": "0001-01-01T00:00:00Z"
                },
                "emailAddress": {
                    "name": "Jack",
                    "address": "Jack@example.com"
                }
            },
            {
                "type": "required",
                "status": {
                    "response": "none",
                    "time": "0001-01-01T00:00:00Z"
                },
                "emailAddress": {
                    "name": "Rose",
                    "address": "Rose@example.com"
                }
            }
        ],
        "organizer": {
            "emailAddress": {
                "name": "Jack",
                "address": "Jack@example.com"
            }
        }
    }

我们正在与 Microsoft Graph 团队合作解决这个问题,既要过滤在线会议,也要区分 Teams 和 Skype for Business 会议(如您所见,它们使用不同的属性)。

我不知道确切的时间表,但您应该会在接下来的几个月内在 Microsoft Graph 的 beta 端点中看到它。

更新:在正式公开之前,有一种未记录的方法可以获取它:

https://graph.microsoft.com/v1.0/me/events?$expand=singleValueExtendedProperties($filter=id eq 'String {00020329-0000-0000-C000-000000000046} Name SkypeTeamsMeetingUrl')