POST ./scoli/enrollment

First step of the enrollment process. Should send a validation email.

POST parameters

NameValue TypeValidationDetails
schoolNamestringRequiredSchool name.
schoolCountryIDintRequiredCountry ID
schoolCountyIDintRequiredCounty ID
schoolCityIDintRequiredCity ID
schoolCityNamestringOptionalCity name
schoolAddressstringRequiredAddress.
firstNamestringRequiredScholl administrator first name.
lastNamestringRequiredScholl administrator last name.
phonestringRequired; valid_phoneScholl administrator phone number.
passwordstringRequiredPassword; min_length[5]
confirmPasswordstringRequiredPassword confirmation; Should match with password ; min_length[5]
emailstringRequired; valid_emailScholl administrator email address.
consent_ownerintRequired,values[1]
consent_tosintRequired,values[1]The comment.
recaptchastringRequiredGoogle's recpatcha.

Validation

Error FieldError CodeError Message
recaptcha101Invalid recpatcha.
schoolCountryID102The country does not exist.
phone27The field must contain a valid phone number. (+4012345789)
password7The field must be at least %% characters in length.
confirmPassword7The field must be at least %% characters in length.
email3The field must contain a valid email address.
consent_owner26The field must contain a one of the following values: %%.
consent_tos26The field must contain a one of the following values: %%.

Output example

{
"result": true
}