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

Gets the subchapters for a specified questionnaire chapter.

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

All subchapters for the given questionnaire chapter.

Collection of QuestionnaireSubChapter
NameDescriptionTypeAdditional information
Guid

The id of the questionnaire subchapter.

globally unique identifier

None.

Title

The title of the questionnaire subchapter.

string

None.

Text

Additional text for the questionnaire subchapter.

string

None.

ParentSubChapterGuid

The id of the parent questionnaire subchapter.

globally unique identifier

None.

Rank

The rank of the subchapter within its parent subchapter.

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Guid": "fc4dc208-e6cb-4973-b3ce-6d95b31b2e5e",
    "Title": "sample string 2",
    "Text": "sample string 3",
    "ParentSubChapterGuid": "587cc924-fad2-4625-baf2-db0c18de4f6f",
    "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>fc4dc208-e6cb-4973-b3ce-6d95b31b2e5e</Guid>
    <ParentSubChapterGuid>587cc924-fad2-4625-baf2-db0c18de4f6f</ParentSubChapterGuid>
    <Rank>5</Rank>
    <Text>sample string 3</Text>
    <Title>sample string 2</Title>
  </QuestionnaireSubChapter>
  <QuestionnaireSubChapter>
    <Guid>fc4dc208-e6cb-4973-b3ce-6d95b31b2e5e</Guid>
    <ParentSubChapterGuid>587cc924-fad2-4625-baf2-db0c18de4f6f</ParentSubChapterGuid>
    <Rank>5</Rank>
    <Text>sample string 3</Text>
    <Title>sample string 2</Title>
  </QuestionnaireSubChapter>
</ArrayOfQuestionnaireSubChapter>