GET api/Questions

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of QuestionsEntry
NameDescriptionTypeAdditional information
QuestionID

integer

None.

Question

string

None.

TypeOfAnswer

integer

None.

NextQuestion

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "QuestionID": 1,
    "Question": "sample string 2",
    "TypeOfAnswer": 3,
    "NextQuestion": 4
  },
  {
    "QuestionID": 1,
    "Question": "sample string 2",
    "TypeOfAnswer": 3,
    "NextQuestion": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfQuestionsEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tutorial2Webservice.Controllers">
  <QuestionsEntry>
    <NextQuestion>4</NextQuestion>
    <Question>sample string 2</Question>
    <QuestionID>1</QuestionID>
    <TypeOfAnswer>3</TypeOfAnswer>
  </QuestionsEntry>
  <QuestionsEntry>
    <NextQuestion>4</NextQuestion>
    <Question>sample string 2</Question>
    <QuestionID>1</QuestionID>
    <TypeOfAnswer>3</TypeOfAnswer>
  </QuestionsEntry>
</ArrayOfQuestionsEntry>