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": "2399b231-c059-4e7d-bb69-77787e611052",
"Title": "sample string 2",
"Sections": [
{
"Id": "a3bf9e2f-1886-4745-a649-89054982e8bb",
"Title": "sample string 2",
"Questions": [
{
"Id": "e14e3b01-f7bb-4b5c-a351-920096cd512f",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "46d50387-c82a-485e-87ff-05af86004b5f",
"Value": "sample string 2"
},
{
"Id": "46d50387-c82a-485e-87ff-05af86004b5f",
"Value": "sample string 2"
}
]
},
{
"Id": "e14e3b01-f7bb-4b5c-a351-920096cd512f",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "46d50387-c82a-485e-87ff-05af86004b5f",
"Value": "sample string 2"
},
{
"Id": "46d50387-c82a-485e-87ff-05af86004b5f",
"Value": "sample string 2"
}
]
}
]
},
{
"Id": "a3bf9e2f-1886-4745-a649-89054982e8bb",
"Title": "sample string 2",
"Questions": [
{
"Id": "e14e3b01-f7bb-4b5c-a351-920096cd512f",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "46d50387-c82a-485e-87ff-05af86004b5f",
"Value": "sample string 2"
},
{
"Id": "46d50387-c82a-485e-87ff-05af86004b5f",
"Value": "sample string 2"
}
]
},
{
"Id": "e14e3b01-f7bb-4b5c-a351-920096cd512f",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "46d50387-c82a-485e-87ff-05af86004b5f",
"Value": "sample string 2"
},
{
"Id": "46d50387-c82a-485e-87ff-05af86004b5f",
"Value": "sample string 2"
}
]
}
]
}
]
}