POST api/PublicHoliday
Request Information
URI Parameters
None.
Body Parameters
PublicHolidayParam| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| IsRepeatYearly | boolean |
None. |
|
| Date | string |
None. |
|
| YearItems | Collection of YearItemParam |
None. |
|
| UserId | integer |
None. |
|
| Years | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"IsRepeatYearly": true,
"Date": "sample string 3",
"YearItems": [
{
"Year": 1,
"Date": "2025-12-17T15:12:38.4090552+00:00"
},
{
"Year": 1,
"Date": "2025-12-17T15:12:38.4090552+00:00"
}
],
"UserId": 4,
"Years": [
"sample string 1",
"sample string 2"
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.