REST API - openWorkItem
The table summarizes the REST API - openWorkItem (in ClientService).
Request
| Format |
POST <baseurl>/clientservice/open/<id>/<userid> |
| Path parameters | |
| Query parameters |
|
Example
Header used in example:
| Request |
POST <baseurl>/clientservice/open/136/B6538346-4EC6-4EB7-8ADD-AC85EA2B43E0 |
| Response |
{
"xml-fragment":
{
"@isSuccessful": "true",
"payloadModel":
{
"@payloadMode": "JSON",
"serializedPayload": "{items:[{"$param":"IncidentDetails","mode":"IN","$value":[{"summary":"Tree fell on house","details":"Big wind - tree uprooted","dateTime":"2017-02-07T00:00:00","location":"Seattle, WA","postcode":"98776","isPropertyDamage":"true","$type":"com.example.easyasinsurance.IncidentDetails"}]},{"$param":"Name","mode":"IN","$value":[{"title":"MR","firstName":"Billie","middle":"Bob","lastName":"Brady","DOB":"1959-10-20","$type":"com.example.easyasinsurance.Person"}]}]}"
},
"workTypeDetail":
{
"@uid": "WT__FZd4YGzvEeWcj_kyn107Nw",
"@version": "1.0.0.20170724144848745",
"@typePiled": "false",
"@pilingLimit": "0"
},
"presentation":
{
"@formIdenitifier": "http://10.129.40.599:8080/bpmresources/1.0.0.20170724144848745/openspaceGWTPull_DefaultChannel/easyAsInsurance_Process/easyAsInsurance_InitiateClaim/CreateClaim/CreateClaim.gwt.json",
"@activityName": "CreateClaim",
"@type": "GWT_FORM",
"@version": "1.0.0.20170724144848745"
},
"workItem":
{
"@id": "136",
"@version": "1"
}
}
}
|
Copyright © 2022. TIBCO Software Inc. All Rights Reserved.
