db_admin_create_course()
Parameters
- Token(character varying)
- CourseNumber(character varying)
- CourseName(character varying)
- SetupKey(character varying)
- StartDate(date)
- EndDate(date)
Returns
- Success or Error
Description
- Creates a new course.
Errors
- 1 - Invalid Session.
- 2 - User must be admin to add a course.
- 3 - EndDate cannot be less than start date.
- 3 - Duplicate Setup Key. A specific key can only be used for one course.