Skip to main content

Get an approval

GET 

/generic-approvals/:id

Retrieve a single approval for a given approval ID. This endpoint is for generic approvals, different than the access-request-approval endpoint and does not include access-request-approvals.

Request

Path Parameters

    id stringrequired

    ID of the approval that is to be returned

    Example: 38453251-6be2-5f8f-df93-5ce19e295837

Responses

Approval object

Schema
    approvalId string

    The Approval ID

    approvers object[]

    Object representation of an approver of an approval

  • Array [
  • id string

    The identity ID

    type string

    Possible values: [IDENTITY]

    Indication of what group the identity belongs to. Ie, IDENTITY, GOVERNANCE_GROUP, etc

    name string

    Name of the identity

  • ]
  • createdDate string

    Date the approval was created

    type string

    Type of approval

    name object[]

    The name of the approval for a given locale

  • Array [
  • value string

    Name of the approval

    locale string

    What locale the name of the approval is using

  • ]
  • batchRequest object

    The name of the approval for a given locale

    batchId string

    ID of the batch

    batchSize int64

    How many approvals are going to be in this batch. Defaults to 1 if not provided.

    description object[]

    The description of the approval for a given locale

  • Array [
  • value string

    The description of what the approval is asking for

    locale string

    What locale the description of the approval is using

  • ]
  • priority string

    Possible values: [HIGH, MEDIUM, LOW]

    The priority of the approval

    requester object

    Identity Object

    id string

    The identity ID

    type string

    Possible values: [IDENTITY]

    Indication of what group the identity belongs to. Ie, IDENTITY, GOVERNANCE_GROUP, etc

    name string

    Name of the identity

    comments object[]

    Object representation of a comment on the approval

  • Array [
  • author object

    Identity Object

    id string

    The identity ID

    type string

    Possible values: [IDENTITY]

    Indication of what group the identity belongs to. Ie, IDENTITY, GOVERNANCE_GROUP, etc

    name string

    Name of the identity

    comment string

    Comment to be left on an approval

    createdDate string

    Date the comment was created

  • ]
  • approvedBy object[]

    Array of approvers who have approved the approval

  • Array [
  • id string

    The identity ID

    type string

    Possible values: [IDENTITY]

    Indication of what group the identity belongs to. Ie, IDENTITY, GOVERNANCE_GROUP, etc

    name string

    Name of the identity

  • ]
  • rejectedBy object[]

    Array of approvers who have rejected the approval

  • Array [
  • id string

    The identity ID

    type string

    Possible values: [IDENTITY]

    Indication of what group the identity belongs to. Ie, IDENTITY, GOVERNANCE_GROUP, etc

    name string

    Name of the identity

  • ]
  • completedDate string

    Date the approval was completed

    approvalCriteria string

    Possible values: [SINGLE, DOUBLE, TRIPLE, QUARTER, HALF, ALL]

    Criteria that needs to be met for an approval to be marked as approved

    status string

    Possible values: [PENDING, APPROVED, REJECTED]

    The current status of the approval

    additionalAttributes string

    Json string representing additional attributes known about the object to be approved.

    referenceData object[]

    Reference data related to the approval

  • Array [
  • id string

    Id of the reference object

    type string

    What reference object does this ID correspond to

  • ]
Loading...