REST API - getDataViewDetails - category
The table summarizes the REST API - getDataViewDetails - category.
Request
Format | POST <baseurl>/globaldata/dataviewcategory/getdataviewdetails |
Query Parameters |
|
Body | categorySearchDetails. Specifies the parameters in the categorySearchDetails element (from the BusinessDataServices schema). See Dataview Categories . |
Response
JSON | Returns a JSON representation of the contents of a GetDataViewDetailsResponseelement. |
XML | Returns the contents of a GetDataViewDetailsResponseelement (from the BusinessDataServices schema) |
Example
Request | POST <baseurl>/globaldata/dataviewcategory/getdataviewdetails |
Body | <xml-fragment> <category> <name>Orders</name> </category> </xml-fragment> |
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 } } } |