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": "e47118b8-3f93-4788-bd70-08154e18965b",
"Title": "sample string 2",
"Sections": [
{
"Id": "c0c2fe1f-f567-4783-ad16-68ab9cc15f55",
"Title": "sample string 2",
"Questions": [
{
"Id": "825fe9ce-0888-4f0c-95f8-c44449afc90b",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "3fbe26a6-2186-4f37-8f5c-5e6f5c1644b3",
"Value": "sample string 2"
},
{
"Id": "3fbe26a6-2186-4f37-8f5c-5e6f5c1644b3",
"Value": "sample string 2"
}
]
},
{
"Id": "825fe9ce-0888-4f0c-95f8-c44449afc90b",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "3fbe26a6-2186-4f37-8f5c-5e6f5c1644b3",
"Value": "sample string 2"
},
{
"Id": "3fbe26a6-2186-4f37-8f5c-5e6f5c1644b3",
"Value": "sample string 2"
}
]
}
]
},
{
"Id": "c0c2fe1f-f567-4783-ad16-68ab9cc15f55",
"Title": "sample string 2",
"Questions": [
{
"Id": "825fe9ce-0888-4f0c-95f8-c44449afc90b",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "3fbe26a6-2186-4f37-8f5c-5e6f5c1644b3",
"Value": "sample string 2"
},
{
"Id": "3fbe26a6-2186-4f37-8f5c-5e6f5c1644b3",
"Value": "sample string 2"
}
]
},
{
"Id": "825fe9ce-0888-4f0c-95f8-c44449afc90b",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "3fbe26a6-2186-4f37-8f5c-5e6f5c1644b3",
"Value": "sample string 2"
},
{
"Id": "3fbe26a6-2186-4f37-8f5c-5e6f5c1644b3",
"Value": "sample string 2"
}
]
}
]
}
]
}