Schools
It is used get information about a school.
Endpoints
| Type | URI | Description |
|---|---|---|
| GET | ./scoli | It is used to get general information about a school. |
| GET | ./scoli/public | Returns the first 20 public schools, filtered by a parameter. |
| GET | ./scoli/detalii | It is used to return the details about a school. |
| GET | ./scoli/config | Returns the configuration of a school. |
| GET | ./scoli/abonamente | It is used to return the subscriptions of a school. |
| POST | ./scoli/enrollment | First step of the enrollment process. Should send a validation email. |
| POST | ./scoli/enrollment_confirm | Confirmation of the enrollment proceess. Should create the school and send welcome emails. |
| GET | ./scoli/grup_tari | Returns the countries on which schools are associated. |
| GET | ./scoli/grup_judete | Returns the counties from a country on which schools are associated. |
| GET | ./scoli/grup_orase | Returns the counties from a country on which schools are associated. |
| PUT | ./scoli/{id} | It is used to update school info. |
