POST api/v1/schedule/holidays
Create a new HolidayMode
Request Information
URI Parameters
None.
Body Parameters
HolidayModel| Name | Description | Type | Additional information |
|---|---|---|---|
| HolidayID | integer |
Required |
|
| Name | string |
Required String length: inclusive between 0 and 50 |
|
| Month | integer |
Required |
|
| StartDay | integer |
Required |
|
| EndDay | integer |
None. |
|
| IsFixedDay | boolean |
Required |
|
| DayOfWeekId | integer |
None. |
|
| Country | string |
Required String length: inclusive between 0 and 50 |
|
| DateChangedUtc | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"HolidayID": 1,
"Name": "sample string 2",
"Month": 3,
"StartDay": 4,
"EndDay": 1,
"IsFixedDay": true,
"DayOfWeekId": 1,
"Country": "sample string 6",
"DateChangedUtc": "2026-01-02T09:43:52.571975-06:00"
}
Response Information
Resource Description
HolidayModel| Name | Description | Type | Additional information |
|---|---|---|---|
| HolidayID | integer |
Required |
|
| Name | string |
Required String length: inclusive between 0 and 50 |
|
| Month | integer |
Required |
|
| StartDay | integer |
Required |
|
| EndDay | integer |
None. |
|
| IsFixedDay | boolean |
Required |
|
| DayOfWeekId | integer |
None. |
|
| Country | string |
Required String length: inclusive between 0 and 50 |
|
| DateChangedUtc | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"HolidayID": 1,
"Name": "sample string 2",
"Month": 3,
"StartDay": 4,
"EndDay": 1,
"IsFixedDay": true,
"DayOfWeekId": 1,
"Country": "sample string 6",
"DateChangedUtc": "2026-01-02T09:43:52.571975-06:00"
}