Data Provider URLs

This is a reference to the URLs available to work with queries in reports.

The URL must be used with the default base URL value: <webiURL>.

Action Method URL
Add a data provider to a document POST /documents/{documentId}/dataproviders
Change the data source (update the data provider mapping) POST /documents/{documentId}/dataproviders/{dataproviderId}/mappings?originDataproviderIds={DP1Id},{DP2Id}&targetDatasourceId={DatasourceId}
Delete a data provider DELETE /documents/{documentId}/dataproviders/{dataproviderId}
Get details of a data provider for a document GET /documents/{documentId}/dataproviders/{dataproviderId}
Get the details on the data provider flow in XML or CSV format. GET /documents/{documentId}/dataproviders/{dataproviderId}/flows/{flowIndex}
Get the list of data providers of a document GET /documents/{documentId}/dataproviders
Get the list of possible data provider mappings GET /documents/{documentId}/dataproviders/{dataproviderId}/mappings?originDataproviderIds={DP1Id},{DP2Id}&targetDatasourceId={DatasourceId}
Get the number of flows available for a data provider. GET /dataproviders/{dataproviderId}/flows/count
Move a data provider in a document PUT /documents/{documentId}/dataproviders?fromId={DPn}&toId={DPx}
Remove a data provider from a document DELETE /documents/{documentId}/dataproviders
Update or purge a data provider. PUT /documents/{documentId}/dataproviders/{dataproviderId}
Update the query specification attached to a given data provider. PUT /documents/{documentId}/dataproviders/{dataproviderId}/specification