Adds a new data provider to a Web Intelligence document.
The data provider is defined by its name, unique within the WebI document, and the CUID of either a universe (UNV or UNX) or a connection specification for a direct access to data source.
POST <webiURL>/documents/{documentId}/dataproviders
Where:
Request body:
<dataprovider> <name> <dataSourceId> <dataprovider>
Where:
Response type: application/xml or application/json
The response is a message stating the success or failure of the request.
POST <webiURL>/documents/3422/dataproviders
Request body for a BEx query:
<dataprovider> <name>Query1</name> <dataSourceId>11990;Z_BOBJ;AAQUERY_SAMPLE</dataSourceId> <dataprovider>
Response:
<success> <message>The resource of type 'Data provider' with identifier 'DP3' has been successfully created.</message> <id>DP3</id> </success>