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": "f1a96290-d011-4c96-81a8-b0e0eee745c6",
"Title": "sample string 2",
"Sections": [
{
"Id": "bfa01775-9931-4f39-a13f-b818bf524ba2",
"Title": "sample string 2",
"Questions": [
{
"Id": "888efe2e-dc3e-48f5-be13-dbdd4367e5c7",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "540f44f3-5815-4b3e-8d13-cd1c15ae6bba",
"Value": "sample string 2"
},
{
"Id": "540f44f3-5815-4b3e-8d13-cd1c15ae6bba",
"Value": "sample string 2"
}
]
},
{
"Id": "888efe2e-dc3e-48f5-be13-dbdd4367e5c7",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "540f44f3-5815-4b3e-8d13-cd1c15ae6bba",
"Value": "sample string 2"
},
{
"Id": "540f44f3-5815-4b3e-8d13-cd1c15ae6bba",
"Value": "sample string 2"
}
]
}
]
},
{
"Id": "bfa01775-9931-4f39-a13f-b818bf524ba2",
"Title": "sample string 2",
"Questions": [
{
"Id": "888efe2e-dc3e-48f5-be13-dbdd4367e5c7",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "540f44f3-5815-4b3e-8d13-cd1c15ae6bba",
"Value": "sample string 2"
},
{
"Id": "540f44f3-5815-4b3e-8d13-cd1c15ae6bba",
"Value": "sample string 2"
}
]
},
{
"Id": "888efe2e-dc3e-48f5-be13-dbdd4367e5c7",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "540f44f3-5815-4b3e-8d13-cd1c15ae6bba",
"Value": "sample string 2"
},
{
"Id": "540f44f3-5815-4b3e-8d13-cd1c15ae6bba",
"Value": "sample string 2"
}
]
}
]
}
]
}