Responding to Parameters

Usage

Responds to contexts and prompts.

Returns additional parameters if found when the first parameters have been responded. Since these new parameters must also be responded, you must perform an additional call by using as request body the answers to the new parameters, and the answers to the parameters that have triggered the new parameters.

Request

PUT /queries/<queryID>/parameters

Request body: the answers to the parameters retrieved using the GET .../parameters call. See Answer Request Body Schemas 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 parameters of the resource of type "Query" with identifier "XX" have been answered.</message>
    <id>XX</id>
</success>