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. If the data payload includes complexSpec business data, see Valid Format for ComplexSpec Business Data for information about the valid format of this data. |
Response
JSON | Returns a JSON representation of the contents of a workResponse element. |
XML | Returns a workResponse element (from the WorkPresentationService schema) |
Example
Request | PUT https://easyas.insurance.com:1234/bpmrest/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" } } |
Copyright © TIBCO Software Inc. All Rights Reserved.