Getting the Selection of a Document Input Control

Usage

Gets the values selected for an input control of a document.

Request

GET /documents/<documentID>/inputcontrols/<inputControlID>/selection

Response

Response type: application/xml or application/json

The response is the list of values selected for the input control.

Example

XML

GET /documents/6671/inputcontrols/D.IF0/selection

Response:

<selection> 
    <value>US</value> 
</selection>

Example

JSON

GET /documents/5152/inputcontrols/D.IF0/selection

Response:

{"selection":
    {"value":["Bermudas","Boatwear"]}
    }