GET api/rptReportParameterOption/withParms/{optionID}?parmValues={parmValues}&includeNA={includeNA}

Return the options using supplied dependent parameter values

Request Information

URI Parameters

NameDescriptionTypeAdditional information
optionID

The option database ID to use

integer

Required

parmValues

A pipe delimited string array of values, in order for use by SQL ( {0}, {1}, etc)

string

Required

includeNA

T/F value designating wheter the list should include a NA/null option

boolean

Required

Body Parameters

None.

Response Information

Resource Description

List of SelectItem values representing the result of the query

Collection of SelectItem
NameDescriptionTypeAdditional information
label

string

None.

value

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "label": "sample string 1",
    "value": "sample string 2"
  },
  {
    "label": "sample string 1",
    "value": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSelectItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Models">
  <SelectItem>
    <label>sample string 1</label>
    <value>sample string 2</value>
  </SelectItem>
  <SelectItem>
    <label>sample string 1</label>
    <value>sample string 2</value>
  </SelectItem>
</ArrayOfSelectItem>