-
Notifications
You must be signed in to change notification settings - Fork 1
Grade Components
Antonius Cezar Hegyes edited this page Jan 13, 2015
·
9 revisions
The following URL structure exists for this controller:
api/Courses/{courseId}/GradeComponents/{action}/{gradeComponentId : optional}
The following calls are currently available for the GradeComponents controller:
- Description: Retrieves a list of all existing grade components.
- Response Format: JSON of IEnumerable<GradeComponentModel>
- Parameters: None
- Permissions: CanSeeAllGradedParts
- Description: Retrieves a list of all existing grade components of a certain course.
- Response Format: JSON of IEnumerable<GradeComponentModel>
- Parameters: {courseId} of type int
- Permissions: CanSeeGradedParts
- Description: Retrieves the details of a particular Grade Component belonging to a certain course.
- Response Format: JSON of GradeComponentModel
- Parameters: {courseId} of type int and {gradeComponentId} of type int
- Permissions: CanSeeGradedParts
- Description: Add a new Grade Component.
- Response Format: JSON of the added GradeComponentModel
- Parameters: {courseId} of type int and {gradeComponent} of type GradeComponentModel (JSON in the body of the message)
- Permissions: CanCreateGradedPart
- Description: Update an existing Grade Component.
- Response Format: JSON of the updated GradeComponentModel
- Parameters: {courseId} of type int and {gradeComponentId} of type int and {gradeComponent} of type GradeComponentModel (JSON in the body of the message)
- Permissions: CanUpdateGradedPart
- Description: Delete an existing Grade Component.
- Response Format: HttpStatusCode
- Parameters: {courseId} of type int and {gradeComponentId} of type int
- Permissions: CanDeleteGradedPart