Copy Application
post
/essbase/rest/v1/applications/actions/copy
Copies an application. You must provide the source and destination application names.
Request
Supported Media Types
- application/json
- application/xml
Source and destination application information.
Response
Supported Media Types
- application/json
- application/xml
200 Response
OK
Application copied successfully.
400 Response
Bad Request
Failed to copy application.
500 Response
Internal Server Error.
Examples
The following example shows how to copy an Essbase application.
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/applications/actions/copy" -H "accept: application/json" -H "Content-Type: application/json" -d '{ "from": "Sample", "to": "Sample_copy"}' -u %User%:%Password%