onenoteOperation 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 status of certain long-running OneNote operations.

JSON representation

The following JSON representation shows the resource type.

{
  "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 operationStatus 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.