REST API - allocateAndOpenNextWorkItem
The table summarizes the REST API - allocateAndOpenNextWorkItem.
Response
JSON | Returns a JSON representation of the content of the allocateAndOpenNextWorkItemResponse element. |
XML | Returns the content of the allocateAndOpenNextWorkItemResponse element (from the WorkItemManagementService schema) |
Example
Request |
PUT <baseurl>/workitem/allocateandopennext/tibco-admin?1 |
Response |
{ "workItem": { "id": { "@id": "53", "@version": "1" }, "header": { "@distributionStrategy": "OFFER", "@priority": "50", "@startDate": "2013-01-16T15:48:32.527Z", "name": "DisplayMessage", "description": "Display Message", "flags": { "scheduleStatus": "DURING" }, "itemContext": { "activityID": "pvm:001i3t", "activityName": "DisplayMessage", "appInstance": "pvm:0a1238", "appName": "WelcomeUsers", "appID": "_-fPYwCIVEeCnP8eZZTCDGg" } }, "body": { "dataModel": { "inputs": [ { "@name": "PhoneNumber", "@type": "String", "@array": "false", "simpleSpec": { "value": 456 } }, ], "inouts": { "@name": "Message", "@type": "String", "@array": "false", "simpleSpec": { "value": "Please call george gattet at 456." } } } }, "workType": { "@workTypeID": "WT__UXUNYCIYEeCnP8eZZTCDGg", "@workTypeDescription": "DisplayMessage", "@version": "1.0.0.201301111114" }, "state": "OPENED", "visible": true } } |
Copyright © Cloud Software Group, Inc. All rights reserved.