GET api/GetResponseOptionByTegId?tegId={tegId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tegId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of TegResponseOptionModel
NameDescriptionTypeAdditional information
ResponseOptionId

integer

None.

ResponseOptionName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ResponseOptionId": 1,
    "ResponseOptionName": "sample string 2"
  },
  {
    "ResponseOptionId": 1,
    "ResponseOptionName": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTegResponseOptionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models.ResponseOption">
  <TegResponseOptionModel>
    <ResponseOptionId>1</ResponseOptionId>
    <ResponseOptionName>sample string 2</ResponseOptionName>
  </TegResponseOptionModel>
  <TegResponseOptionModel>
    <ResponseOptionId>1</ResponseOptionId>
    <ResponseOptionName>sample string 2</ResponseOptionName>
  </TegResponseOptionModel>
</ArrayOfTegResponseOptionModel>