Update Property Values
/essbase/rest/v1/properties
Updates Provider Services configuration property values in the Essbase Server, and returns the list of updated properties.
Request
- application/json
- application/xml
List of property entries.
Response
- application/json
- application/xml
200 Response
OK
Properties updated successfully, returning details and links to get or edit the properties.
400 Response
Bad Request
Failed to update properties. The property JSON may be incorrect, or the given property names may already be added to the server.
415 Response
Not Acceptable
The media type isn't supported or wasn't specified.
500 Response
Internal Server Error.
Examples
The following example shows how to update more than one Provider Services property configurations for the Essbase Server.
This example uses cURL to access the REST API from a Windows shell script. The calling user's ID and password are variables whose values are set in properties.bat
.
Script with cURL Command
call properties.bat
curl -X PUT "https://myserver.example.com:9001/essbase/rest/v1/properties?links=none" -H Accept:application/json -H Content-Type:application/json -d '[{"name": "essbase.jobs.maxCount", "value": "15"},{"name": "olap.server.netRetryCount", "value": "2900"}]' -u %User%:%Password%
Example of Response Body
[ {
"name" : "essbase.jobs.maxCount",
"value" : "15"
}, {
"name" : "olap.server.netRetryCount",
"value" : "2900"
} ]