[英]Microsoft Graph API Select and Filter Owner Address in Calendar
[英]$select parameter not working on Microsoft Graph API share calendar (cURL)
在 Microsoft Graph 資源管理器中使用以下 URL 時,我可以看到我的日歷事件列表,其中只有主題字段返回為 JSON。
https://graph.microsoft.com/v1.0/me/calendarview?startdatetime=2022-06-17T16:37:48.171Z&enddatetime=2022-06-24T16:37:48.171Z&$select=subject
對資源的日歷執行相同操作時,將返回所有信息,而不僅僅是主題字段。
curl -H "Authorization: Bearer <BEARER_TOKEN>" "https://graph.microsoft.com/v1.0/users/<CALENDAR_SMTP>/calendarView?startdatetime=2022-06-17T16:37:48.171Z&enddatetime=2022-06-24T16:37:48.171Z&$select=subject"
我是在 cURL 中做錯了什么,還是$select在其他用戶的日歷上不起作用?
任何幫助,將不勝感激。
已解決 - 跳過 cURL 中的 $ 並且它有效。
curl -H "Authorization: Bearer <BEARER_TOKEN>" "https://graph.microsoft.com/v1.0/users/<CALENDAR_SMTP>/calendarView?startdatetime=2022-06-17T16:37:48.171Z&enddatetime=2022-06-24T16:37:48.171Z&select=subject"
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.