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": "51629eca-b56c-45a2-bc1d-822085f256e4",
"Title": "sample string 2",
"Sections": [
{
"Id": "4664a3d3-bc8c-4fcf-9962-46938b1aa301",
"Title": "sample string 2",
"Questions": [
{
"Id": "5d28862a-418c-4fcb-b1d6-299b3512c2ec",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "88fda61c-5324-4b5c-b015-251b1d09664e",
"Value": "sample string 2"
},
{
"Id": "88fda61c-5324-4b5c-b015-251b1d09664e",
"Value": "sample string 2"
}
]
},
{
"Id": "5d28862a-418c-4fcb-b1d6-299b3512c2ec",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "88fda61c-5324-4b5c-b015-251b1d09664e",
"Value": "sample string 2"
},
{
"Id": "88fda61c-5324-4b5c-b015-251b1d09664e",
"Value": "sample string 2"
}
]
}
]
},
{
"Id": "4664a3d3-bc8c-4fcf-9962-46938b1aa301",
"Title": "sample string 2",
"Questions": [
{
"Id": "5d28862a-418c-4fcb-b1d6-299b3512c2ec",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "88fda61c-5324-4b5c-b015-251b1d09664e",
"Value": "sample string 2"
},
{
"Id": "88fda61c-5324-4b5c-b015-251b1d09664e",
"Value": "sample string 2"
}
]
},
{
"Id": "5d28862a-418c-4fcb-b1d6-299b3512c2ec",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "88fda61c-5324-4b5c-b015-251b1d09664e",
"Value": "sample string 2"
},
{
"Id": "88fda61c-5324-4b5c-b015-251b1d09664e",
"Value": "sample string 2"
}
]
}
]
}
]
}