REST API - getDataViewDetails - application details
The table summarizes the REST API - getDataViewDetails - application details.
Request
| Format |
GET <baseurl>/globaldata/app/<appName>/<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/app/com.example.hastings-1/1/getdataviewdetails?includeAppDetails=true |
| 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.
