GET api/AssignTimetable/GetHolidays?pFromDate={pFromDate}&pToDate={pToDate}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pFromDate | date |
Required |
|
pToDate | date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of HolidayName | Description | Type | Additional information |
---|---|---|---|
holidate | date |
None. |
|
holidesc | string |
Required String length: inclusive between 0 and 30 |
|
make_turn | string |
String length: inclusive between 0 and 1 |
|
is_work | string |
String length: inclusive between 0 and 1 |
|
interface_code | string |
None. |
|
old_code | date |
None. |
Response Formats
application/json, text/json
Sample:
[ { "holidate": "2025-01-18T07:20:29.3075312+02:00", "holidesc": "sample string 2", "make_turn": "sample string 3", "is_work": "sample string 4", "interface_code": "sample string 5", "old_code": "2025-01-18T07:20:29.3075312+02:00" }, { "holidate": "2025-01-18T07:20:29.3075312+02:00", "holidesc": "sample string 2", "make_turn": "sample string 3", "is_work": "sample string 4", "interface_code": "sample string 5", "old_code": "2025-01-18T07:20:29.3075312+02:00" } ]
application/xml, text/xml
Sample:
<ArrayOfHoliday xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog"> <Holiday> <holidate>2025-01-18T07:20:29.3075312+02:00</holidate> <holidesc>sample string 2</holidesc> <interface_code>sample string 5</interface_code> <is_work>sample string 4</is_work> <make_turn>sample string 3</make_turn> <old_code>2025-01-18T07:20:29.3075312+02:00</old_code> </Holiday> <Holiday> <holidate>2025-01-18T07:20:29.3075312+02:00</holidate> <holidesc>sample string 2</holidesc> <interface_code>sample string 5</interface_code> <is_work>sample string 4</is_work> <make_turn>sample string 3</make_turn> <old_code>2025-01-18T07:20:29.3075312+02:00</old_code> </Holiday> </ArrayOfHoliday>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.