Survey Response Input

Input representation of the details of a survey response.

JSON Example 

Here’s an example for a single question.

1{
2 "invitationId": "0Kixx0000004MWaCAM",
3 "invitationUuid": "11845-39854594-3438",
4 "surveyDeveloperName": "sample_survey",
5 "languageCode": "en",
6 "flowInterviewState" : "state1",
7 "navigationAction" : "Next",
8 "surveyPageResponses" : {
9        "name" :  "p_ff794819_c0f0_4e0d_b357_29ca1694cfc4",
10        "questionResponses" : [
11            {
12                "name": "q_113419b1_5d29_4bb9_8b10_e3fe324ae040",
13                "questionType" : "MultiChoice",
14                "responses" : [{"name" : "c_9775c2e5_9086_44a8_a5c9_89fdc886c99a"}, 
15                                {"name" : "c_0f1f63cc_608a_4560_9d29_72b203f195f2"}]
16            }
17         ]
18   }
19}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
flowInterview​StateStringState of the flow interview.Requiredv1
invitationIdStringID of the survey invitation.Requiredv1
invitationUuidStringRandom ID of the survey invitation that’s generated for enhanced security.Requiredv1
languageCodeStringCode of the language to get the survey page or question details. Ensure the survey is shared to the participant in this specified language.Optionalv1
navigation​ActionStringAvailable navigation actions on the survey page. Possible values are:
  • Back—Navigate to the previous survey page.
  • Next—Navigate to the next survey page.
Requiredv1
survey​Developer​NameStringName of the survey.Requiredv1
surveyPage​ResponsesSurvey Page Response InputResponses to the survey questions on a page.Requiredv1