Grades

Get grades of students for any section , or get the grades of a single student at a time.

Get the section attempts report for all students for the purpose of exporting data

This endpoint returns all of the experiment attempts in a section without any sorting or grouping .

{Tenant endpoint}/sections/{section_id}/grades

type :

headers
Name required type description
referer YES string The root of the application that is sending the request (your website at jusoorlabs.com)
accept YES string the basic accept header (always send it as application/json)
token YES string The token provided to you once you've registerd with Jusoor Labs API.
parameters
Name required type description
section_id YES integer Id of the section to get it's students grades (send in the url not in the body of the request).

Get the section attempts report for all students or a specific student for the purpose of displaying data.

This endpoint returns all of the experiment attempts in a section with data being grouped by it's owner (student) and much more cleaner response .

{Tenant endpoint}/sections/{section_id}/students/grades

type :

headers
Name required type description
referer YES string The root of the application that is sending the request (your website at jusoorlabs.com)
accept YES string the basic accept header (always send it as application/json)
token YES string The token provided to you once you've registerd with Jusoor Labs API.
parameters
Name required type description
section_id YES integer Id of the section to get it's students grades (send in the url not in the body of the request).
user_id OPTIONAL integer Id of the user to get his grades (send as query parameter).
Response for these requests will be structerd (for the experiments attempts part) as follow .
for section it returns an array of objects but for specific user it return an object which both contains the same data.
Name type description
experiment_id integer Id of the experiment the user has attempted.
user_id integer Id of the user who attempted the experiiment.
experiment_name string name of the experiment which user has attempted.
time string time the user spent attempting the experiment
progress float the user's progress in the attempted experiment
final_step boolean indicates if the user reached the last step in the attempted experiment
quiz_mark float the user's score in the quiz in the attempted experiment
language string the language of the attempted experiment
experiment_type string indicates if the attempted experiment had instructions or not
created_at timestamp inidcates the time the user has attempted the epxeriment
updated_at timestamp inidcates the time the user has attempted the epxeriment
max_steps integer inidcates the number of the attempted epxeriment