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": "e2b92276-8026-4bfe-87c6-907360f6ae6d", "Title": "sample string 2", "Sections": [ { "Id": "be64f862-9314-462e-adee-2a4dca067220", "Title": "sample string 2", "Questions": [ { "Id": "eca96c99-03a6-4196-9063-666840ea559f", "Value": "sample string 2", "Type": "sample string 3", "Media": { "Type": 1, "URL": "sample string 2" }, "AnswerRequired": true, "Answers": [ { "Id": "cfa50f74-e020-4d07-925d-cacdaeba67dd", "Value": "sample string 2" }, { "Id": "cfa50f74-e020-4d07-925d-cacdaeba67dd", "Value": "sample string 2" } ] }, { "Id": "eca96c99-03a6-4196-9063-666840ea559f", "Value": "sample string 2", "Type": "sample string 3", "Media": { "Type": 1, "URL": "sample string 2" }, "AnswerRequired": true, "Answers": [ { "Id": "cfa50f74-e020-4d07-925d-cacdaeba67dd", "Value": "sample string 2" }, { "Id": "cfa50f74-e020-4d07-925d-cacdaeba67dd", "Value": "sample string 2" } ] } ] }, { "Id": "be64f862-9314-462e-adee-2a4dca067220", "Title": "sample string 2", "Questions": [ { "Id": "eca96c99-03a6-4196-9063-666840ea559f", "Value": "sample string 2", "Type": "sample string 3", "Media": { "Type": 1, "URL": "sample string 2" }, "AnswerRequired": true, "Answers": [ { "Id": "cfa50f74-e020-4d07-925d-cacdaeba67dd", "Value": "sample string 2" }, { "Id": "cfa50f74-e020-4d07-925d-cacdaeba67dd", "Value": "sample string 2" } ] }, { "Id": "eca96c99-03a6-4196-9063-666840ea559f", "Value": "sample string 2", "Type": "sample string 3", "Media": { "Type": 1, "URL": "sample string 2" }, "AnswerRequired": true, "Answers": [ { "Id": "cfa50f74-e020-4d07-925d-cacdaeba67dd", "Value": "sample string 2" }, { "Id": "cfa50f74-e020-4d07-925d-cacdaeba67dd", "Value": "sample string 2" } ] } ] } ] }