Get Survey Questions

Description
Through the survey template in EdApp, a user can be asked to fill out survey questions. These questions can have different formats like:
• Open answers
• Ratings
• Multiple choice

Surveys have no correct answer, they are a tool to gather information from learners.

GET
https://rest.edapp.com/v2/analytics/surveyquestiondefinitions

This endpoint returns the definition of the questions to use as a reference for the survey answers.

Parameters

Parameter Description Data Type
CourseId (Optional) Ed CourseId string
CourseExternalId (Optional)

External Id’s are an optional addition to a course that allow for easier referencing of the course through the API.

string
LessonId (Optional) Ed LessonId string
LessonExternalId (Optional)

External Id’s are an optional addition to a lesson that allow for easier referencing of the lesson through the API.

string
Page (Optional)

Page number to retrieve Value > 1

integer
PageSize (Optional)

Number of records per page Value 1-1000

integer

 

Response

Field Description Data Type
TotalCount

The total number of records the query returns

Integer
Items

An array of the records for the requested page

Array
courseId

Ed courseId

string
courseExternalId

External Id’s are an optional addition to a course that allow for easier referencing of the course through the API.

string
courseTitle

The title of the course

string
lessonId

Ed lessonId

string
lessonExternalId

External Id’s are an optional addition to a lesson that allow for easier referencing of the lesson through the API.

string
lessonTitle

The title of the EdApp Lesson

string
slideId The ID of the slide string
questionId The ID of the question string
questionContent

The content of the question

string
answerDefinitions

List of answer definitions. Answer definitions refer to the details and content of the available answers to a question.

Only populated in case of a multiple-choice question

array
 
answerDefinitionId   string
answerContent The content string
     

 

 

Example

{
"totalCount": 0,
"items": [
{
"courseId": "string",
"courseExternalId": "string",
"lessonId": "string",
"lessonExternalId": "string",
"slideId": "string",
"questionId": "string",
"questionContent": “string",
“answerDefinitions” : [
{
"answerDefinitionId": "string",
"answerContent": “string"
}
]
}
]
}