SOAP API - openWorkItem
The table summarizes the SOAP API - openWorkItem.
Request | Uses the baseWorkRequest element (from the WorkPresentationService schema) |
Parameter notes |
|
Response | Returns a workResponse element (from the WorkPresentationService schema) |
Example | Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.wp.n2.tibco.com"> <soapenv:Header/> <soapenv:Body> <api:baseWorkRequest> <resourceId>tibco-admin</resourceId> <channelId>openspaceGWTPull_DefaultChannel</channelId> <channelType>openspaceChannel</channelType> <responsePayloadMode>JSON</responsePayloadMode> <workListViewId>-1</workListViewId> <workItem id="7" version="-1"</workItem> <workTypeDetail uid="WT__UXUNYCIYEeCnP8eZZTCDGg" version="1.0.0.201212131425" openNextPiled="true"/> </api:baseWorkRequest> </soapenv:Body> </soapenv:Envelope> |
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <workResponse xmlns="http://api.wp.n2.tibco.com"> <payloadModel payloadMode="JSON" xmlns=""> <serializedPayload>{items:[{"$param":"Message","$value":["Please call John Smith at 07978324455."],"type":"String","mode":"IN"}]}</serializedPayload> </payloadModel> <workTypeDetail pilingLimit="0" typePiled="false" uid="WT__UXUNYCIYEeCnP8eZZTCDGg" version="1.0.0.201212131425" xmlns=""/> <presentation activityName="DisplayMessage" formIdenitifier="1.0.0.201212131425/openspaceGWTPull_DefaultChannel/.default/ProcessPackage/WelcomeUsers/DisplayMessage/DisplayMessage.gwt.json" type="GWT_FORM" version="1.0.0.201212131425" xmlns=""/> <workItem id="7" version="1" xmlns=""/> </workResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
Copyright © Cloud Software Group, Inc. All rights reserved.