Copies a Web Intelligence document referenced by its ID.
POST /documents?sourceId=<documentID>
Request type: application/xml or application/json
<document> <name> <folderId>
Element | Type or Value | Description |
---|---|---|
<name> | string | The name of the copied document in the BI launch pad folder. If not specified, the service assigns a name to the document automatically. |
<folderId> | integer | The BI launch pad folder where the document is copied. If not specified, the folder is the one of the original document. |
Response type: application/xml or application/json
The response is a message stating the success or failure of the request.
POST /documents?sourceId=4990
Request body:
<document> <name>Copy of 4990</name> </document>
Response:
<success> <message>The resource of type "document" with identifier "5875" has been successfully created.</message> <id>5875</id> </success>
The name "Copy of 4990" and ID "5875" have been assigned to the copied document. The folder is the same as the original one.
POST /documents?sourceId=5152
The original document is named "Chart Demo".
Response:
{"success": {"message":"The resource of type \"Document\" with identifier \"6585\" has been successfully created.", "id":6585} }
The name "Chart Demo[1]" and ID "6585" have been assigned to the copied document. The folder is the same as the original one.