Test Saved Application Connection
/essbase/rest/v1/applications/{applicationName}/connections/{connectionName}/actions/test
Tests the saved application-level connection with the specified name.
Request
-
applicationName(required): string
Application name.
-
connectionName(required): string
Saved connection name.
Response
- application/json
- application/xml
200 Response
OK
The connection tested successfully.
400 Response
Bad Request
Error occurred while testing connection.
Examples
The following example shows how to test an existing application connection.
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 -i "https://myserver.example.com:9001/essbase/rest/v1/applications/Sample/connections/OracleDB/actions/test" -H Accept:application/json -u %User%:%Password%
Example of Response Body
Returns header information (if -i
was used), beginning with the status code 200 (if the test was successful). The header information in this example is truncated to show only the status code.
HTTP/1.1 200 OK