Update Server Property
/essbase/rest/v1/properties/{propertyName}
Updates a Provider Services property in the Essbase Server, and returns the updated property.
Request
- application/json
- application/xml
-
propertyName(required): string
Property name.
Property entry.
Response
- application/json
- application/xml
200 Response
OK
Property updated successfully, with links to get or edit the property.
400 Response
Bad Request
Failed to update the property. The JSON for the property may be incorrect, or the specified property name may not have been 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 a Provider Services property configuration 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/essbase.jobs.maxCount?links=none" -H Accept:application/json -H Content-Type:application/json -d '{"value": "10"}' -u %User%:%Password%
Example of Response Body
{
"name" : "essbase.jobs.maxCount",
"value" : "10"
}