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": "758b27e1-e0a0-42f5-80c4-8ab3552073b2",
"Title": "sample string 2",
"Sections": [
{
"Id": "7b56375c-a5c7-4315-9717-02e7a7d399ad",
"Title": "sample string 2",
"Questions": [
{
"Id": "057312f9-4f74-46d1-900f-efa0c945b5c9",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "3ee17c1b-5fc1-4230-b4c5-21c2a89eddcb",
"Value": "sample string 2"
},
{
"Id": "3ee17c1b-5fc1-4230-b4c5-21c2a89eddcb",
"Value": "sample string 2"
}
]
},
{
"Id": "057312f9-4f74-46d1-900f-efa0c945b5c9",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "3ee17c1b-5fc1-4230-b4c5-21c2a89eddcb",
"Value": "sample string 2"
},
{
"Id": "3ee17c1b-5fc1-4230-b4c5-21c2a89eddcb",
"Value": "sample string 2"
}
]
}
]
},
{
"Id": "7b56375c-a5c7-4315-9717-02e7a7d399ad",
"Title": "sample string 2",
"Questions": [
{
"Id": "057312f9-4f74-46d1-900f-efa0c945b5c9",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "3ee17c1b-5fc1-4230-b4c5-21c2a89eddcb",
"Value": "sample string 2"
},
{
"Id": "3ee17c1b-5fc1-4230-b4c5-21c2a89eddcb",
"Value": "sample string 2"
}
]
},
{
"Id": "057312f9-4f74-46d1-900f-efa0c945b5c9",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "3ee17c1b-5fc1-4230-b4c5-21c2a89eddcb",
"Value": "sample string 2"
},
{
"Id": "3ee17c1b-5fc1-4230-b4c5-21c2a89eddcb",
"Value": "sample string 2"
}
]
}
]
}
]
}