Coursework

This group refers to entities tied to student learning delivery or feedback, such as Tasks and Grades.

Get all Grades for a Class during an Academic Term

get
/v2p0/classes/{class_id}/assessments/term/{term_id}/grades

This endpoint retrieves all gradebook grades belonging to a class for a term, as specified by term ID and class ID. Returned fields for each task can include:

  • group_mark

    The percentage achieved on the task is converted using the grade scale set for the program, and the result is returned as group_mark.

  • score

    The number of points a student achieved on the task.

  • max_points

    The available number of points for the task.

  • dropbox_status

    Dropbox upload status of student submission on task. Property is present if "Dropbox Coursework Submission" is configured for task.

Authorizations
auth_tokenstringRequired

Your V2 API authentication token may be passed in the parameters. To protect your key, use environment variables.

Path parameters
class_idintegerRequired

Unique identifier for class.

term_idintegerRequired

Unique identifier for term.

Query parameters
include_archived_studentsbooleanOptional

Include archived students in the response.

Responses
200

Success

application/json
get
/v2p0/classes/{class_id}/assessments/term/{term_id}/grades
200

Success

Get Term Grades for a Class

get
/v2p0/classes/{class_id}/assessments/term/{term_id}/term-grades

This endpoint retrieves all term grades for a class, as specified by term ID and class ID.

Authorizations
auth_tokenstringRequired

Your V2 API authentication token may be passed in the parameters. To protect your key, use environment variables.

Path parameters
class_idintegerRequired

Unique identifier for class.

term_idintegerRequired

Unique identifier for term.

Query parameters
student_idsinteger[]Optional

An integer list of student ids to filter by.

student_ids[]integer[]Optional

An integer list of student ids to filter by.

include_archived_studentsbooleanOptional

Include archived students in the response.

unenrolled_onlybooleanOptional

A flag that indicates the response should only include records associated to students who are not currently enrolled in the given class.

Responses
200

Success

application/json
get
/v2p0/classes/{class_id}/assessments/term/{term_id}/term-grades
200

Success

Get Criteria for a Class

get
/v2p0/classes/{id}/criteria

This endpoint retrieves all criteria belonging to the class as specified by ID.

Authorizations
auth_tokenstringRequired

Your V2 API authentication token may be passed in the parameters. To protect your key, use environment variables.

Path parameters
idintegerRequired

Unique identifier for class.

Responses
200

Success

application/json
get
/v2p0/classes/{id}/criteria
200

Success

Get Task Categories for Class

get
/v2p0/classes/{id}/task_categories

This endpoint retrieves task categories for a class specified by class ID.

Authorizations
auth_tokenstringRequired

Your V2 API authentication token may be passed in the parameters. To protect your key, use environment variables.

Path parameters
idintegerRequired

Unique identifier for class.

Responses
200

Success

application/json
get
/v2p0/classes/{id}/task_categories
200

Success

Get Tasks for a Class

get
/v2p0/classes/{id}/tasks

This endpoint retrieves all tasks belonging to the class as specified by ID. If term ID is not specified, all tasks that the term class covers will be returned.

Authorizations
auth_tokenstringRequired

Your V2 API authentication token may be passed in the parameters. To protect your key, use environment variables.

Path parameters
idintegerRequired

Unique identifier for class.

Query parameters
term_idstringOptional

Unique identifier for term.

Responses
200

Success

application/json
get
/v2p0/classes/{id}/tasks
200

Success

Get a Task for a Class

get
/v2p0/classes/{class_id}/tasks/{id}

This endpoint retrieves a task as specified by task ID and class ID.

Authorizations
auth_tokenstringRequired

Your V2 API authentication token may be passed in the parameters. To protect your key, use environment variables.

Path parameters
idintegerRequired

Unique identifier for task.

class_idintegerRequired

Unique identifier for class.

Responses
200

Success

application/json
get
/v2p0/classes/{class_id}/tasks/{id}
200

Success

Get Student Assessment Results for a Task and Class

get
/v2p0/classes/{class_id}/tasks/{id}/students

This endpoint retrieves all assessment result scores belonging to a class as specified by ID. If term ID is not specified, all assessed tasks that the term class covers will be returned.

Optional properties:

Assessments:

  • dropbox_status - Student Dropbox Submission status for a task if enabled

Authorizations
auth_tokenstringRequired

Your V2 API authentication token may be passed in the parameters. To protect your key, use environment variables.

Path parameters
idintegerRequired

Unique identifier for task.

class_idintegerRequired

Unique identifier for class.

Responses
200

Success

application/json
get
/v2p0/classes/{class_id}/tasks/{id}/students
200

Success

Update or Create a Grade for a Student for a Task

patch
/v2p0/tasks/{task_id}/students/{student_id}

Creates or updates a grade for a specific student on a given task. If a grade already exists, it will be updated; otherwise, a new grade will be created.

The Content-Type header must be set to application/json, and the request body should contain the fields you want to update as a JSON payload.

For MYP, only integers are allowed (e.g., '1', 1). For non-MYP programs, floats are allowed (e.g., '1.22', 1.22), and if more than two decimal places are provided, the value will be automatically rounded (e.g., 1.448 → 1.45).

Authorizations
auth_tokenstringRequired

Your V2 API authentication token may be passed in the parameters. To protect your key, use environment variables.

Path parameters
task_idintegerRequired

Unique identifier for a task.

student_idintegerRequired

Unique identifier for a student.

Body
task_gradeone ofOptional
or
Responses
200

Success

application/json
Responseany of
or
patch
/v2p0/tasks/{task_id}/students/{student_id}

Bulk Delete Grades for Students for a Task

delete
/v2p0/tasks/{task_id}/students

Destroys a grade for a specific student on a given task. There is no undo. Applies to all Students if no student_ids are provided.

Authorizations
auth_tokenstringRequired

Your V2 API authentication token may be passed in the parameters. To protect your key, use environment variables.

Path parameters
task_idintegerRequired

Unique identifier for a task.

Body
student_idsinteger[]Optional

List of student IDs whose grades and submissions will be reset

Responses
200

Success

application/json
delete
/v2p0/tasks/{task_id}/students
200

Success

Bulk Update or Create Grades for Students for a Task

patch
/v2p0/tasks/{task_id}/students

Creates or updates a grade for many students on a given task. If a grade already exists, it will be updated; otherwise, a new grade will be created.

The Content-Type header must be set to application/json, and the request body should contain the fields you want to update as a JSON payload.

For MYP, only integers are allowed (e.g., '1', 1). For non-MYP programs, floats are allowed (e.g., '1.22', 1.22), and if more than two decimal places are provided, the value will be automatically rounded (e.g., 1.448 → 1.45).

Authorizations
auth_tokenstringRequired

Your V2 API authentication token may be passed in the parameters. To protect your key, use environment variables.

Path parameters
task_idintegerRequired

Unique identifier for a task.

Body
Responses
200

Success

application/json
patch
/v2p0/tasks/{task_id}/students

Last updated

Was this helpful?