create_course: Create course

Description Usage Arguments Value

View source: R/simple_functions.R

Description

Create a new course

Usage

1
2
3
4
5
6
7
create_course(
  account_id,
  course_name,
  course_code,
  restrict_enrollments_to_course_dates = TRUE,
  term_id
)

Arguments

account_id

the id of the account in which you want to create the course

course_name

the name of the new (string)

course_code

the course code/reference code for the course (string)

restrict_enrollments_to_course_dates

set to true to restrict user enrollments to the start and end dates of the course

term_id

the ID of the term to create the course in (integer)

Value

server response. Either 200 status code if everything went correctly or a specific http status warning.


ICTO-FMG/uvacanvas documentation built on Jan. 24, 2022, 5:16 a.m.