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": "277ce145-279b-42e0-ad28-539ceeed4407",
"Title": "sample string 2",
"Sections": [
{
"Id": "e456bcf7-91b4-4c24-b522-c9ee74623211",
"Title": "sample string 2",
"Questions": [
{
"Id": "a2d0d4c5-96f0-4b75-98df-0ab3cf942cb0",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "421151e3-e9e8-467c-8d68-448fc597ddc0",
"Value": "sample string 2"
},
{
"Id": "421151e3-e9e8-467c-8d68-448fc597ddc0",
"Value": "sample string 2"
}
]
},
{
"Id": "a2d0d4c5-96f0-4b75-98df-0ab3cf942cb0",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "421151e3-e9e8-467c-8d68-448fc597ddc0",
"Value": "sample string 2"
},
{
"Id": "421151e3-e9e8-467c-8d68-448fc597ddc0",
"Value": "sample string 2"
}
]
}
]
},
{
"Id": "e456bcf7-91b4-4c24-b522-c9ee74623211",
"Title": "sample string 2",
"Questions": [
{
"Id": "a2d0d4c5-96f0-4b75-98df-0ab3cf942cb0",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "421151e3-e9e8-467c-8d68-448fc597ddc0",
"Value": "sample string 2"
},
{
"Id": "421151e3-e9e8-467c-8d68-448fc597ddc0",
"Value": "sample string 2"
}
]
},
{
"Id": "a2d0d4c5-96f0-4b75-98df-0ab3cf942cb0",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "421151e3-e9e8-467c-8d68-448fc597ddc0",
"Value": "sample string 2"
},
{
"Id": "421151e3-e9e8-467c-8d68-448fc597ddc0",
"Value": "sample string 2"
}
]
}
]
}
]
}