PUT api/ResourceTypes/Reservations/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

ResourceReservationRequestDTO
NameDescriptionTypeAdditional information
AllDay

boolean

None.

Start

date

None.

End

date

None.

ResourceId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AllDay": true,
  "Start": "2025-12-06T03:58:24.8713388+00:00",
  "End": "2025-12-06T03:58:24.8713388+00:00",
  "ResourceId": 4
}

application/xml, text/xml

Sample:
<ResourceReservationRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.ResourceTypes">
  <AllDay>true</AllDay>
  <End>2025-12-06T03:58:24.8713388+00:00</End>
  <ResourceId>4</ResourceId>
  <Start>2025-12-06T03:58:24.8713388+00:00</Start>
</ResourceReservationRequestDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ResourceReservationRequestDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.