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 |
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": "3092ee36-4b34-4a0e-909f-7708e9513322",
"Title": "sample string 2",
"Text": "sample string 3",
"ParentSubChapterGuid": "4d3f9605-6b3e-4557-991b-a0cd3daee344",
"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>3092ee36-4b34-4a0e-909f-7708e9513322</Guid>
<ParentSubChapterGuid>4d3f9605-6b3e-4557-991b-a0cd3daee344</ParentSubChapterGuid>
<Rank>5</Rank>
<Text>sample string 3</Text>
<Title>sample string 2</Title>
</QuestionnaireSubChapter>
<QuestionnaireSubChapter>
<Guid>3092ee36-4b34-4a0e-909f-7708e9513322</Guid>
<ParentSubChapterGuid>4d3f9605-6b3e-4557-991b-a0cd3daee344</ParentSubChapterGuid>
<Rank>5</Rank>
<Text>sample string 3</Text>
<Title>sample string 2</Title>
</QuestionnaireSubChapter>
</ArrayOfQuestionnaireSubChapter>