SOAP API - getCaseClassInfo
The table summarizes the SOAP API - getCaseClassInfo.
Request | Uses the GetCaseClassInfoRequest element (from the BusinessDataServicesAdminService schema) |
Parameter Notes | The request can specify the following:
or
or
Attributes The following attributes can also be specified in the request:
|
Response | Returns a GetCaseClassInfoResponse element (from the BusinessDataServicesAdminService schema), which includes a caseClassInfo element for each case class in the case model. Each caseClassInfo element provides the details (name, label, attributes, and application details) for each case class as specified in the request. |
Example | Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.bds.tibco.com"> <soapenv:Header/> <soapenv:Body> <api:GetCaseClassInfoRequest includeLabels="true" includeAttributes="true" includeGlobalObjectAttributes="false" includeAppDetails="false"> <appDetails> <name>com.example.ordermodel-1</name> <majorVersion>1</majorVersion> </appDetails> </api:GetCaseClassInfoRequest> </soapenv:Body> </soapenv:Envelope> |
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <GetCaseClassInfoResponse xmlns="http://api.bds.tibco.com"> <caseClassInfo xmlns=""> <name>com.example.ordermodel.Customer</name> <label>Customer</label> <attributeInfo> <path>id</path> <label>id</label> <type>ATTR_TEXT</type> </attributeInfo> <attributeInfo> <path>name</path> <label>name</label> <type>ATTR_TEXT</type> </attributeInfo> </caseClassInfo> <caseClassInfo xmlns=""> <name>com.example.ordermodel.Employee</name> <label>Employee</label> <attributeInfo> <path>id</path> <label>id</label> <type>ATTR_TEXT</type> </attributeInfo> <attributeInfo> <path>name</path> <label>name</label> <type>ATTR_TEXT</type> </attributeInfo> <attributeInfo> <path>department</path> <label>department</label> <type>ATTR_TEXT</type> </attributeInfo> </caseClassInfo> <caseClassInfo xmlns=""> <name>com.example.ordermodel.Luggage</name> <label>Luggage</label> <attributeInfo> <path>isCabinBag</path> <label>isCabinBag</label> <type>ATTR_TEXT</type> </attributeInfo> <attributeInfo> <path>description</path> <label>description</label> <type>ATTR_TEXT</type> </attributeInfo> </caseClassInfo> <caseClassInfo xmlns=""> <name>com.example.ordermodel.Order</name> <label>Order</label> <attributeInfo> <path>orderId</path> <label>orderId</label> <type>ATTR_TEXT</type> </attributeInfo> </caseClassInfo> <caseClassInfo xmlns=""> <name>com.example.ordermodel.Person</name> <label>Person</label> <attributeInfo> <path>id</path> <label>id</label> <type>ATTR_TEXT</type> </attributeInfo> <attributeInfo> <path>name</path> <label>name</label> <type>ATTR_TEXT</type> </attributeInfo> </caseClassInfo> <caseClassInfo xmlns=""> <name>com.example.ordermodel.ProductLine</name> <label>ProductLine</label> <attributeInfo> <path>partNum</path> <label>partNum</label> <type>ATTR_TEXT</type> </attributeInfo> </caseClassInfo> </GetCaseClassInfoResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
Copyright © Cloud Software Group, Inc. All rights reserved.