LMS Collaborator knowledge base

Home/Technical requirements/API/API - Quizzing report

API – Quizzing report

Request example:
curl 'https://your-domain.davintoo.com/api/v2/test-report/test/2062?page=1&count=10&filter[testId]=2062&sorting[user_full_name]=asc' -H 'Authorization: Bearer xxxxxx' -H 'Content-Type: application/json;charset=UTF-8'

The request supports filtering by the following fields:

taskId - Task ID
position - Position
city - City
department - Department
tags - tag
task_last_attempt_at - date of the last attempt

An example of a query with a filter by date of the last attempt:
curl 'https://your-domain.davintoo.com/api/v2/test-report/test/2062?page=1&count=10&filter[testId]=2062&filter[task_last_attempt_at]=2022-07-19&sorting[user_full_name]=asc' -H 'Authorization: Bearer xxxxxx' -H 'Content-Type: application/json;charset=UTF-8'


Answer

  • In case of successful request (HTTP response code - 200), the following result will be returned:

data - results array
pager - pagination object (information about the number of pages, the current page, the number of results)

  • In case of error (HTTP response code - 400) it returns JSON object with error information
Still have questions?
Our technical support team is always happy to help!
Write to us at technical support [email protected]. If you are registered on our Helpdesk - send request button below.
Send request