REST API - closeWorkitem
The table summarizes the REST API - closeWorkite.
Request
Format | PUT <baseurl>/workitem/presentation/close/<id>/<userid>/<typeuid>/<typeversion> |
Path parameters |
|
Query parameters |
|
Body | payLoadDetails element (optional): Data payload for the specified work item.
See Valid Format for DataModel for information about the valid format of this data. |
Response
JSON | Returns a JSON representation of the contents of a workResponseelement. |
XML | Returns a workResponseelement (from the WorkPresentationService schema) |
Example
Request | PUT <baseurl>/workitem/presentation/close/51/812935E2-06D5-4504-8621-6E5B901702C4/WT__UXUNYCIYEeCnP8eZZTCDGg/1.0.0.201301111114 |
Response | { "xml-fragment": { "@isSuccessful": "true" } } |