SOAP API - unallocateWorkItem

The table summarizes the SOAP API - unallocateWorkItem.

Request Uses the unallocateWorkItem element (from the WorkItemManagementService schema)
Parameter notes
  • workItemID: ID of the work item to be unallocated.
  • version: (Optional) If it is omitted, the latest version is used.
Response Returns an unallocateWorkItemResponse 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:unallocateWorkItem>

         <workItemID id="22" version="1"/>

      </api:unallocateWorkItem>

   </soapenv:Body>

</soapenv:Envelope>
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

   <SOAP-ENV:Header/>

   <SOAP-ENV:Body>

      <unallocateWorkItemResponse xmlns="http://api.brm.n2.tibco.com">

         <workItem xmlns="">

            <id id="22" version="2"/>

            <header distributionStrategy="OFFER" priority="50">

               <name>ServicingMgr</name>

               <description>ServicingMgr</description>

               <flags>

                  <scheduleStatus>DURING</scheduleStatus>

               </flags>

               <itemContext>

                  <activityID>pvm:001i3a</activityID>

                  <activityName>ServicingMgr</activityName>

                  <appInstance>pvm:0a128</appInstance>

                  <appName>AMXSupervisor</appName>

                  <appID>_fQ0ZAHClEeCF3qXLa8gNUw</appID>

                  <appInstanceDescription>Oho</appInstanceDescription>

               </itemContext>

            </header>

            <state>OFFERED</state>

            <visible>true</visible>

         </workItem>

      </unallocateWorkItemResponse>

   </SOAP-ENV:Body>

</SOAP-ENV:Envelope>