Results
Evalytics uses a couple of generic result-endpoints with which all results can be retrieved (assuming the user has permission to a specific result). By setting the context, a combination of type
, id
, comparisonType
and optionally a comparisonId
, the desired results can be retrieved.
Averages
GET
https://api-portal.evalytics.nl/result/averages
Returns a list of total averages within the given context (e.g. an evaluation).
Query Parameters
element
array
Determines which results the API will return.
Possible values:
totalAverage, subjectAverage, teacherAverage, examAverage, genericAverage
type
string
Context in which results are being searched.
Possible values:organisation, evaluation, teacher, subject
id
integer
Use in combination with type
to retrieve results from within specific context. E.g. if type
if set to evaluation
, given id
must be an evaluation id.
comparisonType
string
Further defines the context. E.g. if an evaluation has multiple teachers, this can be used to get results for a specific teacher within that evaluation.
Possible values:
organisation, evaluation, teacher, subject
comparisonId
integer
Use in combination with comparisonType
to retrieve results within the sub context.
startDate
string
Uses the format YYYY-MM-DD
endDate
string
Uses the format YYYY-MM-DD
includeChildOrganisations
boolean
By default only results for the organisation present in the accessToken
are retrieved. By setting this to true
, results for child organisations will also be returned if available.
Average history
GET
https://api-portal.evalytics.nl/result/averageHistory
Returns a list of averages per quarter, per type, within the given context. Note that this only works if the context supports history, i.e. not for evaluations.
Query Parameters
element
string
Determines which results the API will return.
Possible values:
totalAverage, subjectAverage, teacherAverage, examAverage, genericAverage
type
string
Context in which results are being searched.
Possible values:organisation, subject, teacher
id
integer
Use in combination with type
to retrieve results from within specific context. E.g. if type
if set to evaluation
, given id
must be an evaluation id.
comparisonType
string
Further defines the context. E.g. if an evaluation has multiple teachers, this can be used to get results for a specific teacher within that evaluation.
Possible values:
organisation, teacher, subject
comparisonId
integer
Use in combination with comparisonType
to retrieve results within the sub context.
startDate
string
Uses the format YYYY-MM-DD
endDate
string
Uses the format YYYY-MM-DD
includeChildOrganisations
boolean
By default only results for the organisation present in the accessToken
are retrieved. By setting this to true
, results for child organisations will also be returned if available.
List
GET
https://api-portal.evalytics.nl/result/list
Returns a list of items with their average results for the given context (e.g. a list of evaluations for an organisation).
Query Parameters
element
array
Determines which results the API will return.
Possible values:
totalAverage, subjectAverage, teacherAverage, examAverage, genericAverage
type*
string
Context in which results are being searched.
Possible values:organisation, evaluation, teacher, subject
id
integer
Use in combination with type
to retrieve results from within specific context. E.g. if type
if set to evaluation
, given id
must be an evaluation id.
comparisonType*
string
Further defines the context. E.g. if an evaluation has multiple teachers, this can be used to get results for a specific teacher within that evaluation.
Possible values:
organisation, evaluation, teacher, subject
comparisonId
integer
Use in combination with comparisonType
to retrieve results within the sub context.
startDate
string
Uses the format YYYY-MM-DD
endDate
string
Uses the format YYYY-MM-DD
searchQuery
string
includeChildOrganisations
boolean
By default only results for the organisation present in the accessToken
are retrieved. By setting this to true
, results for child organisations will also be returned if available.
skip
integer
Defaults to 0
limit
integer
Defaults to 30
orderBy
string
Possible values:
name ASC, name DESC, totalAverage ASC, totalAverage DESC, subjectAverage ASC, subjectAverage DESC, teacherAverage ASC, teacherAverage DESC, examAverage ASC, examAverage DESC, enddate ASC, enddate DESC
Questions
GET
https://api-portal.evalytics.nl/result/questions
Returns a list of questions with their average results for the given context (e.g. a list of questions for a specific evaluation).
Query Parameters
element
array
Determines which results the API will return.
Possible values:
subjectQuestions, teacherQuestions, examQuestions, genericQuestions
type*
string
Context in which results are being searched.
Possible values:organisation, evaluation, teacher, subject
id
integer
Use in combination with type
to retrieve results from within specific context. E.g. if type
if set to evaluation
, given id
must be an evaluation id.
comparisonType
string
Further defines the context. E.g. if an evaluation has multiple teachers, this can be used to get results for a specific teacher within that evaluation.
Possible values:
organisation, evaluation, teacher, subject
comparisonId
integer
Use in combination with comparisonType
to retrieve results within the sub context.
startDate
string
Uses the format YYYY-MM-DD
endDate
string
Uses the format YYYY-MM-DD
includedInAverage
boolean
By default all question results are retrieved. By setting this to true
, only questions that count towards global averages will be returned.
includeChildOrganisations
boolean
By default only results for the organisation present in the accessToken
are retrieved. By setting this to true
, results for child organisations will also be returned if available.
orderBy
string
Possible values:
question ASC, question DESC
Question
GET
https://api-portal.evalytics.nl/result/question/:hash
Returns a single question with it's average result and result distribution for the given context (e.g. a single topic question).
Path Parameters
hash
string
The question's hash
Query Parameters
type
string
Context in which results are being searched.
Possible values:organisation, evaluation, teacher, subject
id
integer
Use in combination with type
to retrieve results from within specific context. E.g. if type
if set to evaluation
, given id
must be an evaluation id.
comparisonType
string
Further defines the context. E.g. if an evaluation has multiple teachers, this can be used to get results for a specific teacher within that evaluation.
Possible values:
organisation, evaluation, teacher, subject
comparisonId
integer
Use in combination with comparisonType
to retrieve results within the sub context.
startDate
string
Uses the format YYYY-MM-DD
endDate
string
Uses the format YYYY-MM-DD
includeChildOrganisations
boolean
By default only results for the organisation present in the accessToken
are retrieved. By setting this to true
, results for child organisations will also be returned if available.
Last updated