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": "1b5aea9e-af92-4927-ad75-979a3c2eac4c",
"Title": "sample string 2",
"Sections": [
{
"Id": "7ffb6998-48b4-4311-a2d9-615eff011360",
"Title": "sample string 2",
"Questions": [
{
"Id": "e1819c01-ecaf-4631-8fca-0d19da05a16f",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "463ed46a-6566-4a5f-9cc8-8d96f6f2a9d0",
"Value": "sample string 2"
},
{
"Id": "463ed46a-6566-4a5f-9cc8-8d96f6f2a9d0",
"Value": "sample string 2"
}
]
},
{
"Id": "e1819c01-ecaf-4631-8fca-0d19da05a16f",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "463ed46a-6566-4a5f-9cc8-8d96f6f2a9d0",
"Value": "sample string 2"
},
{
"Id": "463ed46a-6566-4a5f-9cc8-8d96f6f2a9d0",
"Value": "sample string 2"
}
]
}
]
},
{
"Id": "7ffb6998-48b4-4311-a2d9-615eff011360",
"Title": "sample string 2",
"Questions": [
{
"Id": "e1819c01-ecaf-4631-8fca-0d19da05a16f",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "463ed46a-6566-4a5f-9cc8-8d96f6f2a9d0",
"Value": "sample string 2"
},
{
"Id": "463ed46a-6566-4a5f-9cc8-8d96f6f2a9d0",
"Value": "sample string 2"
}
]
},
{
"Id": "e1819c01-ecaf-4631-8fca-0d19da05a16f",
"Value": "sample string 2",
"Type": "sample string 3",
"Media": {
"Type": 1,
"URL": "sample string 2"
},
"AnswerRequired": true,
"Answers": [
{
"Id": "463ed46a-6566-4a5f-9cc8-8d96f6f2a9d0",
"Value": "sample string 2"
},
{
"Id": "463ed46a-6566-4a5f-9cc8-8d96f6f2a9d0",
"Value": "sample string 2"
}
]
}
]
}
]
}