Skip to main content

Reject an Approval Item

POST 

/work-items/:id/reject/:approvalItemId

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

Request

Path Parameters

    id stringrequired

    The ID of the work item

    Example: ef38f94347e94562b5bb8424a56397d8
    approvalItemId stringrequired

    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
    modified date-time
    description string

    The description of the work item

    state WorkItemState

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

    The state of a work item

    type WorkItemType

    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

    The approval item's ID

    account string

    The account referenced by the approval item

    application string

    The name of the application/source

    name string

    The attribute's name

    operation string

    The attribute's operation

    value string

    The attribute's value

    state WorkItemState

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

    The state of a work item

    name string

    The work item name

    completed date-time
    numItems integer

    The number of items in the work item

    errors string[]
Loading...