Skip to main content

Get Approvals

GET 

/generic-approvals

Get a list of approvals, which can be filtered by requester ID, status, or reference type. You can use the "Mine" query parameter to return all approvals for the current approver. This endpoint is for generic approvals, unlike the access-request-approval endpoint, and does not include access-request-approvals. Absence of all query parameters will will default to mine=true.

Request

Query Parameters

    mine boolean

    Returns the list of approvals for the current caller.

    Example: true
    requesterId string

    Returns the list of approvals for a given requester ID.

    Example: 17e633e7d57e481569df76323169deb6a
    filters string

    Filter results using the standard syntax described in V3 API Standard Collection Parameters

    Filtering is supported for the following fields and operators:

    status: eq

    referenceType: eq

    Example: filters=status eq PENDING

Responses

List of approvals.

Schema

  • Array [

  • 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...