Evalytics
  • Evalytics api
  • Algemeen
    • Overzicht
    • Authenticatie
    • Foutmeldingen
    • Algemene query parameters
    • Paginering
    • Metadata
  • Onderdelen
    • Faculteiten/opleidingen
    • Concept gebruikers
    • Gebruikers
    • Docenten
    • Cursussen
    • Generic topics
    • Groepen
    • Evaluation calendar
    • Evaluation
    • Topic types
    • Vragensets
    • Results
    • Periodic export
    • Automatic report generation
  • API Changelog
Powered by GitBook
On this page
  • Averages
  • Average history
  • List
  • Questions
  • Question
  1. Onderdelen

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

Name
Type
Description

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.

{
  "name": string,
  "averages": [
    {
      "type": string,
      "average": number
    }
  ]
}

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

Name
Type
Description

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.

[
  {
    "type": string,
    "history": [
      {
        "average": number,
        "quarter": integer,
        "year": integer
      }
    ]
  }
]

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

Name
Type
Description

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

{
  "metadata": {
    "resultSet": {
      "count": integer,
      "limit": integer,
      "skip": integer
    }
  },
  "results": [
    {
      "id": integer,
      "name": string,
      "code": string,
      "evaluations": integer,
      "totalAverage": number,
      "teacherPersonalAverage": number,
      "examAverage": number,
      "teacherAverage": number,
      "subjectAverage": number,
      "response": integer,
      "expectedResponse": integer
    }
  ]
}

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

Name
Type
Description

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

{
  "questionGroups": [
    {
      "name": string,
      "questions": [
        {
          "typeId": integer,
          "hash": string,
          "code": string
          "type": integer,
          "topicType": integer,
          "questionType": integer,
          "isIncludedInAverage": boolean,
          "response": integer,
          "scale": {
            "name": string,
            "scale": object,
            "input": string
          },
          "question": string,
          "average": number,
          "deviation": number
        }
      ]
    }
  ],
  "hasLabels": boolean
}

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

Name
Type
Description

hash

string

The question's hash

Query Parameters

Name
Type
Description

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.

{
  "typeId": integer,
  "hash": string,
  "code": string,
  "type": integer,
  "topicType": integer,
  "response": integer,
  "scale": {
    "name": string,
    "scale": object,
    "input": string
  },
  "question": string,
  "scoreDistribution": object,
  "average": number,
  "deviation": number,
  "averageIndex": integer,
  "explanations": array
}
PreviousVragensetsNextPeriodic export

Last updated 2 years ago