SOAP API - readCase
The table summarizes the SOAP API - readCase.
| Request | Uses the ReadCaseRequest element (from the BusinessDataServices schema). |
| Parameter notes | caseReference: The reference to the case object. You can obtain case references using findAllCases. You can have as many case references as you want. |
| Response | Returns a ReadCaseResponse element (from the BusinessDataServices schema). Contains the pairs of case references and case payload resolved by the request. |
| Example | Request:
<soapenv:Body>
<api:ReadCaseRequest>
<caseReference>BDS-2-com.example.gddemo.Customer-1-0</caseReference>
</api:ReadCaseRequest>
</soapenv:Body>
|
Response:
<SOAP-ENV:Body>
<ReadCaseResponse xmlns="http://api.bds.tibco.com">
<caseData xmlns="">
<caseReference>BDS-2-com.example.gddemo.Customer-1-0</caseReference>
<casePayload><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<gddemo:CustomerElement
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gddemo="http://example.com/gddemo"
xsi:type="gddemo:Customer">
<customerID>Cust202</customerID>
<name>Joshy</name>
<addresses xsi:type="gddemo:Address">
<firstLine>4 Apple Walk</firstLine>
<secondLine>Swindon</secondLine>
</addresses>
<addresses xsi:type="gddemo:Address">
<firstLine>My Address</firstLine>
<secondLine>Oxford</secondLine>
</addresses>
</gddemo:CustomerElement>
]]>
</casePayload>
</caseData>
</ReadCaseResponse>
</SOAP-ENV:Body>
|
Copyright © 2022. TIBCO Software Inc. All Rights Reserved.
