-
Notifications
You must be signed in to change notification settings - Fork 1
Courses
Antonius Cezar Hegyes edited this page Jan 13, 2015
·
11 revisions
The following URL structure exists for this controller:
api/Courses/{action}/{courseId : optional}
The following calls are currently available for the Courses controller:
- Description: Retrieves a list of all available courses.
- Response Format: JSON of IEnumerable<CourseModel>
- Parameters: None
- Permissions: None
- Description: Retrieves the details of a particular course.
- Response Format: JSON of CourseModel
- Parameters: {courseId} of type int
- Permissions: None
- Description: Add a new course.
- Response Format: JSON of the added CourseModel
- Parameters: {course} of type CourseModel (JSON in the body of the message)
- Permissions: CanCreateCourse
- Description: Update an existing course.
- Response Format: JSON of the updated CourseModel
- Parameters: {courseId} of type int and {course} of type CourseModel (JSON in the body of the message)
- Permissions: CanUpdateCourse
- Description: Delete an existing course.
- Response Format: HttpStatusCode
- Parameters: {courseId} of type int
- Permissions: CanDeleteCourse