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": "e0a16b96-7e55-4d98-ba96-1468ccb3ba7f", "Title": "sample string 2", "Sections": [ { "Id": "0474389f-2dbd-48b0-8129-2976e2d8d20e", "Title": "sample string 2", "Questions": [ { "Id": "f94a1e71-f9ef-419b-9c0a-78b908b17021", "Value": "sample string 2", "Type": "sample string 3", "Media": { "Type": 1, "URL": "sample string 2" }, "AnswerRequired": true, "Answers": [ { "Id": "9850cb65-1961-4b0a-be44-29e54989766c", "Value": "sample string 2" }, { "Id": "9850cb65-1961-4b0a-be44-29e54989766c", "Value": "sample string 2" } ] }, { "Id": "f94a1e71-f9ef-419b-9c0a-78b908b17021", "Value": "sample string 2", "Type": "sample string 3", "Media": { "Type": 1, "URL": "sample string 2" }, "AnswerRequired": true, "Answers": [ { "Id": "9850cb65-1961-4b0a-be44-29e54989766c", "Value": "sample string 2" }, { "Id": "9850cb65-1961-4b0a-be44-29e54989766c", "Value": "sample string 2" } ] } ] }, { "Id": "0474389f-2dbd-48b0-8129-2976e2d8d20e", "Title": "sample string 2", "Questions": [ { "Id": "f94a1e71-f9ef-419b-9c0a-78b908b17021", "Value": "sample string 2", "Type": "sample string 3", "Media": { "Type": 1, "URL": "sample string 2" }, "AnswerRequired": true, "Answers": [ { "Id": "9850cb65-1961-4b0a-be44-29e54989766c", "Value": "sample string 2" }, { "Id": "9850cb65-1961-4b0a-be44-29e54989766c", "Value": "sample string 2" } ] }, { "Id": "f94a1e71-f9ef-419b-9c0a-78b908b17021", "Value": "sample string 2", "Type": "sample string 3", "Media": { "Type": 1, "URL": "sample string 2" }, "AnswerRequired": true, "Answers": [ { "Id": "9850cb65-1961-4b0a-be44-29e54989766c", "Value": "sample string 2" }, { "Id": "9850cb65-1961-4b0a-be44-29e54989766c", "Value": "sample string 2" } ] } ] } ] }