GET api/AssignTimetable/GetFreeDatesAndHolidays?pDiaryNum={pDiaryNum}&pFromDate={pFromDate}&pToDate={pToDate}&pDatesOnly={pDatesOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pDiaryNum

integer

Required

pFromDate

date

Required

pToDate

date

Required

pDatesOnly

boolean

Required

Body Parameters

None.

Response Information

Resource Description

FreeDatesAndHolidays
NameDescriptionTypeAdditional information
FreeDates

Collection of DatesWithAmount

None.

HoliDays

Collection of Holiday

None.

Response Formats

application/json, text/json

Sample:
{
  "FreeDates": [
    {
      "Date": "2024-11-21T11:39:50.4268164+02:00",
      "Amount": 2
    },
    {
      "Date": "2024-11-21T11:39:50.4268164+02:00",
      "Amount": 2
    }
  ],
  "HoliDays": [
    {
      "holidate": "2024-11-21T11:39:50.4268164+02:00",
      "holidesc": "sample string 2",
      "make_turn": "sample string 3",
      "is_work": "sample string 4",
      "interface_code": "sample string 5",
      "old_code": "2024-11-21T11:39:50.4268164+02:00"
    },
    {
      "holidate": "2024-11-21T11:39:50.4268164+02:00",
      "holidesc": "sample string 2",
      "make_turn": "sample string 3",
      "is_work": "sample string 4",
      "interface_code": "sample string 5",
      "old_code": "2024-11-21T11:39:50.4268164+02:00"
    }
  ]
}

application/xml, text/xml

Sample:
<FreeDatesAndHolidays xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.AssignTimetableManage">
  <FreeDates>
    <DatesWithAmount>
      <Amount>2</Amount>
      <Date>2024-11-21T11:39:50.4268164+02:00</Date>
    </DatesWithAmount>
    <DatesWithAmount>
      <Amount>2</Amount>
      <Date>2024-11-21T11:39:50.4268164+02:00</Date>
    </DatesWithAmount>
  </FreeDates>
  <HoliDays xmlns:d2p1="http://schemas.datacontract.org/2004/07/CustDemog">
    <d2p1:Holiday>
      <d2p1:holidate>2024-11-21T11:39:50.4268164+02:00</d2p1:holidate>
      <d2p1:holidesc>sample string 2</d2p1:holidesc>
      <d2p1:interface_code>sample string 5</d2p1:interface_code>
      <d2p1:is_work>sample string 4</d2p1:is_work>
      <d2p1:make_turn>sample string 3</d2p1:make_turn>
      <d2p1:old_code>2024-11-21T11:39:50.4268164+02:00</d2p1:old_code>
    </d2p1:Holiday>
    <d2p1:Holiday>
      <d2p1:holidate>2024-11-21T11:39:50.4268164+02:00</d2p1:holidate>
      <d2p1:holidesc>sample string 2</d2p1:holidesc>
      <d2p1:interface_code>sample string 5</d2p1:interface_code>
      <d2p1:is_work>sample string 4</d2p1:is_work>
      <d2p1:make_turn>sample string 3</d2p1:make_turn>
      <d2p1:old_code>2024-11-21T11:39:50.4268164+02:00</d2p1:old_code>
    </d2p1:Holiday>
  </HoliDays>
</FreeDatesAndHolidays>

application/bson

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