如何从 Microsoft Graph CalendarView Delta API 请求中获取完整位置?
How to get full location from Microsoft Graph CalendarView Delta API request?
我们发现使用 Outlook 桌面版和 Outlook Web (OWA) 创建事件的两种不同行为。
考虑使用 Outlook 桌面创建事件 A,并使用 Outlook Web (OWA) 创建事件 B,其中两个 "rooms"(位置)。
使用 Outlook 桌面创建的事件结果:
"locations": [
{
"displayName": "Room 1; Room 2",
"locationType": "default",
"uniqueId": "Room 1; Room 2",
"uniqueIdType": "private"
}
],
使用 Outlook Web OWA 创建的事件结果:
"locations": [
{
"displayName": "Room 1",
"locationType": "conferenceRoom",
"uniqueId": "room1@xxx.onmicrosoft.com",
"uniqueIdType": "directory",
"locationUri": "room1@xxx.onmicrosoft.com",
"address": {
"street": "",
"city": "",
"state": "",
"countryOrRegion": "",
"postalCode": ""
},
"coordinates": {}
},
{
"displayName": "Room 2",
"locationUri": "room2@xxx.onmicrosoft.com",
"locationType": "conferenceRoom",
"uniqueId": "room2@xxx.onmicrosoft.com",
"uniqueIdType": "directory",
"address": {
"street": "",
"city": "",
"state": "",
"countryOrRegion": "",
"postalCode": ""
},
"coordinates": {}
}
],
为什么当使用 Outlook 桌面版创建事件时,"locations" 字段变短了?这是一个错误吗?
如何始终获得完整的 "locations"(如 Outlook Web OWA 结果),无论 Outlook 版本如何?
谢谢。
我们发现使用 Outlook 桌面版和 Outlook Web (OWA) 创建事件的两种不同行为。
考虑使用 Outlook 桌面创建事件 A,并使用 Outlook Web (OWA) 创建事件 B,其中两个 "rooms"(位置)。
使用 Outlook 桌面创建的事件结果:
"locations": [
{
"displayName": "Room 1; Room 2",
"locationType": "default",
"uniqueId": "Room 1; Room 2",
"uniqueIdType": "private"
}
],
使用 Outlook Web OWA 创建的事件结果:
"locations": [
{
"displayName": "Room 1",
"locationType": "conferenceRoom",
"uniqueId": "room1@xxx.onmicrosoft.com",
"uniqueIdType": "directory",
"locationUri": "room1@xxx.onmicrosoft.com",
"address": {
"street": "",
"city": "",
"state": "",
"countryOrRegion": "",
"postalCode": ""
},
"coordinates": {}
},
{
"displayName": "Room 2",
"locationUri": "room2@xxx.onmicrosoft.com",
"locationType": "conferenceRoom",
"uniqueId": "room2@xxx.onmicrosoft.com",
"uniqueIdType": "directory",
"address": {
"street": "",
"city": "",
"state": "",
"countryOrRegion": "",
"postalCode": ""
},
"coordinates": {}
}
],
为什么当使用 Outlook 桌面版创建事件时,"locations" 字段变短了?这是一个错误吗?
如何始终获得完整的 "locations"(如 Outlook Web OWA 结果),无论 Outlook 版本如何?
谢谢。