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": "454f7034-abab-4481-b2c2-2b4386ee1afd", "Title": "sample string 2", "Sections": [ { "Id": "47f9eb92-71a4-42a9-acaf-a3ed8c50da1c", "Title": "sample string 2", "Questions": [ { "Id": "cdabba84-0644-412f-a13a-33fb9dacf293", "Value": "sample string 2", "Type": "sample string 3", "Media": { "Type": 1, "URL": "sample string 2" }, "AnswerRequired": true, "Answers": [ { "Id": "42bd0b2f-8eac-474f-b0fe-f1e43695f07b", "Value": "sample string 2" }, { "Id": "42bd0b2f-8eac-474f-b0fe-f1e43695f07b", "Value": "sample string 2" } ] }, { "Id": "cdabba84-0644-412f-a13a-33fb9dacf293", "Value": "sample string 2", "Type": "sample string 3", "Media": { "Type": 1, "URL": "sample string 2" }, "AnswerRequired": true, "Answers": [ { "Id": "42bd0b2f-8eac-474f-b0fe-f1e43695f07b", "Value": "sample string 2" }, { "Id": "42bd0b2f-8eac-474f-b0fe-f1e43695f07b", "Value": "sample string 2" } ] } ] }, { "Id": "47f9eb92-71a4-42a9-acaf-a3ed8c50da1c", "Title": "sample string 2", "Questions": [ { "Id": "cdabba84-0644-412f-a13a-33fb9dacf293", "Value": "sample string 2", "Type": "sample string 3", "Media": { "Type": 1, "URL": "sample string 2" }, "AnswerRequired": true, "Answers": [ { "Id": "42bd0b2f-8eac-474f-b0fe-f1e43695f07b", "Value": "sample string 2" }, { "Id": "42bd0b2f-8eac-474f-b0fe-f1e43695f07b", "Value": "sample string 2" } ] }, { "Id": "cdabba84-0644-412f-a13a-33fb9dacf293", "Value": "sample string 2", "Type": "sample string 3", "Media": { "Type": 1, "URL": "sample string 2" }, "AnswerRequired": true, "Answers": [ { "Id": "42bd0b2f-8eac-474f-b0fe-f1e43695f07b", "Value": "sample string 2" }, { "Id": "42bd0b2f-8eac-474f-b0fe-f1e43695f07b", "Value": "sample string 2" } ] } ] } ] }