Saving a Document

Usage

Saves a Web Intelligence document to a folder of the user machine.

When you save a document, it is copied to the destination folder and an identifier is assigned automatically.

Request

POST /documents/<documentID>

Request type: application/xml or application/json

Request body:

<document>
    <name>
    <folderId>
Element Type or Value Description
<name> String The name of the document to save
<folderId> Integer The identifier of the BI launch pad destination folder
Note Use -1 as folder identifier to save the document to the same folder.
Response

Response type: application/xml or application/json

The response is a message stating the success or failure of the request.

Example

POST /documents/1234

Request body:

<document>
    <name>CopiedDocument</name>
    <folderId>2906</folderId>
</document>

Response:

<success>
   <message>The resource of type "Document" has been successfully created.</message>
   <id>5678</id>
</success>
An identifier has been assigned automatically.