GET api/AssignTimetable/GetHolidays?pFromDate={pFromDate}&pToDate={pToDate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pFromDate

date

Required

pToDate

date

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Holiday
NameDescriptionTypeAdditional 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

Response Formats

application/json, text/json

Sample:
[
  {
    "holidate": "2019-10-18T01:48:39.1679522+03:00",
    "holidesc": "sample string 2",
    "make_turn": "sample string 3",
    "is_work": "sample string 4"
  },
  {
    "holidate": "2019-10-18T01:48:39.1679522+03:00",
    "holidesc": "sample string 2",
    "make_turn": "sample string 3",
    "is_work": "sample string 4"
  }
]

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>2019-10-18T01:48:39.1679522+03:00</holidate>
    <holidesc>sample string 2</holidesc>
    <is_work>sample string 4</is_work>
    <make_turn>sample string 3</make_turn>
  </Holiday>
  <Holiday>
    <holidate>2019-10-18T01:48:39.1679522+03:00</holidate>
    <holidesc>sample string 2</holidesc>
    <is_work>sample string 4</is_work>
    <make_turn>sample string 3</make_turn>
  </Holiday>
</ArrayOfHoliday>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.