Create a registration phase

Creates a named registration phase with optional enrollment windows, discounts, ordering, and structure scopes.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Request

This endpoint expects an object.
academic_year_idintegerRequired>=1
namestringRequired<=255 characters
registration_opensdatetime or nullOptional
registration_closesdatetime or nullOptional
registration_activebooleanOptional
early_bird_endsdatetime or nullOptional
early_bird_discountdouble or nullOptional
early_bird_discount_typeenum or nullOptional
Allowed values:
early_bird_contract_fees_type_idslist of integersOptional
full_payment_discountdouble or nullOptional
full_payment_discount_typeenum or nullOptional
Allowed values:
full_payment_contract_fees_type_idslist of integersOptional
sort_orderintegerOptional>=0
scopeslist of objectsOptional

Response

Registration phase created
statusstringOptional
messagestringOptional
datamap from strings to anyOptional

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error