Search code examples
outlookmicrosoft-graph-apimicrosoft-graph-mailmicrosoft-todo

Difference of lastModifiedDateTime and bodyLastModifiedDateTime in Microsoft Graph todo task apis


In Microsoft Graph Todo Task Item documents (this link) there are two fields with two different names but with the same description: lastModifiedDateTime and bodyLastModifiedDateTime.

Anyone knows the difference of these 2 fields?


Solution

  • You are right, the description on create todoTask is wrong.

    If you check todotask resource's properties the bodyLastModifiedDateTime has the correct description.

    The date and time when the task body was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'.