Skip to content

Grading Categories

Grading categories are required for grading. Assignments without categories will be ungraded.

Field Name Description Type
id ID The ID of the grading category. integer
title Title The title of the grading category. string
calculation_type Calculation type 1 corresponds to “Percent”. 2 corresponds to “Total pts”. integer
default_max_points Default max points The default # of points to give to assignments when created. float
default_grading_scale_id Default grading scale id 0 for numeric grading scale, or the id of the grading scale. integer
drop_lowest Drop lowest Number of low scores to drop in the category. Acceptable range: 0–10. integer
weight Weight Category weight. integer
delta Delta List order of the category. integer

GET sections/{section id}/grading_categories

Section titled “GET sections/{section id}/grading_categories”

List grading categories

Return A list of grading categories

{
"grading_category": [
{
"id": 4371,
"title": "DC",
"delta": 0,
"calculation_type": 1,
"default_max_points": 100,
"default_grading_scale_id": 0,
"drop_lowest": 6
},
{
"id": 4369,
"title": "AAA",
"delta": 1,
"calculation_type": 2,
"default_max_points": 100,
"default_grading_scale_id": 0,
"drop_lowest": 0
},
{
"id": 3266,
"title": "HMWK",
"delta": 2,
"calculation_type": 1,
"default_max_points": 100,
"default_grading_scale_id": 0,
"drop_lowest": 4
}
]
}

GET sections/{section id}/grading_categories/{gc id}

Section titled “GET sections/{section id}/grading_categories/{gc id}”

View a specified grading category

Return A grading category

{
"id": 5823,
"title": "Experimental Activities",
"delta": 0,
"realm": "course",
"realm_id": "373214",
"calculation_type": 2,
"default_max_points": 100,
"default_grading_scale_id": 0,
"drop_lowest": 3,
"weight": 100
}

POST sections/{section id}/grading_categories

Section titled “POST sections/{section id}/grading_categories”

Create one or more grading categories in a section

Content An object containing grading category fields

{
"grading_categories": {
"grading_category": [
{
"title": "Experiments",
"weight": 100
},
{
"title": "In-class Work",
"calculation_type": 2,
"drop_lowest": 2
}
]
}
}

Return The created grading categories

{
"grading_category": [
{
"id": "5823",
"response_code": 200,
"title": "Experiments",
"calculation_type": 2,
"default_max_points": 100,
"drop_lowest": 0,
"default_grading_scale": 0,
"weight": 100,
"delta": 0
},
{
"id": "5825",
"response_code": 200,
"title": "In-class Work",
"calculation_type": 2,
"drop_lowest": 2,
"default_max_points": 100,
"default_grading_scale": 0,
"weight": 100,
"delta": 0
}
]
}

PUT sections/{section id}/grading_categories/{gc id}

Section titled “PUT sections/{section id}/grading_categories/{gc id}”

Update a single grading category in a section

Content An object containing grading category fields

{
"title": "Experimental Activities New",
"id": 5823
}

Return The updated grading category

{
"id": "5823",
"title": "Experimental Activities New",
"realm": "course",
"realm_id": "373214",
"uid": "45633",
"calculation_type": "2",
"weight": "100",
"default_max_points": "100",
"delta": "0",
"drop_lowest": "3",
"default_grading_scale": "0"
}

PUT sections/{section id}/grading_categories (bulk)

Section titled “PUT sections/{section id}/grading_categories (bulk)”

Update one or more grading categories in a section

Content An object containing grading category fields

{
"grading_categories": {
"grading_category": [
{
"title": "Experiments",
"id": 5823,
"drop_lowest": 3
},
{
"title": "In-class Work",
"id": 5825,
"calculation_type": 1
}
]
}
}

Return The updated grading categories

{
"grading_category": [
{
"response_code": 204,
"id": "5823",
"title": "Experiments",
"realm": "course",
"realm_id": "373214",
"uid": "45633",
"calculation_type": "2",
"weight": "100",
"default_max_points": "100",
"delta": "0",
"drop_lowest": 3,
"default_grading_scale": "0"
},
{
"response_code": 204,
"id": "5825",
"title": "In-class Work",
"realm": "course",
"realm_id": "373214",
"uid": "45633",
"calculation_type": 1,
"weight": "100",
"default_max_points": "100",
"delta": "0",
"drop_lowest": "2",
"default_grading_scale": "0"
}
]
}

DELETE sections/{section id}/grading_categories/{gc id}

Section titled “DELETE sections/{section id}/grading_categories/{gc id}”

Delete a grading category (cannot be undone).