REST API - openWorkItem
The table summarizes the REST API - openWorkItem.
Request
| Format | PUT <baseurl>/workitem/open |
| Query parameters |
|
Response
| JSON | Returns a JSON representation of the content of the openWorkItemResponseelement. |
| XML | Returns the content of the openWorkItemResponseelement (from the WorkItemManagementService schema) |
Example
| Request | PUT <baseurl>/workitem/open?id=16&version=2 |
| Response | {
"workItemBody": {
"dataModel": {
"inouts": [
{
"@name": "Message",
"@type": "String",
"@array": "false",
"simpleSpec": {
"value": "Hello tibco-admin. Welcome to TIBCO BPM."
}
},
{
"@name": "UserName",
"@type": "String",
"@array": "false",
"simpleSpec": {
"value": "tibco-admin"
}
}
]
}
}
}
|