Enrollments
A Grade object looks like:
{
// The URL to the Canvas web UI page for the user's grades, if this is a student
// enrollment.
"html_url": "",
// The user's current grade in the class. Only included if user has permissions
// to view this grade.
"current_grade": "",
// The user's final grade for the class. Only included if user has permissions
// to view this grade.
"final_grade": "",
// The user's current score in the class. Only included if user has permissions
// to view this score.
"current_score": "",
// The user's final score for the class. Only included if user has permissions
// to view this score.
"final_score": "",
// The total points the user has earned in the class. Only included if user has
// permissions to view this score and 'current_points' is passed in the
// request's 'include' parameter.
"current_points": 150,
// The user's current grade in the class including muted/unposted assignments.
// Only included if user has permissions to view this grade, typically teachers,
// TAs, and admins.
"unposted_current_grade": "",
// The user's final grade for the class including muted/unposted assignments.
// Only included if user has permissions to view this grade, typically teachers,
// TAs, and admins..
"unposted_final_grade": "",
// The user's current score in the class including muted/unposted assignments.
// Only included if user has permissions to view this score, typically teachers,
// TAs, and admins..
"unposted_current_score": "",
// The user's final score for the class including muted/unposted assignments.
// Only included if user has permissions to view this score, typically teachers,
// TAs, and admins..
"unposted_final_score": "",
// The total points the user has earned in the class, including muted/unposted
// assignments. Only included if user has permissions to view this score
// (typically teachers, TAs, and admins) and 'current_points' is passed in the
// request's 'include' parameter.
"unposted_current_points": 150
}An Enrollment object looks like:
GET /api/v1/courses/:course_id/enrollments
GET /api/v1/courses/:course_id/enrollmentsGET /api/v1/sections/:section_id/enrollments
GET /api/v1/sections/:section_id/enrollmentsGET /api/v1/users/:user_id/enrollments
GET /api/v1/users/:user_id/enrollmentsRequest Parameters:
Parameter
Type
Description
GET /api/v1/accounts/:account_id/enrollments/:id
GET /api/v1/accounts/:account_id/enrollments/:idRequest Parameters:
Parameter
Type
Description
POST /api/v1/courses/:course_id/enrollments
POST /api/v1/courses/:course_id/enrollmentsPOST /api/v1/sections/:section_id/enrollments
POST /api/v1/sections/:section_id/enrollmentsRequest Parameters:
Parameter
Type
Description
Example Request:
POST /api/v1/accounts/:account_id/bulk_enrollment
POST /api/v1/accounts/:account_id/bulk_enrollmentRequest Parameters:
Parameter
Type
Description
Example Request:
DELETE /api/v1/courses/:course_id/enrollments/:id
DELETE /api/v1/courses/:course_id/enrollments/:idRequest Parameters:
Parameter
Type
Description
Example Request:
POST /api/v1/courses/:course_id/enrollments/:id/accept
POST /api/v1/courses/:course_id/enrollments/:id/acceptExample Request:
Example Response:
POST /api/v1/courses/:course_id/enrollments/:id/reject
POST /api/v1/courses/:course_id/enrollments/:id/rejectExample Request:
Example Response:
PUT /api/v1/courses/:course_id/enrollments/:id/reactivate
PUT /api/v1/courses/:course_id/enrollments/:id/reactivateExample Request:
PUT /api/v1/courses/:course_id/users/:user_id/last_attended
PUT /api/v1/courses/:course_id/users/:user_id/last_attendedRequest Parameters:
Parameter
Type
Description
Example Request:
GET /api/v1/users/:user_id/temporary_enrollment_status
GET /api/v1/users/:user_id/temporary_enrollment_statusRequest Parameters:
Parameter
Type
Description
Example Response:
GET /api/v1/temporary_enrollment_status
GET /api/v1/temporary_enrollment_statusRequest Parameters:
Parameter
Type
Description
Example Response:
Last updated
Was this helpful?