GET Question?questionnaireId={questionnaireId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
questionnaireId

integer

Required

Body Parameters

None.

Response Information

Resource Description

QuestionDto
NameDescriptionTypeAdditional information
Id

integer

None.

QuestionnaireId

integer

None.

Label

string

None.

LabelLong

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "questionnaireId": 2,
  "label": "sample string 3",
  "labelLong": "sample string 4"
}

application/xml, text/xml

Sample:
<QuestionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/s_election.API.Models.Site">
  <Id>1</Id>
  <Label>sample string 3</Label>
  <LabelLong>sample string 4</LabelLong>
  <QuestionnaireId>2</QuestionnaireId>
</QuestionDto>