Skip to content

Grading Groups

Grading groups are groups of students within a course that can be assigned specific content.

Field Name Description Type
id ID The ID of the grading group. integer
title* Title The title of the grading group. string
section_id Section ID The Schoology section id that the grading group is in. integer
members Members An array of enrollment ids part of the grading group. array of integers

* = Required

List grading groups

Return A list of grading group objects

{
"grading_groups": [
{
"id": 971,
"title": "Grading Group 1",
"section_id": 8112663,
"members": [58002983, 58002995, 58003003]
},
{
"id": 973,
"title": "Grading Group 2",
"section_id": 8112663,
"members": [58003019, 58003015, 58003011]
},
{
"id": 975,
"title": "test",
"section_id": 8112663,
"members": []
}
],
"count": 3,
"links": {
"self": "http:\/\/api.ahandler.dev.schoologize.com\/v1\/sections\/8112663\/grading_groups"
}
}

GET sections/{section id}/grading_groups/{gg id}

Section titled “GET sections/{section id}/grading_groups/{gg id}”

View a specified grading group

Return A grading group

{
"id": 971,
"title": "Grading Group 1",
"section_id": 8112663,
"members": [58002983, 58002995, 58003003]
}

POST sections/{section id}/grading_groups (bulk)

Section titled “POST sections/{section id}/grading_groups (bulk)”

Create one or more grading groups in a section

Content An object containing grading group fields

{
"grading_groups": {
"grading_group": [
{
"title": "GG1",
"members": [58002983, 58002995, 58003019, 58003015]
},
{
"title": "GG2"
}
]
}
}

Return A list of created grading group objects (one per submitted grading_group)

{
"grading_group": [
{
"id": 995,
"title": "GG2",
"section_id": 8112663,
"response_code": 200,
"members": [58002983, 58002995, 58003019, 58003015]
},
{
"id": 995,
"title": "GG2",
"section_id": 8112663,
"response_code": 200,
"members": []
}
]
}

PUT sections/{section id}/grading_groups/{gg id}

Section titled “PUT sections/{section id}/grading_groups/{gg id}”

Update a single grading group in a section

Content An object containing grading group fields

{
"id": 993,
"title": "GG6",
"members": [58003035]
}

Return A grading group

{
"id": 993,
"title": "GG6",
"section_id": 8112663,
"members": [58003035]
}

DELETE sections/{section id}/grading_groups/{gg id}

Section titled “DELETE sections/{section id}/grading_groups/{gg id}”

Delete a grading group (cannot be undone).