SOAP API - reallocateWorkItemData

The table summarizes the SOAP API - reallocateWorkItemData

Request Uses the reallocateWorkItemData element (from the WorkItemManagementService schema)
Parameter notes
  • workItemID: ID of the work item to be reallocated.
  • version: (Optional) If it is omitted, the latest version is used.
  • resource: the GUID of the resource to whom the work item is to be reallocated. A resource’s GUID can be obtained from a previous lookupUser operation
  • workItemPayload: the complete body of the work item, containing the new data to be written to the work item as part of this action.

    See Valid Format for DataModel for information about the valid format.

Response Returns a reallocateWorkItemDataResponse element (from the WorkItemManagementService schema)
Example Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.brm.n2.tibco.com">
   <soapenv:Header/>
   <soapenv:Body>
      <api:reallocateWorkItemData>
         <workItemID id="37" version="4"/>
         <resource>B81CFA50-66BA-4C08-B1F2-7E4D8F8D8076</resource>
         <workItemPayload>
             <dataModel>
               <inputs array="false" name="IssueDescription" type="String">
                  <simpleSpec>
                     <value>XX900-A</value>
                  </simpleSpec>
               </inputs>
               <inputs array="false" name="IssueDetails" type="String">
                  <simpleSpec>
                     <value>Transient</value>
                  </simpleSpec>
               </inputs>
               <inouts array="false" name="ResolutionDetails" type="String">
                  <simpleSpec/>
               </inouts>
               <inouts array="false" name="ResolutionDescription" type="String">
                  <simpleSpec/>
               </inouts>
            </dataModel>
         </workItemPayload>
      </api:reallocateWorkItemData>
   </soapenv:Body>
</soapenv:Envelope>
  Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <reallocateWorkItemDataResponse xmlns="http://api.brm.n2.tibco.com">
         <workItem xmlns="">
            <id id="37" version="5"/>
            <header distributionStrategy="OFFER" priority="50" startDate="2017-08-23T18:23:34.827Z">
               <name>IT</name>
               <description>IT</description>
               <flags>
                  <scheduleStatus>DURING</scheduleStatus>
               </flags>
               <itemContext>
                  <activityID>pvm:001i3u</activityID>
                  <activityName>IT</activityName>
                  <appInstance>pvm:0a12c</appInstance>
                  <appName>HelpDeskProcess</appName>
                  <appID>_-rTukV60Ed-KqJmYNEw8ow</appID>
               </itemContext>
            </header>
            <state>ALLOCATED</state>
            <visible>true</visible>
         </workItem>
      </reallocateWorkItemDataResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>