GET api/User/GetCalendarReservations

Request Information

URI Parameters

None.

Body Parameters

CalendarReservationsModel
NameDescriptionTypeAdditional information
From

date

Required

To

date

Required

Request Formats

application/json, text/json

Sample:
{
  "From": "2020-11-25T17:14:22.341426+01:00",
  "To": "2020-11-25T17:14:22.341426+01:00"
}

application/xml, text/xml

Sample:
<CalendarReservationsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vasketider.Web.Models">
  <From>2020-11-25T17:14:22.341426+01:00</From>
  <To>2020-11-25T17:14:22.341426+01:00</To>
</CalendarReservationsModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CalendarReservationModel
NameDescriptionTypeAdditional information
From

date

Required

YourReservation

boolean

Required

Response Formats

application/json, text/json

Sample:
{
  "From": "2020-11-25T17:14:22.4351816+01:00",
  "YourReservation": true
}

application/xml, text/xml

Sample:
<CalendarReservationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vasketider.Web.Models">
  <From>2020-11-25T17:14:22.4351816+01:00</From>
  <YourReservation>true</YourReservation>
</CalendarReservationModel>