Required role: | REGISUserRole |
POST | /Sections/Admin/{reporting_term}/Create |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
course_id | body | int? | No | |
course_name | body | string | No | |
min_credits | body | decimal? | No | |
max_credits | body | decimal? | No | |
credit_increments | body | decimal? | No | |
min_audits | body | decimal? | No | |
max_audits | body | decimal? | No | |
audit_increments | body | decimal? | No | |
section_code | body | string | No | |
title | body | string | No | |
pretty_title | body | string | No | |
override_course_description | body | string | No | |
current_status | body | string | No | |
location | body | string | No | |
room | body | string | No | |
is_audio | body | bool | No | |
is_oncampus | body | bool | No | |
distance_ed_materials | body | string | No | |
start_date | body | DateTime? | No | |
end_date | body | DateTime? | No | |
first_meeting_date | body | DateTime? | No | |
last_meeting_date | body | DateTime? | No | |
start_times | body | string | No | |
end_times | body | string | No | |
meeting_days | body | string | No | |
is_pass_fail | body | bool | No | |
is_waitlist | body | bool | No | |
has_special_requirements | body | bool | No | |
special_requirements | body | string | No | |
is_unlisted | body | bool | No | |
capacity | body | int? | No | |
flat_fee_amount | body | decimal? | No | |
additional_fee_amount | body | decimal? | No | |
override_registration_start_date | body | DateTime? | No | |
override_registration_end_date | body | DateTime? | No | |
override_add_start_date | body | DateTime? | No | |
override_add_end_date | body | DateTime? | No | |
override_drop_start_date | body | DateTime? | No | |
override_drop_end_date | body | DateTime? | No | |
override_grading_end_date | body | DateTime? | No | |
term | body | string | No | |
reporting_term | path | string | No | |
authorizing_uuid | body | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
secUUID | form | string | No | |
course_name | form | string | No | |
section_code | form | string | No | |
course_title | form | string | No | |
course_short_title | form | string | No | |
course_description | form | string | No | |
crosslist_description | form | string | No | |
crosslist_course_name | form | string | No | |
location_long_name | form | string | No | |
room | form | string | No | |
instructors | form | List<InstructorResponse> | No | |
required_documents | form | List<DocumentResponse> | No | |
start_date | form | DateTime? | No | |
end_date | form | DateTime? | No | |
first_meeting_date | form | DateTime? | No | |
last_meeting_date | form | DateTime? | No | |
meeting_days | form | string | No | |
start_times | form | List<string> | No | |
end_times | form | List<string> | No | |
is_online_only | form | bool | No | |
is_weekend | form | bool | No | |
is_weekday | form | bool | No | |
is_evening | form | bool | No | |
is_waitlist | form | bool | No | |
has_special_requirements | form | bool | No | |
special_requirements | form | string | No | |
is_unlisted | form | bool | No | |
credit_amounts | form | List<decimal> | No | |
audit_amounts | form | List<decimal> | No | |
audits_short_name | form | string | No | |
audits_long_name | form | string | No | |
credits_short_name | form | string | No | |
credits_long_name | form | string | No | |
distance_ed_materials | form | string | No | |
prerequisites | form | string | No | |
corequisites | form | string | No | |
capacity | form | int? | No | |
flat_fee_amount | form | decimal? | No | |
additional_fee_amount | form | decimal? | No | |
registered_students | form | int | No | |
three_credit_plus | form | int | No | |
two_credit | form | int | No | |
one_credit | form | int | No | |
three_audit_plus | form | int | No | |
two_audit | form | int | No | |
one_audit | form | int | No | |
crosslist_registered_students | form | int | No | |
grades_received | form | int | No | |
crosslist_grades_received | form | int | No | |
registration_start_date | form | DateTime? | No | |
registration_end_date | form | DateTime? | No | |
add_start_date | form | DateTime? | No | |
add_end_date | form | DateTime? | No | |
drop_start_date | form | DateTime? | No | |
drop_end_date | form | DateTime? | No | |
grading_end_date | form | DateTime? | No | |
term | form | string | No | |
reporting_term | form | string | No | |
reporting_year | form | int | No | |
current_status | form | string | No | |
added_by | form | string | No | |
added_date | form | DateTime? | No | |
changed_by | form | string | No | |
changed_date | form | DateTime? | No | |
timestamp | form | DateTime | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
regent_id | form | int | No | |
regent_login | form | string | No | |
preferred_name | form | string | No | |
first_name | form | string | No | |
last_name | form | string | No | |
full_name | form | string | No | |
form | string | No | ||
image_base64 | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
code | form | string | No | |
document_name | form | string | No | |
document_description | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Sections/Admin/{reporting_term}/Create HTTP/1.1
Host: data.regent-college.edu
Accept: application/json
Content-Type: application/json
Content-Length: length
{"course_id":0,"course_name":"String","min_credits":0,"max_credits":0,"credit_increments":0,"min_audits":0,"max_audits":0,"audit_increments":0,"section_code":"String","title":"String","pretty_title":"String","override_course_description":"String","current_status":"String","location":"String","room":"String","is_audio":false,"is_oncampus":false,"distance_ed_materials":"String","start_date":"0001-01-01T00:00:00.0000000","end_date":"0001-01-01T00:00:00.0000000","first_meeting_date":"0001-01-01T00:00:00.0000000","last_meeting_date":"0001-01-01T00:00:00.0000000","start_times":"String","end_times":"String","meeting_days":"String","is_pass_fail":false,"is_waitlist":false,"has_special_requirements":false,"special_requirements":"String","is_unlisted":false,"capacity":0,"flat_fee_amount":0,"additional_fee_amount":0,"override_registration_start_date":"0001-01-01T00:00:00.0000000","override_registration_end_date":"0001-01-01T00:00:00.0000000","override_add_start_date":"0001-01-01T00:00:00.0000000","override_add_end_date":"0001-01-01T00:00:00.0000000","override_drop_start_date":"0001-01-01T00:00:00.0000000","override_drop_end_date":"0001-01-01T00:00:00.0000000","override_grading_end_date":"0001-01-01T00:00:00.0000000","term":"String","reporting_term":"String","authorizing_uuid":"String"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"secUUID":"String","course_name":"String","section_code":"String","course_title":"String","course_short_title":"String","course_description":"String","crosslist_description":"String","crosslist_course_name":"String","location_long_name":"String","room":"String","instructors":[{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"regent_id":0,"regent_login":"String","preferred_name":"String","first_name":"String","last_name":"String","full_name":"String","email":"String","image_base64":"String"}],"required_documents":[{"code":"String","document_name":"String","document_description":"String"}],"start_date":"0001-01-01T00:00:00.0000000","end_date":"0001-01-01T00:00:00.0000000","first_meeting_date":"0001-01-01T00:00:00.0000000","last_meeting_date":"0001-01-01T00:00:00.0000000","meeting_days":"String","start_times":["String"],"end_times":["String"],"is_online_only":false,"is_weekend":false,"is_weekday":false,"is_evening":false,"is_waitlist":false,"has_special_requirements":false,"special_requirements":"String","is_unlisted":false,"credit_amounts":[0],"audit_amounts":[0],"audits_short_name":"String","audits_long_name":"String","credits_short_name":"String","credits_long_name":"String","distance_ed_materials":"String","prerequisites":"String","corequisites":"String","capacity":0,"flat_fee_amount":0,"additional_fee_amount":0,"registered_students":0,"three_credit_plus":0,"two_credit":0,"one_credit":0,"three_audit_plus":0,"two_audit":0,"one_audit":0,"crosslist_registered_students":0,"grades_received":0,"crosslist_grades_received":0,"registration_start_date":"0001-01-01T00:00:00.0000000","registration_end_date":"0001-01-01T00:00:00.0000000","add_start_date":"0001-01-01T00:00:00.0000000","add_end_date":"0001-01-01T00:00:00.0000000","drop_start_date":"0001-01-01T00:00:00.0000000","drop_end_date":"0001-01-01T00:00:00.0000000","grading_end_date":"0001-01-01T00:00:00.0000000","term":"String","reporting_term":"String","reporting_year":0,"current_status":"String","added_by":"String","added_date":"0001-01-01T00:00:00.0000000","changed_by":"String","changed_date":"0001-01-01T00:00:00.0000000","timestamp":"0001-01-01T00:00:00.0000000"}