GET v1/answerselects

Returns an array of all AnswerSelects

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of AnswerSelect
NameDescriptionTypeAdditional information
Id

string

None.

Html

string

None.

AllowTextEntry

boolean

None.

Response Codes

  • 200 OK: All AnswerSelects returned successfully
  • 401 Unauthorized:
  • 500 InternalServerError:

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "Html": "sample string 2",
    "AllowTextEntry": true
  },
  {
    "Id": "sample string 1",
    "Html": "sample string 2",
    "AllowTextEntry": true
  }
]

text/html

Sample:
[{"Id":"sample string 1","Html":"sample string 2","AllowTextEntry":true},{"Id":"sample string 1","Html":"sample string 2","AllowTextEntry":true}]

application/xml, text/xml

Sample:
<ArrayOfAnswerSelect xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ITAGroup.Questionnaire.Api.Contracts.v1.Models">
  <AnswerSelect>
    <AllowTextEntry>true</AllowTextEntry>
    <Html>sample string 2</Html>
    <Id>sample string 1</Id>
  </AnswerSelect>
  <AnswerSelect>
    <AllowTextEntry>true</AllowTextEntry>
    <Html>sample string 2</Html>
    <Id>sample string 1</Id>
  </AnswerSelect>
</ArrayOfAnswerSelect>