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": "30885dd1-ccd8-465d-82ca-1939d73dc1c4",
"Title": "sample string 2",
"Sections": [
{
"Id": "13e0a967-e78e-4207-b597-34a5a838c603",
"Title": "sample string 2",
"Questions": [
{
"Id": "1bfdbe34-e9a9-4e1a-9201-bb602fabf8ee",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "a783f95b-b612-4763-9c54-49cb0df09bb0",
"Value": "sample string 2"
},
{
"Id": "a783f95b-b612-4763-9c54-49cb0df09bb0",
"Value": "sample string 2"
}
]
},
{
"Id": "1bfdbe34-e9a9-4e1a-9201-bb602fabf8ee",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "a783f95b-b612-4763-9c54-49cb0df09bb0",
"Value": "sample string 2"
},
{
"Id": "a783f95b-b612-4763-9c54-49cb0df09bb0",
"Value": "sample string 2"
}
]
}
]
},
{
"Id": "13e0a967-e78e-4207-b597-34a5a838c603",
"Title": "sample string 2",
"Questions": [
{
"Id": "1bfdbe34-e9a9-4e1a-9201-bb602fabf8ee",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "a783f95b-b612-4763-9c54-49cb0df09bb0",
"Value": "sample string 2"
},
{
"Id": "a783f95b-b612-4763-9c54-49cb0df09bb0",
"Value": "sample string 2"
}
]
},
{
"Id": "1bfdbe34-e9a9-4e1a-9201-bb602fabf8ee",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "a783f95b-b612-4763-9c54-49cb0df09bb0",
"Value": "sample string 2"
},
{
"Id": "a783f95b-b612-4763-9c54-49cb0df09bb0",
"Value": "sample string 2"
}
]
}
]
}
]
}