POST ./holidays/global

Add new holiday globaly.

POST parameters

NameValue TypeValidationDetails
holNamestring, max_length[80]RequiredThe holiday name.
holCountryIDintRequiredThe country ID.
holDaterfc_dateRequiredThe day of the holiday.

Validation

Error FieldError CodeError Message
holCountryID102The country does not exist.
holDate103The date is invalid.
holDate104The date is unavailable.

Output example

{
"holID": "MEI6za"
}