GET PlanCare2Api/Questionnaires/FilledQuestionnaires/{filledQuestionnaireId}/Chapters/{questionnaireChapterGuid}/Answers

Gets the answers for a specified chapter and filled questionnaire combination.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
filledQuestionnaireId

The id of the filledQuestionnaire.

integer

Required

questionnaireChapterGuid

The guid of the questionnaireChapter.

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

The answers for a specified chapter and filled questionnaire combination.

Collection of QuestionnaireChapterAnswer
NameDescriptionTypeAdditional information
QuestionGuid

The id of the question.

globally unique identifier

None

Rank

The rank of the question within the questionnaire chapter.

integer

None

QuestionName

The name of question.

string

None

QuestionCode

The code of the question.

string

None

QuestionPrintText

The text displayed for the question.

string

None

QuestionType

The type of question.

QuestionType

None

AnswerText

The answer of the question as text.

string

None

AnswerNumber

The answer of the question as a number.

decimal number

None

AnswerDateTime

The answer of the question as a datetime.

date

None

AnswerRTF

The answer of the question as rich text.

string

None

Explanation

The explanation of the answer.

string

None

Answered

Indicates whether an answer has been given.

boolean

None

SubChapterGuid

The id of the sub chapter to which the item belongs.

globally unique identifier

None

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "QuestionGuid": "387d5d2b-3027-4adf-aed2-0aefaa957bb5",
    "Rank": 2,
    "QuestionName": "sample string 3",
    "QuestionCode": "sample string 4",
    "QuestionPrintText": "sample string 5",
    "QuestionType": 1,
    "AnswerText": "sample string 6",
    "AnswerNumber": 1.0,
    "AnswerDateTime": "2026-05-26T21:08:59.512492+02:00",
    "AnswerRTF": "sample string 7",
    "Explanation": "sample string 8",
    "Answered": true,
    "SubChapterGuid": "bd8308e9-85b0-4d1c-b48f-c9083d12cf07"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfQuestionnaireChapterAnswer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Questionnaire">
  <QuestionnaireChapterAnswer>
    <AnswerDateTime>2026-05-26T21:08:59.512492+02:00</AnswerDateTime>
    <AnswerNumber>1</AnswerNumber>
    <AnswerRTF>sample string 7</AnswerRTF>
    <AnswerText>sample string 6</AnswerText>
    <Answered>true</Answered>
    <Explanation>sample string 8</Explanation>
    <QuestionCode>sample string 4</QuestionCode>
    <QuestionGuid>387d5d2b-3027-4adf-aed2-0aefaa957bb5</QuestionGuid>
    <QuestionName>sample string 3</QuestionName>
    <QuestionPrintText>sample string 5</QuestionPrintText>
    <QuestionType>MultipleChoice</QuestionType>
    <Rank>2</Rank>
    <SubChapterGuid>bd8308e9-85b0-4d1c-b48f-c9083d12cf07</SubChapterGuid>
  </QuestionnaireChapterAnswer>
  <QuestionnaireChapterAnswer>
    <AnswerDateTime>2026-05-26T21:08:59.512492+02:00</AnswerDateTime>
    <AnswerNumber>1</AnswerNumber>
    <AnswerRTF>sample string 7</AnswerRTF>
    <AnswerText>sample string 6</AnswerText>
    <Answered>true</Answered>
    <Explanation>sample string 8</Explanation>
    <QuestionCode>sample string 4</QuestionCode>
    <QuestionGuid>387d5d2b-3027-4adf-aed2-0aefaa957bb5</QuestionGuid>
    <QuestionName>sample string 3</QuestionName>
    <QuestionPrintText>sample string 5</QuestionPrintText>
    <QuestionType>MultipleChoice</QuestionType>
    <Rank>2</Rank>
    <SubChapterGuid>bd8308e9-85b0-4d1c-b48f-c9083d12cf07</SubChapterGuid>
  </QuestionnaireChapterAnswer>
</ArrayOfQuestionnaireChapterAnswer>