編輯

共用方式為


onenoteOperation resource type

Namespace: microsoft.graph

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.
percentComplete string The operation percent complete if the operation is still in running status.
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.

Relationships

None

Methods

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