REST API - pendWorkItem

The table summarizes the REST API - pendWorkItem.

Request

Format
PUT <baseurl>/workitem/pend
Body pendWorkItem element (from the WorkItemManagementService schema).

Response

JSON Returns a JSON representation of the content of the pendWorkItemResponse element.
XML Returns the content of the pendWorkItemResponse element (from the WorkItemManagementService schema).

Example

Request
PUT <baseurl>/workitem/pend
Request body
<pendWorkItem xmlns="http://api.brm.n2.tibco.com">
  <workItemID id="15" xmlns=""/>
  <hiddenPeriod xmlns="">
    <hiddenDuration years="0" months="0" weeks="0" days="0" hours="0" minutes="2"/>
  </hiddenPeriod>
</pendWorkItem>
Response
{
    "workItemID": {
        "@id": "15",
        "@version": "2"
    }
}