POST api/HolidayDetails/CreateHoliday
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
HolidayModel | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "hld_id": 1, "cal_year": 2, "hld_code": "sample string 3", "hol_name": "sample string 4", "hld_day": "2024-12-27T06:24:46.4041574+05:30", "hol_notification": "sample string 6", "calendar_code": "sample string 7", "calendar_year": 8, "CalendarYearModel": [ { "calendar_year": 1, "calendar_code": "sample string 2" }, { "calendar_year": 1, "calendar_code": "sample string 2" }, { "calendar_year": 1, "calendar_code": "sample string 2" } ], "HolidayTemp": [ { "hld_code": "sample string 1", "hld_id": 2, "hol_name": "sample string 3", "hld_day": "2024-12-27T06:24:46.4041574+05:30", "hol_notification": "sample string 5", "calendar_code": "sample string 6", "calendar_year": 7, "notification_date": "2024-12-27T06:24:46.4041574+05:30" }, { "hld_code": "sample string 1", "hld_id": 2, "hol_name": "sample string 3", "hld_day": "2024-12-27T06:24:46.4041574+05:30", "hol_notification": "sample string 5", "calendar_code": "sample string 6", "calendar_year": 7, "notification_date": "2024-12-27T06:24:46.4041574+05:30" }, { "hld_code": "sample string 1", "hld_id": 2, "hol_name": "sample string 3", "hld_day": "2024-12-27T06:24:46.4041574+05:30", "hol_notification": "sample string 5", "calendar_code": "sample string 6", "calendar_year": 7, "notification_date": "2024-12-27T06:24:46.4041574+05:30" } ], "notification_date": "2024-12-27T06:24:46.4041574+05:30" }
application/xml, text/xml
Sample:
<HolidayModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models"> <CalendarYearModel> <CalendarYearModel> <calendar_code>sample string 2</calendar_code> <calendar_year>1</calendar_year> </CalendarYearModel> <CalendarYearModel> <calendar_code>sample string 2</calendar_code> <calendar_year>1</calendar_year> </CalendarYearModel> <CalendarYearModel> <calendar_code>sample string 2</calendar_code> <calendar_year>1</calendar_year> </CalendarYearModel> </CalendarYearModel> <HolidayTemp> <HolidayTemp> <calendar_code>sample string 6</calendar_code> <calendar_year>7</calendar_year> <hld_code>sample string 1</hld_code> <hld_day>2024-12-27T06:24:46.4041574+05:30</hld_day> <hld_id>2</hld_id> <hol_name>sample string 3</hol_name> <hol_notification>sample string 5</hol_notification> <notification_date>2024-12-27T06:24:46.4041574+05:30</notification_date> </HolidayTemp> <HolidayTemp> <calendar_code>sample string 6</calendar_code> <calendar_year>7</calendar_year> <hld_code>sample string 1</hld_code> <hld_day>2024-12-27T06:24:46.4041574+05:30</hld_day> <hld_id>2</hld_id> <hol_name>sample string 3</hol_name> <hol_notification>sample string 5</hol_notification> <notification_date>2024-12-27T06:24:46.4041574+05:30</notification_date> </HolidayTemp> <HolidayTemp> <calendar_code>sample string 6</calendar_code> <calendar_year>7</calendar_year> <hld_code>sample string 1</hld_code> <hld_day>2024-12-27T06:24:46.4041574+05:30</hld_day> <hld_id>2</hld_id> <hol_name>sample string 3</hol_name> <hol_notification>sample string 5</hol_notification> <notification_date>2024-12-27T06:24:46.4041574+05:30</notification_date> </HolidayTemp> </HolidayTemp> <cal_year>2</cal_year> <calendar_code>sample string 7</calendar_code> <calendar_year>8</calendar_year> <hld_code>sample string 3</hld_code> <hld_day>2024-12-27T06:24:46.4041574+05:30</hld_day> <hld_id>1</hld_id> <hol_name>sample string 4</hol_name> <hol_notification>sample string 6</hol_notification> <notification_date>2024-12-27T06:24:46.4041574+05:30</notification_date> </HolidayModel>
application/x-www-form-urlencoded
Sample:
Response Information
No documentation available.
Response body formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.