Edit

historyItem 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.

An audit or activity record for a change made to a plan or its child entities. entityId, entityType, eventType, and occurredDateTime (the primary sort key) are returned by default; the acting identity and before/after state are opt-in via $select.

Inherits from plannerDelta.

Methods

Method Return type Description
List historyItem collection Get a list of the historyItem objects and their properties.
Create historyItem Create a new historyItem object.
Get historyItem Read the properties and relationships of historyItem object.
Update historyItem Update the properties of a historyItem object.
Delete None Delete a historyItem object.

Properties

Property Type Description
actor identitySet Identity of the user (or application) that performed the change.
entityId String ID of the entity the history item describes.
entityType historyEntityType Type of the entity the history item describes. The possible values are: task, unknownFutureValue.
eventType historyEventType Type of the change event that occurred. The possible values are: created, updated, deleted, undeleted, moved, unknownFutureValue.
id String The unique identifier of the entity. Read-only. Inherited from entity
newData String Serialized representation of the entity state after the change.
occurredDateTime DateTimeOffset Date and time the change occurred. Read-only.
oldData String Serialized representation of the entity state before the change.
planId String ID of the plan the change occurred in.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.historyItem",
  "id": "String (identifier)",
  "planId": "String",
  "entityId": "String",
  "entityType": "String",
  "eventType": "String",
  "occurredDateTime": "String (timestamp)",
  "actor": {
    "@odata.type": "microsoft.graph.identitySet"
  },
  "oldData": "String",
  "newData": "String"
}