catalogProgramsCreate method
POST Add or update a program. Params: course_list: Array of dict with course_id keys {'course_id': 'course-v1:A+B+C'} # update: Whether this is strictly a create (if true, then will update or create)
Implementation
Future<void> catalogProgramsCreate() async {
final response = await catalogProgramsCreateWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}