GET PlanCare2Api/Questionnaires/FilledQuestionnaires/{questionnaireGuid}/Chapters
Gets the questionnaire chapters for the specified questionnaire.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| questionnaireGuid |
The guid of the questionnaire. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
The questionnaire chapters for the specified questionnaire.
Collection of QuestionnaireChapter| Name | Description | Type | Additional information |
|---|---|---|---|
| Guid |
The id of the questionnaire chapter. |
globally unique identifier |
None. |
| Name |
The name of the questionnaire chapter. |
string |
None. |
| QuestionnaireGuid |
The id of the questionnaire to which the chapter belongs. |
globally unique identifier |
None. |
| HideUnansweredQuestions |
Determines whether unanswered questions are shown. |
boolean |
None. |
| VisibleOnCarePlan |
Determines whether the chapter is shown on the careplan. |
boolean |
None. |
| VisibleOnClientCard |
Determines whether the chapter is shown in the clientcard. |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"Guid": "03445980-845f-4ff2-9253-ff87b20dfd60",
"Name": "sample string 2",
"QuestionnaireGuid": "ff70b3bb-e904-48b3-a48b-ce1c790edf83",
"HideUnansweredQuestions": true,
"VisibleOnCarePlan": true,
"VisibleOnClientCard": true
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfQuestionnaireChapter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Questionnaire">
<QuestionnaireChapter>
<Guid>03445980-845f-4ff2-9253-ff87b20dfd60</Guid>
<HideUnansweredQuestions>true</HideUnansweredQuestions>
<Name>sample string 2</Name>
<QuestionnaireGuid>ff70b3bb-e904-48b3-a48b-ce1c790edf83</QuestionnaireGuid>
<VisibleOnCarePlan>true</VisibleOnCarePlan>
<VisibleOnClientCard>true</VisibleOnClientCard>
</QuestionnaireChapter>
<QuestionnaireChapter>
<Guid>03445980-845f-4ff2-9253-ff87b20dfd60</Guid>
<HideUnansweredQuestions>true</HideUnansweredQuestions>
<Name>sample string 2</Name>
<QuestionnaireGuid>ff70b3bb-e904-48b3-a48b-ce1c790edf83</QuestionnaireGuid>
<VisibleOnCarePlan>true</VisibleOnCarePlan>
<VisibleOnClientCard>true</VisibleOnClientCard>
</QuestionnaireChapter>
</ArrayOfQuestionnaireChapter>