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

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

Request Information

URI Parameters

Name Description Type Additional 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
Name Description Type Additional information
QuestionGuid

The id of the question.

globally unique identifier

-

Rank

The rank of the question within the questionnaire chapter.

integer

-

QuestionName

The name of question.

string

-

QuestionCode

The code of the question.

string

-

QuestionPrintText

The text displayed for the question.

string

-

QuestionType

The type of question.

QuestionType

-

AnswerText

The answer of the question as text.

string

-

AnswerNumber

The answer of the question as a number.

decimal number

Nullable

AnswerDateTime

The answer of the question as a datetime.

date

Nullable

AnswerRTF

The answer of the question as rich text.

string

-

Explanation

The explanation of the answer.

string

-

Answered

Indicates whether an answer has been given.

boolean

-

SubChapterGuid

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

globally unique identifier

-

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "QuestionGuid": "fd524ce6-3950-4676-bcd9-ea009be7b4ad",
    "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:45.1038374+02:00",
    "AnswerRTF": "sample string 7",
    "Explanation": "sample string 8",
    "Answered": true,
    "SubChapterGuid": "8c18ba7c-4a51-4b71-bd7a-bb9c120d4bca"
  },
  {
    "$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:45.1038374+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>fd524ce6-3950-4676-bcd9-ea009be7b4ad</QuestionGuid>
    <QuestionName>sample string 3</QuestionName>
    <QuestionPrintText>sample string 5</QuestionPrintText>
    <QuestionType>MultipleChoice</QuestionType>
    <Rank>2</Rank>
    <SubChapterGuid>8c18ba7c-4a51-4b71-bd7a-bb9c120d4bca</SubChapterGuid>
  </QuestionnaireChapterAnswer>
  <QuestionnaireChapterAnswer>
    <AnswerDateTime>2026-05-26T21:08:45.1038374+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>fd524ce6-3950-4676-bcd9-ea009be7b4ad</QuestionGuid>
    <QuestionName>sample string 3</QuestionName>
    <QuestionPrintText>sample string 5</QuestionPrintText>
    <QuestionType>MultipleChoice</QuestionType>
    <Rank>2</Rank>
    <SubChapterGuid>8c18ba7c-4a51-4b71-bd7a-bb9c120d4bca</SubChapterGuid>
  </QuestionnaireChapterAnswer>
</ArrayOfQuestionnaireChapterAnswer>