onenoteOperation resource type

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported.

The status of certain long-running OneNote operations.

JSON representation

Here is a JSON representation of the resource.

{
  "createdDateTime": "String (timestamp)",
  "error": {"@odata.type": "microsoft.graph.onenoteOperationError"},
  "id": "string (identifier)",
  "lastActionDateTime": "String (timestamp)",
  "resourceId": "string",
  "resourceLocation": "string",
  "status": "string",
  "percentComplete": "string"
}

Properties

Property Type Description
createdDateTime DateTimeOffset The start time of the operation.
error onenoteOperationError The error returned by the operation.
id string The operation id. Read-only.
lastActionDateTime DateTimeOffset The time of the last action of the operation.
resourceId string The resource id.
resourceLocation string The resource URI for the object. For example, the resource URI for a copied page or section.
status string The current status of the operation: notstarted, running, completed, failed
percentComplete string The operation percent complete if the operation is still in running status

Relationships

None

Methods

Method Return Type Description
Get operation onenoteOperation Get the status of the operation.