REST API - allocateWorkItem
The table summarizes the REST API - allocateWorkItem.
Request
Response
| JSON | Returns a JSON representation of the content of the allocateWorkItemResponse element. |
| XML | Returns the content of the allocateWorkItemResponse element (from the WorkItemManagementService schema). |
Example
| Request |
PUT <baseurl>/workitem/allocate?id=5&version=0&resources=A4AE84F2-893A-4E39-8FE4-A8981872538E |
| Response |
{
"workItem": {
"id": {
"@id": "5",
"@version": "1"
},
"header": {
"@distributionStrategy": "OFFER",
"@priority": "50",
"@startDate": "2013-01-22T14:15:10.137Z",
"name": "GetUsersName",
"description": "Get User's Name",
"flags": {
"scheduleStatus": "DURING"
},
"itemContext": {
"activityID": "pvm:001i1c",
"activityName": "GetUsersName",
"appInstance": "pvm:0a126",
"appName": "WelcomeUsersChained",
"appID": "_h3SuNATvEd-PnpTAZS_CFw"
}
},
"state": "ALLOCATED",
"visible": true
}
}
|
Copyright © 2022. TIBCO Software Inc. All Rights Reserved.
