Skip to main content

Complete a Work Item

POST 

/work-items/:id

This API completes a work 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

Responses

A WorkItems object

Schema
    id string

    ID of the work item

    requesterId stringnullable

    ID of the requester

    requesterDisplayName stringnullable

    The displayname of the requester

    ownerId stringnullable

    The ID of the owner

    ownerName string

    The name of the owner

    created date-time

    Time when the work item was created

    modified date-timenullable

    Time when the work item was last updated

    description string

    The description of the work item

    state WorkItemStateManualWorkItems

    Possible values: [Finished, Rejected, Returned, Expired, Pending, Canceled]

    The state of a work item

    type WorkItemTypeManualWorkItems

    Possible values: [Generic, Certification, Remediation, Delegation, Approval, ViolationReview, Form, PolicyVioloation, Challenge, ImpactAnalysis, Signoff, Event, ManualAction, Test]

    The type of the work item

    remediationItems object[]nullable

    A list of remediation items

  • Array [
  • 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[]nullable

    A list of items that need to be approved

  • Array [
  • id string

    The approval item's ID

    account stringnullable

    The account referenced by the approval item

    application string

    The name of the application/source

    name stringnullable

    The attribute's name

    operation string

    The attribute's operation

    value stringnullable

    The attribute's value

    state objectnullable

    The state of a work item

  • ]
  • name stringnullable

    The work item name

    completed date-timenullable

    The time at which the work item completed

    numItems int32nullable

    The number of items in the work item

    form object
    id stringnullable

    ID of the form

    name stringnullable

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

    Sections of the form

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