REST API - getDataViewDetails - caseType
The table summarizes the REST API - getDataViewDetails - caseType.
Request
Format |
GET <baseurl>/globaldata/model/<caseType>/<version>/getdataviewdetails |
Path Parameter |
|
Query Parameters |
|
Response
JSON | Returns a JSON representation of the contents of a GetDataViewDetailsResponse element. |
XML | Returns the contents of a GetDataViewDetailsResponse element (from the BusinessDataServices schema). |
Example
Request |
GET <baseurl>/globaldata/model/com.example.hastings.Order/1/getdataviewdetails?includeAppDetails=trues |
Response |
{ "result": { "viewID": 2, "specification": { "caseClassDetails": { "caseClass": "com.example.hastings.Order", "majorVersion": 1 }, "name": "Large orders", "description": "Orders over $10,000", "condition": { "@type": "api:AttributeSearchCondition", "attrPath": "lineItems[ANY].price", "operator": "GT", "value": 10000 } }, "appDetails": { "name": "com.example.hastings-1", "majorVersion": 1 } } } |
Copyright © Cloud Software Group, Inc. All rights reserved.