REST API - edit
The table summarizes the REST API - edit.
Request
| Format | PUT <baseurl>/globaldata/dataview/id/<viewID>/edit |
| Path Parameter | viewID. The unique identifier of the dataview. |
| Body | viewSpecification. Contains the parameters in the viewSpecification element (from the BusinessDataServices schema). See Defining Dataview Conditions . |
Response
| JSON | Returns a JSON representation of the contents of a EditDataViewResponseelement. |
| XML | Returns the contents of a EditDataViewResponseelement (from the BusinessDataServices schema) |
Example
| Request | PUT <baseurl>/globaldata/dataview/id/2/edit |
| Body | <xml-fragment> <viewSpecification> <caseClassDetails> <caseClass>com.example.gddemo.Car</caseClass> <majorVersion>2</majorVersion> </caseClassDetails> <name>Managers Car Pool</name> <description>List of cars in the car pool</description> </viewSpecification> </xml-fragment> |
| Response | {
"xml-fragment": ""
}
|