SOAP API - updateCase

The table summarizes the SOAP API - updateCase.

Request Uses the UpdateCaseRequest element (from the BusinessDataServices schema).
Parameter Notes
  • caseReference. The reference to the version of the case object that was returned by the readCase method. It is important that the case reference returned by the readCase method is used so that the optimistic locking works correctly.
  • casePayload. This contains the case objects to be updated. Your request must be constructed to match the structure of the case data defined in your business object model. There can be multiple caseData elements in the request. See Obtaining Information From TIBCO Business Studio.
Response Returns a UpdateCaseResponse element (from the BusinessDataServices schema)
Example Request:
<soapenv:Body>
   <api:UpdateCaseRequest>
      <caseData>
      <caseReference>BDS-2-com.example.gddemo.Customer-1-0</caseReference>
        <casePayload><![CDATA[
           <gddemo:CustomerElement
           xmlns:gddemo="http://example.com/gddemo"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <customerID>Cust202</customerID>
           <name>John</name>
           <addresses>
           <firstLine>Updated Address Line</firstLine>
           <secondLine>Swindon</secondLine>
           </addresses>
           <addresses>
           <firstLine>Updated Address Line</firstLine>
           <secondLine>Oxford</secondLine>
           </addresses>
           </gddemo:CustomerElement>
           ]]>
         </casePayload>
      </caseData>
   </api:UpdateCaseRequest>
</soapenv:Body>
Response:
<SOAP-ENV:Body>
   <UpdateCaseResponse xmlns="http://api.bds.tibco.com">
      <caseReference
      xmlns="">BDS-2-com.example.gddemo.Customer-1-1</caseReference>
   </UpdateCaseResponse>
</SOAP-ENV:Body>