REST API - getdetails - viewName
The table summarizes the REST API - getdetails - viewName.
Request
| Format |
GET <baseurl>/globaldata/dataview/name/<viewName>/getdetails |
| Path Parameter | viewName. The unique name of the data view. If you do not know the data view name, you can use wild cards to search for it. See Using Wildcards to Search for Dataviews . |
| 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/dataview/name/Large Orders/getdetails?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.
