当我使用Microsoft Graph explorer尝试以下 GET 请求时:
https://graph.microsoft.com/beta//me/calendars/joseph.baker.doodle@outlook.com/calendarView?startDateTime=2019-10-24T07:40:43.133Z
我得到了这样的回应:
{
"error": {
"code": "ErrorInvalidIdMalformed",
"message": "Id is malformed.",
"innerError": {
"request-id": "7ffa9b3c-b5bf-4171-b5ad-242dd831b629",
"date": "2019-11-21T06:30:12"
}
}
}
当我尝试使用用户的日历 ID 时:
https://graph.microsoft.com/beta//me/calendars/AQMkADAwATM3ZmYAZS0yNDI1LTEwMmMtMDACLTAwCgBGAAADWt9re56XX0ay-rq-yg7yKwcA94f8IFhbyEuRrCHknQvqSwAAAgEGAAAA94f8IFhbyEuRrCHknQvqSwAAADW523EAAAA=/calendarView?startDateTime=2019-10-24T07:40:43.133Z&endDateTime=2019-10-31T07:40:43.133Z
也适用于以下帐户@onmicrosoft.com
:
https://graph.microsoft.com/beta//me/calendars/joseph.baker.doodle@onmicrosoft.com/calendarView?startDateTime=2019-10-24T07:40:43.133Z
它按预期工作。
有人可以帮我吗?问题与域有关吗?