Calendar or user timezone with Office 365 API

六月ゝ 毕业季﹏ 提交于 2019-11-30 17:26:40

问题


Is it possible to get timezone of a user or its calendar through Office 365 or Graph API?

I know that you can get start and end timezone from specific event. But that does not help me.


回答1:


Sorry, we don't support this yet through Office 365 or Graph REST APIs. This is on our roadmap to add, but I don't have a timeline to share.




回答2:


The Microsoft Graph REST API now returns a timeZone field from Get user mailbox settings.

You can also retrieve just the timezone:

GET /users/{id|userPrincipalName}/mailboxSettings/timeZone

Unfortunately the format of timezone can vary - some details are in the docs.



来源:https://stackoverflow.com/questions/29790029/calendar-or-user-timezone-with-office-365-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!