![]() | AcademicServiceInsertCourseRequest Method |
Namespace: (Default Namespace)
public Result InsertCourseRequest( CourseRequest request, string authKey )
Exception | Condition |
---|---|
ApplicationException | Invalid authorization key |
An error will occur if the given student is already requesting the Course ID or a pending request for the Course ID has already been entered.
The new course request record will be placed in a pending status until reviewed and approved.
The following properties in the Course Request object are required:
Property | Notes |
---|---|
SchoolID | Required
Student must be in this school/division in the upcoming academic year. |
StudentID | Required |
CourseID | Required
Must be a valid Course ID for the next academic year. |
CourseIDAlt1 | Optional
Must be a valid Course ID for the next academic year. |
CourseIDAlt2 | Optional
Must be a valid Course ID for the next academic year. |
RequestPriority | Optional
Valid values are 0..99, inclusive. |
RequestedTerms | Optional
Within the Term object, only the Term.TermID property needs to be set. If no Terms are set, "all terms" is the default. |
The authorization key provided must be linked to an administrator role.