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": "4bcd844a-1274-4fb5-afba-561bf9b01802",
"Title": "sample string 2",
"Sections": [
{
"Id": "ff628fbe-f051-4c58-ab22-c6282bce9d06",
"Title": "sample string 2",
"Questions": [
{
"Id": "45f3a52d-5fae-499c-9e56-9b4bcbe39446",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "aaf3b530-34e6-43ae-ab9a-8b4dcf18d3d5",
"Value": "sample string 2"
},
{
"Id": "aaf3b530-34e6-43ae-ab9a-8b4dcf18d3d5",
"Value": "sample string 2"
}
]
},
{
"Id": "45f3a52d-5fae-499c-9e56-9b4bcbe39446",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "aaf3b530-34e6-43ae-ab9a-8b4dcf18d3d5",
"Value": "sample string 2"
},
{
"Id": "aaf3b530-34e6-43ae-ab9a-8b4dcf18d3d5",
"Value": "sample string 2"
}
]
}
]
},
{
"Id": "ff628fbe-f051-4c58-ab22-c6282bce9d06",
"Title": "sample string 2",
"Questions": [
{
"Id": "45f3a52d-5fae-499c-9e56-9b4bcbe39446",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "aaf3b530-34e6-43ae-ab9a-8b4dcf18d3d5",
"Value": "sample string 2"
},
{
"Id": "aaf3b530-34e6-43ae-ab9a-8b4dcf18d3d5",
"Value": "sample string 2"
}
]
},
{
"Id": "45f3a52d-5fae-499c-9e56-9b4bcbe39446",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "aaf3b530-34e6-43ae-ab9a-8b4dcf18d3d5",
"Value": "sample string 2"
},
{
"Id": "aaf3b530-34e6-43ae-ab9a-8b4dcf18d3d5",
"Value": "sample string 2"
}
]
}
]
}
]
}