Skip to main content

Reject an Approval Item

This API rejects an Approval Item. Either an admin, or the owning/current user must make this request.

Path Parameters
  • id string required

    The ID of the work item

    Example: ef38f94347e94562b5bb8424a56397d8
  • approvalItemId string required

    The ID of the approval item.

    Example: 1211bcaa32112bcef6122adb21cef1ac
Responses

A work items details object.


Schema
  • id string

    ID of the work item

  • requesterId string

    ID of the requester

  • requesterDisplayName string

    The displayname of the requester

  • ownerId string

    The ID of the owner

  • ownerName string

    The name of the owner

  • created date-time

    Time when the work item was created

  • modified date-time

    Time when the work item was last updated

  • description string

    The description of the work item

  • state string

    Possible values: [FINISHED, REJECTED, RETURNED, EXPIRED, PENDING, CANCELED]

    The state of a work item

  • type string

    Possible values: [UNKNOWN, GENERIC, CERTIFICATION, REMEDIATION, DELEGATION, APPROVAL, VIOLATIONREVIEW, FORM, POLICYVIOLATION, CHALLENGE, IMPACTANALYSIS, SIGNOFF, EVENT, MANUALACTION, TEST]

    The type of the work item

  • remediationItems object
  • id string

    The ID of the certification

  • targetId string

    The ID of the certification target

  • targetName string

    The name of the certification target

  • targetDisplayName string

    The display name of the certification target

  • applicationName string

    The name of the application/source

  • attributeName string

    The name of the attribute being certified

  • attributeOperation string

    The operation of the certification on the attribute

  • attributeValue string

    The value of the attribute being certified

  • nativeIdentity string

    The native identity of the target

  • approvalItems object
  • id string

    ID of the approval item

  • account string

    The account referenced by the approval item

  • application string

    The name the application/source

  • attributeName string

    The name of the attribute

  • attributeOperation string

    The operation of the attribute

  • attributeValue string

    The value of the attribute

  • state string

    Possible values: [FINISHED, REJECTED, RETURNED, EXPIRED, PENDING, CANCELED]

    The state of a work item

  • name string

    The work item name

  • completed date-time

    The time at which the work item completed

  • numItems int32

    The number of items in the work item

  • form object
  • id string

    ID of the form

  • name string

    Name of the form

  • title string

    The form title

  • subtitle string

    The form subtitle.

  • targetUser string

    The name of the user that should be shown this form

  • sections object
  • name string

    Name of the FormItem

  • label string

    Label of the section

  • formItems object[]

    List of FormItems. FormItems can be SectionDetails and/or FieldDetails

  • errors string[]

    An array of errors that ocurred during the work item

Loading...