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": "8a05cbb0-224a-4757-91ae-ff6f6d6c6be3",
"Title": "sample string 2",
"Sections": [
{
"Id": "4a993eff-bc30-49b0-900c-d08b91aafe8c",
"Title": "sample string 2",
"Questions": [
{
"Id": "5e739da0-b2b5-48d7-87eb-bfe392f2cc1e",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "25813bf6-32c0-48e5-b7ca-b17d8b9f31f7",
"Value": "sample string 2"
},
{
"Id": "25813bf6-32c0-48e5-b7ca-b17d8b9f31f7",
"Value": "sample string 2"
}
]
},
{
"Id": "5e739da0-b2b5-48d7-87eb-bfe392f2cc1e",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "25813bf6-32c0-48e5-b7ca-b17d8b9f31f7",
"Value": "sample string 2"
},
{
"Id": "25813bf6-32c0-48e5-b7ca-b17d8b9f31f7",
"Value": "sample string 2"
}
]
}
]
},
{
"Id": "4a993eff-bc30-49b0-900c-d08b91aafe8c",
"Title": "sample string 2",
"Questions": [
{
"Id": "5e739da0-b2b5-48d7-87eb-bfe392f2cc1e",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "25813bf6-32c0-48e5-b7ca-b17d8b9f31f7",
"Value": "sample string 2"
},
{
"Id": "25813bf6-32c0-48e5-b7ca-b17d8b9f31f7",
"Value": "sample string 2"
}
]
},
{
"Id": "5e739da0-b2b5-48d7-87eb-bfe392f2cc1e",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "25813bf6-32c0-48e5-b7ca-b17d8b9f31f7",
"Value": "sample string 2"
},
{
"Id": "25813bf6-32c0-48e5-b7ca-b17d8b9f31f7",
"Value": "sample string 2"
}
]
}
]
}
]
}