Setting the Selection of an Input Control

Usage

Sets the values selected for an input control of a report.

Request

PUT /documents/<documentID>/reports/<reportID>/inputcontrols/<inputControlID>/selection

Request body: the values can be obtained by getting the list of values from the assigned data object.

Response

Response type: application/xml or application/json

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

Example

PUT /documents/7246/reports/1/inputcontrols/R1.IF4/selection

Request body:

<selection>
    <value>Japan</value>
    <value>UK</value>
    <value>Australia</value>
</selection>

Response:

<success>
    <message>The resource of type "Input Control Selection" with identifier "R1.IF4" has been successfully updated.</message>
    <id>R1.IF4</id>
</success>