Moving a Data Provider in a Document

Moves an existing data provider in a Web Intelligence document from a position to another.

Request

PUT <webiURL>/documents/{documentId}/dataproviders?fromId={FromDataProviderId}&toId={ToDataProviderId}

Where:

  • {documentId} is the document identifier retrieved from the list of documents
  • {FromDataProviderId} is the identifier of the data provider to move
  • {ToDataProviderId} is the identifier of the data provider after move
Response

Response type: application/xml or application/json

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

Example

PUT <webiURL>/documents/8022/dataproviders?fromId=DP0&toId=DP2

<success>
    <message>Resources of type 'Data provider' with identifier 'DP0' has been successfully moved.</message>
    <id>DP2</id>
</success>