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
Body ()

Source and destination application information.

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

Response

Supported Media Types

200 Response

OK

Application copied successfully.

400 Response

Bad Request

Failed to copy application.

500 Response

Internal Server Error.

Back to Top

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%
Back to Top