operationApprovalRequest resource type

Namespace: microsoft.graph

Important: Microsoft Graph APIs under the /beta version are subject to change; production use is not supported.

Note: The Microsoft Graph API for Intune requires an active Intune license for the tenant.

The OperationApprovalRequest Entity

Methods

Method Return Type Description
List operationApprovalRequests operationApprovalRequest collection List properties and relationships of the operationApprovalRequest objects.
Get operationApprovalRequest operationApprovalRequest Read properties and relationships of the operationApprovalRequest object.
Create operationApprovalRequest operationApprovalRequest Create a new operationApprovalRequest object.
Delete operationApprovalRequest None Deletes a operationApprovalRequest.
Update operationApprovalRequest operationApprovalRequest Update the properties of a operationApprovalRequest object.
approve action String Approves the requested instance of an operationApprovalRequest
reject action String Rejects the requested instance of an operationApprovalRequest
cancelApproval action String Cancels an already approved instance of an operationApprovalRequest
getRequestStatus action operationApprovalRequestEntityStatus Not yet documented
getMyRequestById function operationApprovalRequest Not yet documented
getMyRequests function operationApprovalRequest collection Not yet documented
cancelMyRequest action None Not yet documented

Properties

Property Type Description
id String The ID of the Entity
requestDateTime DateTimeOffset The DateTime of the request. This property is read-only.
expirationDateTime DateTimeOffset The DateTime at which actions upon the request are no longer permitted. This property is read-only.
lastModifiedDateTime DateTimeOffset Last modified DateTime. This property is read-only.
requestor identitySet The identity of the requestor. This property is read-only.
approver identitySet The identity of the approver. This property is read-only.
status operationApprovalRequestStatus The current approval request status. This property is read-only. Possible values are: unknown, needsApproval, approved, rejected, cancelled, completed, expired, unknownFutureValue.
requestJustification String The request justification. This property is read-only.
approvalJustification String The justification for the approval of the request. This property is read-only.
operationApprovalPolicies String The operational approval policies used in the request. This property is read-only.

Relationships

None

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.operationApprovalRequest",
  "id": "String (identifier)",
  "requestDateTime": "String (timestamp)",
  "expirationDateTime": "String (timestamp)",
  "lastModifiedDateTime": "String (timestamp)",
  "requestor": {
    "@odata.type": "microsoft.graph.identitySet",
    "application": {
      "@odata.type": "microsoft.graph.identity",
      "id": "String",
      "displayName": "String"
    },
    "device": {
      "@odata.type": "microsoft.graph.identity",
      "id": "String",
      "displayName": "String"
    },
    "user": {
      "@odata.type": "microsoft.graph.identity",
      "id": "String",
      "displayName": "String"
    }
  },
  "approver": {
    "@odata.type": "microsoft.graph.identitySet",
    "application": {
      "@odata.type": "microsoft.graph.identity",
      "id": "String",
      "displayName": "String"
    },
    "device": {
      "@odata.type": "microsoft.graph.identity",
      "id": "String",
      "displayName": "String"
    },
    "user": {
      "@odata.type": "microsoft.graph.identity",
      "id": "String",
      "displayName": "String"
    }
  },
  "status": "String",
  "requestJustification": "String",
  "approvalJustification": "String",
  "operationApprovalPolicies": "String"
}