GET survey/{surveyId}
Gets user survey questions.
Authorization
Access to this endpoint is granted if all following conditions are true:
- Authenticated user who is either StaffMember, Student, Administrator, ProspectWithTrial, User
- Authenticated user who is either StaffMember, Student, QA, ISUSTeacher, Administrator, ProspectWithTrial, User
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
surveyId |
The survey id. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
PearsonEnglish.LearningServices.Core.Models.Views.SurveyViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Title | string |
None. |
|
Sections | Collection of PearsonEnglish.LearningServices.Core.Models.Views.SurveySectionViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "27de17d6-c62c-4039-a4f3-01b854cfc1c3", "Title": "sample string 2", "Sections": [ { "Id": "a5471d7b-6d06-45cf-a557-2bf688085434", "Title": "sample string 2", "Questions": [ { "Id": "538f7c21-1db2-49df-9ac5-458ddac5e9af", "Value": "sample string 2", "Type": "sample string 3", "Media": { "Type": 1, "URL": "sample string 2" }, "AnswerRequired": true, "Answers": [ { "Id": "964da920-aaa3-494b-8e93-66aef5a8fff4", "Value": "sample string 2" }, { "Id": "964da920-aaa3-494b-8e93-66aef5a8fff4", "Value": "sample string 2" } ] }, { "Id": "538f7c21-1db2-49df-9ac5-458ddac5e9af", "Value": "sample string 2", "Type": "sample string 3", "Media": { "Type": 1, "URL": "sample string 2" }, "AnswerRequired": true, "Answers": [ { "Id": "964da920-aaa3-494b-8e93-66aef5a8fff4", "Value": "sample string 2" }, { "Id": "964da920-aaa3-494b-8e93-66aef5a8fff4", "Value": "sample string 2" } ] } ] }, { "Id": "a5471d7b-6d06-45cf-a557-2bf688085434", "Title": "sample string 2", "Questions": [ { "Id": "538f7c21-1db2-49df-9ac5-458ddac5e9af", "Value": "sample string 2", "Type": "sample string 3", "Media": { "Type": 1, "URL": "sample string 2" }, "AnswerRequired": true, "Answers": [ { "Id": "964da920-aaa3-494b-8e93-66aef5a8fff4", "Value": "sample string 2" }, { "Id": "964da920-aaa3-494b-8e93-66aef5a8fff4", "Value": "sample string 2" } ] }, { "Id": "538f7c21-1db2-49df-9ac5-458ddac5e9af", "Value": "sample string 2", "Type": "sample string 3", "Media": { "Type": 1, "URL": "sample string 2" }, "AnswerRequired": true, "Answers": [ { "Id": "964da920-aaa3-494b-8e93-66aef5a8fff4", "Value": "sample string 2" }, { "Id": "964da920-aaa3-494b-8e93-66aef5a8fff4", "Value": "sample string 2" } ] } ] } ] }