GET api/QuestionAnswer

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of QuestionAnswerEntry
NameDescriptionTypeAdditional information
QuestionID

integer

None.

Answer

string

None.

Order

integer

None.

NextQuestionID

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "QuestionID": 1,
    "Answer": "sample string 2",
    "Order": 3,
    "NextQuestionID": 4
  },
  {
    "QuestionID": 1,
    "Answer": "sample string 2",
    "Order": 3,
    "NextQuestionID": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfQuestionAnswerEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tutorial2Webservice.Controllers">
  <QuestionAnswerEntry>
    <Answer>sample string 2</Answer>
    <NextQuestionID>4</NextQuestionID>
    <Order>3</Order>
    <QuestionID>1</QuestionID>
  </QuestionAnswerEntry>
  <QuestionAnswerEntry>
    <Answer>sample string 2</Answer>
    <NextQuestionID>4</NextQuestionID>
    <Order>3</Order>
    <QuestionID>1</QuestionID>
  </QuestionAnswerEntry>
</ArrayOfQuestionAnswerEntry>