Refreshing a Data Provider

Usage

Refreshes a Web Intelligence data provider by filling the refresh parameters if needed and running the query.

You can ask for the refresh without providing any parameters (no request body). In this case, the web service returns the context or prompt that needs to be filled. If no parameter has to be filled, the data provider is refreshed.

Request

PUT /documents/<documentID>/dataproviders/<dataproviderID>/parameters?lovInfo=<lovInfo>

Where:

  • <lovInfo> is an optional, Boolean parameter. Default value is true. If set to false, the lists of values are not computed, nor displayed.

Request body: the answers to the parameters retrieved using the GET .../parameters call. See Answer XML Grammar to learn about the XML content structure and element details.

Response

Response type: application/xml or application/json

When all parameters have been answered, the last PUT call returns a message stating the success of the request.

<success>
    <message>The resource of type "Data provider" with identifier "XX" has been successfully
        updated.</message>
    <id>XX</id>
</success>