Save registration year settings

Updates academic-year dates and title together with the selected registration phase’s dates, early-bird discount, fee types, and ordered steps.

Authentication

AuthorizationBearer

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

Path parameters

year_idintegerRequired>=1
Academic year identifier.

Request

This endpoint expects an object.
registration_phase_idintegerOptional>=1
start_atdateOptional
end_atdateOptional
titlestringOptional
registration_opensdatetimeOptional
registration_closesdatetimeOptional
early_bird_endsdatetimeOptional
early_bird_discountdoubleOptional
early_bird_discount_typeenumOptional
Allowed values:
early_bird_contract_fees_type_idslist of integersOptional
registration_stepslist of stringsOptional

Response

Registration year settings were saved and returned.
statusstringOptional
messagestringOptional
dataobjectOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error