v1

latestSwagger 2.0BSD License2026-08-04346147268.3 KB
api

Many trainings are created as there are curriculums for type of course.

post/api/companies/{id}/trainings

Request body

curriculumstring

UUID of Curriculum you want to create Training from. Must be editable (is_editable=True)

created_bystring

UUID of admin employee that's creating a company Training

start_datestring

Start date of company Training

end_datestring

End date of company Training

renew_datestring

Renew date of company Training

renew_cyclestring

At what interval will company Training be renews. Can be one of the following values: 'none', 'quarterly', 'semi-annual', 'annual'.

Response

OK

idstring uuid
companystring uuid
curriculumstring required
annualboolean
start_datestring date-time nullable
end_datestring date-time nullable
renew_datestring date required
renew_cycle'none' | 'quarterly' | 'semi-annual' | 'annual'
days_till_duenumber nullable
activeboolean
created_bystring uuid nullable
creator_slack_uidstring
total_employeesstring
employees_finished_countstring
createdstring date-time
auto_enrollboolean
obey_assignment_datesboolean
passing_gradeinteger
curriculum_titlestring
curriculum_typestring uuid
channelsstring[]
show_correctness_indicator_on_resultsboolean