GET PlanCare2Api/Questionnaires/FilledQuestionnaires/{filledQuestionnaireId}/NextQuestion?currentQuestionGuid={currentQuestionGuid}

Gets the result of navigation to the next question.

Request Information

URI Parameters

Name Description Type Additional information
filledQuestionnaireId

The id of the filled questionnaire.

integer

Required

currentQuestionGuid

The guid of the current question.

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

QuestionnaireNavigationResult

QuestionnaireNavigationResult
Name Description Type Additional information
Code

Code for result of the requested navigation.

QuestionnaireNavigationResultCode

-

NewCurrentQuestionGuid

Guid of the new current question.

globally unique identifier

-

Response Formats

application/json, text/json

Sample:
{
  "Code": 0,
  "NewCurrentQuestionGuid": "911f31c2-4074-4a18-9b30-4027cf943f74"
}

application/xml, text/xml

Sample:
<QuestionnaireNavigationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Questionnaire">
  <Code>Failed</Code>
  <NewCurrentQuestionGuid>911f31c2-4074-4a18-9b30-4027cf943f74</NewCurrentQuestionGuid>
</QuestionnaireNavigationResult>