我使用图API API findmeetingTimes来获得忙/闲时间。
如果在Timeslots参数指定的范围内的时间范围内设置了以秒为单位的事件,则将返回500错误
例如,如果我发送以下请求:POST https://graph.microsoft.com/v1.0/me/findMeetingTimes
{
"attendees": [],
"timeConstraint": {
"timeslots": [
{
"start": {
"dateTime": "2018-07-19T09:00:00.000Z",
"timeZone": "UTC"
},
"end": {
"dateTime": "2018-07-19T21:00:00.000Z",
"timeZone": "UTC"
}
}
]
},
"meetingDuration": "PT1H"
}
RESPONSE后返回API:
{
"error": {
"code": "ErrorInternalServerError",
"message": "An internal server error occurred. The operation failed.",
"innerError": {
"request-id": "43a1699f-2241-4c59-8450-826612466f07",
"date": "2018-07-19T02:16:22"
}
}
}
这是我的日历(2018年7月19日只有1场比赛)获取qazxsw poi
https://graph.microsoft.com/v1.0/me/calendarview?startdatetime=2018-07-19T00:00:00.000Z&enddatetime=2018-07-19T23:59:59.999Z
outlookAPI也会发生这种情况
这对我来说似乎是个错误。这是一个已知的错误,有没有计划修复它?有一个已知的工作吗?
尝试更改时隙中的时区标签,UTC似乎由于某种原因不起作用。目前还不清楚它是文档中的缺口还是API本身的问题。我开了一个・
・
・
"start": {
"dateTime": "2018-07-19T12:00:00.0000000",
"timeZone": "UTC"
},
"end": {
"dateTime": "2018-07-19T12:33:33.0000000",
"timeZone": "UTC"
}
・
・
・
让微软调查