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

Gets the subchapters for a specified questionnaire chapter.

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

All subchapters for the given questionnaire chapter.

Collection of QuestionnaireSubChapter
Name Description Type Additional information
Guid

The id of the questionnaire subchapter.

globally unique identifier

-

Title

The title of the questionnaire subchapter.

string

-

Text

Additional text for the questionnaire subchapter.

string

-

ParentSubChapterGuid

The id of the parent questionnaire subchapter.

globally unique identifier

-

Rank

The rank of the subchapter within its parent subchapter.

integer

-

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Guid": "aeec63c8-fdaa-47dd-98cd-213c9605ade0",
    "Title": "sample string 2",
    "Text": "sample string 3",
    "ParentSubChapterGuid": "05c24eb3-ffbd-4c5e-b799-ebbc068cd0a0",
    "Rank": 5
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfQuestionnaireSubChapter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Questionnaire">
  <QuestionnaireSubChapter>
    <Guid>aeec63c8-fdaa-47dd-98cd-213c9605ade0</Guid>
    <ParentSubChapterGuid>05c24eb3-ffbd-4c5e-b799-ebbc068cd0a0</ParentSubChapterGuid>
    <Rank>5</Rank>
    <Text>sample string 3</Text>
    <Title>sample string 2</Title>
  </QuestionnaireSubChapter>
  <QuestionnaireSubChapter>
    <Guid>aeec63c8-fdaa-47dd-98cd-213c9605ade0</Guid>
    <ParentSubChapterGuid>05c24eb3-ffbd-4c5e-b799-ebbc068cd0a0</ParentSubChapterGuid>
    <Rank>5</Rank>
    <Text>sample string 3</Text>
    <Title>sample string 2</Title>
  </QuestionnaireSubChapter>
</ArrayOfQuestionnaireSubChapter>