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": "d4f801e7-4630-4208-be57-385b0e29347b",
"Title": "sample string 2",
"Text": "sample string 3",
"ParentSubChapterGuid": "7938a4aa-e5a4-454c-a3b7-cdd6bea9cc0a",
"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>d4f801e7-4630-4208-be57-385b0e29347b</Guid>
<ParentSubChapterGuid>7938a4aa-e5a4-454c-a3b7-cdd6bea9cc0a</ParentSubChapterGuid>
<Rank>5</Rank>
<Text>sample string 3</Text>
<Title>sample string 2</Title>
</QuestionnaireSubChapter>
<QuestionnaireSubChapter>
<Guid>d4f801e7-4630-4208-be57-385b0e29347b</Guid>
<ParentSubChapterGuid>7938a4aa-e5a4-454c-a3b7-cdd6bea9cc0a</ParentSubChapterGuid>
<Rank>5</Rank>
<Text>sample string 3</Text>
<Title>sample string 2</Title>
</QuestionnaireSubChapter>
</ArrayOfQuestionnaireSubChapter>