Microsoft Graph · Schema

microsoft.graph.accessPackageAssignmentRequest

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphaccesspackageassignmentrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.accessPackageAssignmentRequest",
  "title": "microsoft.graph.accessPackageAssignmentRequest",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "accessPackageAssignmentRequest",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "answers": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.accessPackageAnswer"
          },
          "description": "Answers provided by the requestor to accessPackageQuestions asked of them at the time of request."
        },
        "completedDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": "string",
          "description": "The date of the end of processing, either successful or failure, of a request. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.",
          "format": "date-time",
          "nullable": true
        },
        "createdDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": "string",
          "description": "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter.",
          "format": "date-time",
          "nullable": true
        },
        "customExtensionCalloutInstances": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.customExtensionCalloutInstance"
          },
          "description": "Information about all the custom extension calls that were made during the access package assignment workflow."
        },
        "justification": {
          "type": "string",
          "description": "The requestor's supplied justification.",
          "nullable": true
        },
        "requestType": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.accessPackageRequestType"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The type of the request. The possible values are: notSpecified, userAdd, UserExtend, userUpdate, userRemove, adminAdd, adminUpdate, adminRemove, systemAdd, systemUpdate, systemRemove, onBehalfAdd (not supported), unknownFutureValue. Requests from the user have a requestType of userAdd, userUpdate, or userRemove. This property can't be changed once set."
        },
        "schedule": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.entitlementManagementSchedule"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The range of dates that access is to be assigned to the requestor. This property can't be changed once set, but a new schedule for an assignment can be included in another userUpdate or UserExtend or adminUpdate assignment request."
        },
        "state": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.accessPackageRequestState"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The state of the request. The possible values are: submitted, pendingApproval, delivering, delivered, deliveryFailed, denied, scheduled, canceled, partiallyDelivered, unknownFutureValue. Read-only. Supports $filter (eq)."
        },
        "status": {
          "type": "string",
          "description": "More information on the request processing status. Read-only.",
          "nullable": true
        },
        "accessPackage": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.accessPackage"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The access package associated with the accessPackageAssignmentRequest. An access package defines the collections of resource roles and the policies for how one or more users can get access to those resources. Read-only. Nullable.  Supports $expand.",
          "x-ms-navigationProperty": true
        },
        "assignment": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.accessPackageAssignment"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "For a requestType of userAdd or adminAdd, this is an access package assignment requested to be created. For a requestType of userRemove, adminRemove or systemRemove, this has the id property of an existing assignment to be removed.   Supports $expand.",
          "x-ms-navigationProperty": true
        },
        "requestor": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.accessPackageSubject"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The subject who requested or, if a direct assignment, was assigned. Read-only. Nullable. Supports $expand.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.accessPackageAssignmentRequest"
}