POST ./holidays/global
Add new holiday globaly.
POST parameters
Name | Value Type | Validation | Details |
---|---|---|---|
holName | string, max_length[80] | Required | The holiday name. |
holCountryID | int | Required | The country ID. |
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": "MEI6za"}