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.SurveyViewModel| Name | 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": "0be9ab54-e5e4-410d-a5dd-9ad7e30ebc9e",
"Title": "sample string 2",
"Sections": [
{
"Id": "6d87ccee-61b9-474b-9108-196cba9aa642",
"Title": "sample string 2",
"Questions": [
{
"Id": "dd82d796-ca04-4f05-8829-e2a762486c8a",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "cf93daf4-8fe3-488f-ba19-80ab7e4d6f17",
"Value": "sample string 2"
},
{
"Id": "cf93daf4-8fe3-488f-ba19-80ab7e4d6f17",
"Value": "sample string 2"
}
]
},
{
"Id": "dd82d796-ca04-4f05-8829-e2a762486c8a",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "cf93daf4-8fe3-488f-ba19-80ab7e4d6f17",
"Value": "sample string 2"
},
{
"Id": "cf93daf4-8fe3-488f-ba19-80ab7e4d6f17",
"Value": "sample string 2"
}
]
}
]
},
{
"Id": "6d87ccee-61b9-474b-9108-196cba9aa642",
"Title": "sample string 2",
"Questions": [
{
"Id": "dd82d796-ca04-4f05-8829-e2a762486c8a",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "cf93daf4-8fe3-488f-ba19-80ab7e4d6f17",
"Value": "sample string 2"
},
{
"Id": "cf93daf4-8fe3-488f-ba19-80ab7e4d6f17",
"Value": "sample string 2"
}
]
},
{
"Id": "dd82d796-ca04-4f05-8829-e2a762486c8a",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "cf93daf4-8fe3-488f-ba19-80ab7e4d6f17",
"Value": "sample string 2"
},
{
"Id": "cf93daf4-8fe3-488f-ba19-80ab7e4d6f17",
"Value": "sample string 2"
}
]
}
]
}
]
}