REST API - getCaseClassInfo
The table summarizes the REST API - getCaseClassInfo.
Request 1 - Using Application Details
Request |
GET <baseurl>/globaldata/admin/app/<appName>/<appMajorVersion>/getcaseclassinfo |
Path Parameter |
You can get this information by running getCaseModelBasicInfo . |
Query parameters |
|
Request 2 - Using Case Model Details
Request |
GET <baseurl>/globaldata/admin/casemodel/<CaseModelId>/getcaseclassinfo |
Path Parameter | CaseModelID. The unique identifier of the case model. This can be obtained by running getCaseModel or getCaseModelBasicInfo . |
Query parameters |
|
Request 3 - For All Case Classes on the System
Response
JSON | Returns a JSON representation of the contents of a GetCaseClassInfoResponse element. |
XML | Returns the contents of a GetCaseClassInfoResponse element (from the BusinessDataServicesAdminService schema) |
Example
Request |
GET <baseurl>/globaldata/admin/casemodel/1/getcaseclassinfo?caseclass=com.example.claimbom.Claim |
Response |
{ "xml-fragment": { "caseClassInfo": [ { "name": "com.example.claimbom.Claim", "attributeInfo": [ { "path": "claimID", "type": "ATTR_INTEGER" }, { "path": "claimType", "type": "ATTR_ENUM", "enumLiteral": [ "PROPERTYDAMAGE", "PERSONALINJURY", "WINDSHIELD", "THIRDPARTY" ] }, { "path": "claimReceivedDate", "type": "ATTR_DATETIME" } ] }, } |
Copyright © Cloud Software Group, Inc. All rights reserved.