Microsoft的Graph API日历不返回任何值

时间:2017-05-19 19:25:09

标签: .net microsoft-graph



我正在尝试微软的API;我试图调用给出的Calendar API查询 Permission-Documentation Microsoft Graph API

/me/calendarView?startDateTime=2017-04-23T00:00:00&endDateTime=2017-04-29T00:00:00

我已将范围设为Calendars.Read。

但是,即使提供有效日期,响应JSON中的值仍为空白。 任何人都可以让我知道为什么会这样吗?。
谢谢。

编辑:回复:
{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#users('myemailid%40outlook.com')/calendarView","value":[]}

1 个答案:

答案 0 :(得分:0)

你的网址似乎是个问题。

请改为尝试:

GET /me/calendar/calendarView?startDateTime={start_datetime}&endDateTime={end_datetime}