REST API - completeWorkItem
The table summarizes the REST API - completeWorkItem.
Request
| Format | PUT <baseurl>/workitem/presentation/complete/<id>/<userid>/<typeuid>/<typeversion> |
| Path parameters |
|
| Query parameters |
|
| Body | payLoadDetails element (Required): 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/complete/58/tibco-admin/WT__oyg80GCwEeKQSvLdcLuD4A/1.0.0.201301171526 |
| Request body | <payloadModel payloadMode="JSON">
<serializedPayload>{items:[{"$param":"custRef","$value":["123"],"type":"String","mode":"IN"},{"$param":"name","$value":["Gerald Filson"],"type":"String","mode":"INOUT"}]}</serializedPayload>
</payloadModel>
|
| Response | {
"xml-fragment": {
"@isSuccessful": "true"
}
}
|