ItemActivityTimeSet resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

The ItemActivityTimeSet resource provides information about when an activity on an item took place.

JSON representation

{
  "observedDateTime": "String (timestamp)",
  "recordedDateTime": "String (timestamp)"
}

Properties

Property Type Description
observedDateTime DateTimeOffset When the activity was observed to take place.
recordedDateTime DateTimeOffset When the observation was recorded on the service.

The difference between observed and recorded times is especially important for offline collaboration scenarios. If a user comments on a file while offline, the time that they make the comment be set as the observedDateTime. At a later time when the user reconnects to the cloud and the changes get uploaded, that later time is set as the recordedDateTime.

Remarks

Item activity records are currently only available on SharePoint and OneDrive for Business.