Skip to main content

Change an approval

PATCH 

/generic-approvals/:id

Change the values of a given approval

Request

Body

required
    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[]

    An array of identities 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[]

    An array of identities 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

  • ]
  • reassignFrom 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

    reassignTo 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

    additionalAttributes object

    Any additional attributes that the approval request may need

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