在事件增量查询上扩展单值扩展属性?
Expand single value extended properties on events delta query?
是否可以在事件增量请求中提供 $expand=singleValueExtendedProperties...
查询参数?我的方法 returns 出乎我意料的错误。
请求如下所示:
API:
https://graph.microsoft.com/v1.0
RESOURCE:
me/calendarView/delta
PARAMS:
startDateTime: 2020-07-01T00:00:00Z
endDateTime: 2021-12-31T23:59:59Z
$expand: singleValueExtendedProperties($filter=id eq 'Boolean {00062002-0000-0000-c000-000000000046} Id 0x00008229')
请求失败,在正文中返回此消息:
Parsing OData Select and Expand failed: Value cannot be null.
Parameter name: initialState
不清楚指的是哪个值,但鉴于省略 $expand 时不会发生错误,我怀疑它与尝试在增量查询中扩展或在 [= 上指定扩展有关45=] 扩展 属性.
省略 $expand
会导致成功响应,我将省略 $deltatoken
参数以创建新流(因为现有流未使用 $expand
编码)。
你会很高兴扩展是在非字符串类型的 MAPI 属性 上,具体来说是 Invited property. It's explicitly documented that you cannot $select properties that are not tracked,但它没有提到它们是否可以包含在增量响应本身。
这应该是可能的吗?如果是这样,你能指出我格式化这个请求的正确方向吗?谢谢!
关于这个 adjacent question 已经有人问过了。根据以下内容似乎已过时。
Get delta for Messages explicitly states that $expand
is supported, but the Get delta for Events 没有 明确说明任何有关 $expand
或任何 OData 的内容,它只是说明 $select
不是支持。
如果有一些隐藏的限制,是否可以直接在事件增量文档中明确记录?
是否可以在事件增量请求中提供 $expand=singleValueExtendedProperties...
查询参数?我的方法 returns 出乎我意料的错误。
请求如下所示:
API:
https://graph.microsoft.com/v1.0
RESOURCE:
me/calendarView/delta
PARAMS:
startDateTime: 2020-07-01T00:00:00Z
endDateTime: 2021-12-31T23:59:59Z
$expand: singleValueExtendedProperties($filter=id eq 'Boolean {00062002-0000-0000-c000-000000000046} Id 0x00008229')
请求失败,在正文中返回此消息:
Parsing OData Select and Expand failed: Value cannot be null.
Parameter name: initialState
不清楚指的是哪个值,但鉴于省略 $expand 时不会发生错误,我怀疑它与尝试在增量查询中扩展或在 [= 上指定扩展有关45=] 扩展 属性.
省略 $expand
会导致成功响应,我将省略 $deltatoken
参数以创建新流(因为现有流未使用 $expand
编码)。
你会很高兴扩展是在非字符串类型的 MAPI 属性 上,具体来说是 Invited property. It's explicitly documented that you cannot $select properties that are not tracked,但它没有提到它们是否可以包含在增量响应本身。
这应该是可能的吗?如果是这样,你能指出我格式化这个请求的正确方向吗?谢谢!
关于这个 adjacent question 已经有人问过了。根据以下内容似乎已过时。
Get delta for Messages explicitly states that $expand
is supported, but the Get delta for Events 没有 明确说明任何有关 $expand
或任何 OData 的内容,它只是说明 $select
不是支持。
如果有一些隐藏的限制,是否可以直接在事件增量文档中明确记录?