Upload Application Connection Wallet File
put
/essbase/rest/v1/applications/{applicationName}/connections/{connectionName}/wallet
Upload a wallet file for an application-level connection.
Request
Supported Media Types
- application/octet-stream
Path Parameters
-
applicationName(required): string
Application name.
-
connectionName(required): string
Connection name.
Response
Supported Media Types
- application/json
- application/xml
200 Response
OK
Return the wallet file location in catalog.
400 Response
Bad Request
Unable to process wallet file.
Examples
The following example shows how to upload a wallet file to an application-level connection. Primarily, wallet uploads are used for connections to Oracle Autonomous Data Warehouse.
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/applications/Sample/connections/OracleDB/wallet" -H Accept:application/json -H Content-Type:application/octet-stream --data-binary "@./dbwallet.zip" -u %User%:%Password%
Example of Response Body
The following example shows the contents of the response body in JSON format.
{
"path" : "/system/wallets/Sample/OracleDB"
}