问题描述
当我使用此API来获取事件
When I use this API to get events
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.
If it is a Skype meeting, there will be a onlineMeetingUrl
field and have the meeting url.
但是,如果这是Microsoft Teams会议,则onlineMeetingUrl
为空.会议网址是否还有另一个特殊字段?谢谢
However, if it is a Microsoft Teams meeting, onlineMeetingUrl
is null. Is there another special field for the meeting url? Thanks
以下是Microsoft Teams会议:
Below is a Microsoft Teams meeting:
{
"@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": "[email protected]"
}
},
{
"type": "required",
"status": {
"response": "none",
"time": "0001-01-01T00:00:00Z"
},
"emailAddress": {
"name": "Rose",
"address": "[email protected]"
}
}
],
"organizer": {
"emailAddress": {
"name": "Jack",
"address": "[email protected]"
}
}
}
推荐答案
我们正在与此相关的Microsoft Graph团队合作,既可以过滤在线会议,又可以区分Teams和Skype for Business会议(如您所知) ,它们使用不同的属性.)
We are working with the Microsoft Graph team on this, both to filter on online meetings, and to distinguish between Teams and Skype for Business meetings (as you have discovered, they use different properties).
我不知道确切的时间表,但是您应该在接下来的几个月中在Microsoft Graph的beta端点中看到它.
I don't know the exact schedule, but you should see this in the beta endpoint of Microsoft Graph in the next few months.
更新:在此之前,有一种未公开的方法可以获取它:
Update: there is an undocumented way to get to it in the meantime, before it's officially exposed:
https://graph.microsoft.com/v1.0/me/events?$expand=singleValueExtendedProperties($filter=id eq 'String {00020329-0000-0000-C000-000000000046} Name SkypeTeamsMeetingUrl')
这篇关于如果是Microsoft Teams会议,是否有获取在线会议URL的字段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!