GET api/Account/GetUnAnsweredQuestions?surveyID={surveyID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
surveyID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of QuestionViewModel
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

QuestionText

string

None.

QuestionTitle

string

None.

ImageFileName

string

None.

DateCreated

date

None.

UserID

globally unique identifier

None.

Answer

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": "78118a90-fec3-4fd2-ad12-03ae444de65d",
    "QuestionText": "sample string 2",
    "QuestionTitle": "sample string 3",
    "ImageFileName": "sample string 4",
    "DateCreated": "2021-09-11T07:13:39.0977545+00:00",
    "UserID": "81e4070b-3746-4693-b39d-a6bc199a0864",
    "Answer": "sample string 7"
  },
  {
    "ID": "78118a90-fec3-4fd2-ad12-03ae444de65d",
    "QuestionText": "sample string 2",
    "QuestionTitle": "sample string 3",
    "ImageFileName": "sample string 4",
    "DateCreated": "2021-09-11T07:13:39.0977545+00:00",
    "UserID": "81e4070b-3746-4693-b39d-a6bc199a0864",
    "Answer": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfQuestionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common">
  <QuestionViewModel>
    <Answer>sample string 7</Answer>
    <DateCreated>2021-09-11T07:13:39.0977545+00:00</DateCreated>
    <ID>78118a90-fec3-4fd2-ad12-03ae444de65d</ID>
    <ImageFileName>sample string 4</ImageFileName>
    <QuestionText>sample string 2</QuestionText>
    <QuestionTitle>sample string 3</QuestionTitle>
    <UserID>81e4070b-3746-4693-b39d-a6bc199a0864</UserID>
  </QuestionViewModel>
  <QuestionViewModel>
    <Answer>sample string 7</Answer>
    <DateCreated>2021-09-11T07:13:39.0977545+00:00</DateCreated>
    <ID>78118a90-fec3-4fd2-ad12-03ae444de65d</ID>
    <ImageFileName>sample string 4</ImageFileName>
    <QuestionText>sample string 2</QuestionText>
    <QuestionTitle>sample string 3</QuestionTitle>
    <UserID>81e4070b-3746-4693-b39d-a6bc199a0864</UserID>
  </QuestionViewModel>
</ArrayOfQuestionViewModel>