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": "fdc64706-efcc-4a54-b39c-d1425c5dac62",
"Title": "sample string 2",
"Sections": [
{
"Id": "986d4731-d6c8-4ccf-8441-56d1da5f51c2",
"Title": "sample string 2",
"Questions": [
{
"Id": "d126cfed-6182-4bf6-98b6-9b4e4080a62b",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "29e060a9-65d6-4b16-bdb3-9fb03d27fa0f",
"Value": "sample string 2"
},
{
"Id": "29e060a9-65d6-4b16-bdb3-9fb03d27fa0f",
"Value": "sample string 2"
}
]
},
{
"Id": "d126cfed-6182-4bf6-98b6-9b4e4080a62b",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "29e060a9-65d6-4b16-bdb3-9fb03d27fa0f",
"Value": "sample string 2"
},
{
"Id": "29e060a9-65d6-4b16-bdb3-9fb03d27fa0f",
"Value": "sample string 2"
}
]
}
]
},
{
"Id": "986d4731-d6c8-4ccf-8441-56d1da5f51c2",
"Title": "sample string 2",
"Questions": [
{
"Id": "d126cfed-6182-4bf6-98b6-9b4e4080a62b",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "29e060a9-65d6-4b16-bdb3-9fb03d27fa0f",
"Value": "sample string 2"
},
{
"Id": "29e060a9-65d6-4b16-bdb3-9fb03d27fa0f",
"Value": "sample string 2"
}
]
},
{
"Id": "d126cfed-6182-4bf6-98b6-9b4e4080a62b",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "29e060a9-65d6-4b16-bdb3-9fb03d27fa0f",
"Value": "sample string 2"
},
{
"Id": "29e060a9-65d6-4b16-bdb3-9fb03d27fa0f",
"Value": "sample string 2"
}
]
}
]
}
]
}