POST api/holidaycalendar/add
Request Information
URI Parameters
None.
Body Parameters
HolidayCalendarAddRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| FK_InstituteID | integer |
None. |
|
| FK_FinancialYearID | integer |
None. |
|
| HolidayName | string |
None. |
|
| HolidayFromDate | date |
None. |
|
| HolidayToDate | date |
None. |
|
| FK_HolidayTypeID | integer |
None. |
|
| FK_HolidayAppliesTo | integer |
None. |
|
| HolidayRemark | string |
None. |
|
| HolidayMessage | string |
None. |
|
| IsActive | boolean |
None. |
|
| ActionBy | integer |
None. |
|
| ActionDate | date |
None. |
|
| CourseSections | Collection of CourseSectionItem |
None. |
Request Formats
application/json, text/json
Sample:
{
"fK_InstituteID": 1,
"fK_FinancialYearID": 2,
"holidayName": "sample string 3",
"holidayFromDate": "2026-06-18 02:18:31",
"holidayToDate": "2026-06-18 02:18:31",
"fK_HolidayTypeID": 6,
"fK_HolidayAppliesTo": 7,
"holidayRemark": "sample string 8",
"holidayMessage": "sample string 9",
"isActive": true,
"actionBy": 11,
"actionDate": "2026-06-18 02:18:31",
"courseSections": [
{
"fK_CourseSectionID": 1
},
{
"fK_CourseSectionID": 1
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.