POST ./holidays
Add new holiday for a school.
POST parameters
Name | Value Type | Validation | Details |
---|---|---|---|
holName | string, max_length[80] | Required | The holiday name. |
holDate | rfc_date | Required | The day of the holiday. |
Validation
Error Field | Error Code | Error Message |
---|---|---|
holCountryID | 102 | The country does not exist. |
holDate | 103 | The date is invalid. |
holDate | 104 | The date is unavailable. |
Output example
{"holID": "fgI6za"}