Create Server Property

post

/essbase/rest/v1/properties

Adds a Provider Services configuration property at the Essbase Server level. These properties help you manage network timeout parameters.

Request

Supported Media Types
Body ()

Property entry.

Root Schema : PropertyEntry
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

OK

Property added successfully, with links to get or edit the property.

Body ()
Root Schema : PropertyEntry
Type: object
Show Source

400 Response

Bad Request

Failed to add property. The JSON may be incorrect, or the given property name 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.

Back to Top

Examples

The following example shows how to add 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 POST "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"}' -u %User%:%Password%

Example of Response Body

{
  "name" : "essbase.jobs.maxCount",
  "value" : "15"
}
Back to Top