Microsoft graph API一天不会返回所有事件

时间:2019-07-09 15:36:00

标签: api events graph outlook calendar

我正在使用图形API来获取Outlook日历中某个房间的事件。这是我使用的方法:https://docs.microsoft.com/en-us/graph/api/calendar-getschedule?view=graph-rest-beta

我对schedueldItems的JSON响应在下面提到。但是,前景日历显示的不仅仅是下图所示的4个事件。请告知该怎么办。另外,我的代码将时区指定为“中部时间”,但是我却获得了UTC时间。该如何解决?

[ { isPrivate: false,
    status: 'busy',
    subject: 'S&T Steering Stand-up',
    location: 'Zilker Room (6)',
    start: { dateTime: '2019-09-16T13:00:00.0000000', timeZone: 'UTC' },
    end: { dateTime: '2019-09-16T13:15:00.0000000', timeZone: 'UTC' } },
  { isPrivate: false,
    status: 'busy',
    subject: 'Kate Renner ',
    location: 'Zilker Room (6)',
    start: { dateTime: '2019-09-16T16:00:00.0000000', timeZone: 'UTC' },
    end: { dateTime: '2019-09-16T17:00:00.0000000', timeZone: 'UTC' } },
  { isPrivate: false,
    status: 'busy',
    subject: 'Eric Holmes ',
    location: 'Zilker Room (6)',
    start: { dateTime: '2019-09-16T20:00:00.0000000', timeZone: 'UTC' },
    end: { dateTime: '2019-09-16T20:30:00.0000000', timeZone: 'UTC' } },
  { isPrivate: false,
    status: 'busy',
    subject: 'Toolkit Onboarding ',
    location: 'Zilker Room (6)',
    start: { dateTime: '2019-09-16T21:30:00.0000000', timeZone: 'UTC' },
    end: { dateTime: '2019-09-16T22:00:00.0000000', timeZone: 'UTC' } } ]

enter image description here

0 个答案:

没有答案