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": "c49cf39b-bdba-4a0e-9054-1a962f561adf",
    "Title": "sample string 2",
    "Text": "sample string 3",
    "ParentSubChapterGuid": "5a73eb1d-a87e-425a-8603-a5d63222fa31",
    "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>c49cf39b-bdba-4a0e-9054-1a962f561adf</Guid>
    <ParentSubChapterGuid>5a73eb1d-a87e-425a-8603-a5d63222fa31</ParentSubChapterGuid>
    <Rank>5</Rank>
    <Text>sample string 3</Text>
    <Title>sample string 2</Title>
  </QuestionnaireSubChapter>
  <QuestionnaireSubChapter>
    <Guid>c49cf39b-bdba-4a0e-9054-1a962f561adf</Guid>
    <ParentSubChapterGuid>5a73eb1d-a87e-425a-8603-a5d63222fa31</ParentSubChapterGuid>
    <Rank>5</Rank>
    <Text>sample string 3</Text>
    <Title>sample string 2</Title>
  </QuestionnaireSubChapter>
</ArrayOfQuestionnaireSubChapter>