Microsoft Graph SDKs use the v1.0 version of the API by default, and do not support all the types, properties, and APIs available in the beta version. It creates a task, expresses startDateTime and dueDateTime in Eastern Standard Time (EST), and includes a Prefer header of Pacific Standard Time (PST). The following example shows the use of the Prefer: outlook.timezone header. If successful, this method returns 201 Created response code and outlookTask object in the response body. In the request body, supply a JSON representation of outlookTask object. Specifies the time zone for time properties in the response, which would be in UTC if this header is not specified. Permissions (from least to most privileged) To learn more, including how to choose permissions, see Permissions. One of the following permissions is required to call this API. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone To be always midnight in the specified time zone.īy default, this operation (and the GET, PATCH, and complete task operations) returns date-related properties in UTC. The POST method always ignores the time portion of startDateTime and dueDateTime in the request body, and assumes the time For more information, see To Do APIs in public preview.Ĭreate an Outlook task in the default task group ( My Tasks) and default task folder ( Tasks) in the user's mailbox. The Outlook tasks API is deprecated and will stop returning data on August 20, 2022.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |