POST api/Reservations/OutOfOffice?username={username}&email={email}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| username | string |
None. |
|
| string |
None. |
Body Parameters
ReservationOutOfOfficeDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Dates | Collection of date |
None. |
|
| OutOfOfficeTypeId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Dates": [
"2025-12-05T10:18:06.125588+00:00",
"2025-12-05T10:18:06.125588+00:00"
],
"OutOfOfficeTypeId": 1
}
application/xml, text/xml
Sample:
<ReservationOutOfOfficeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models">
<Dates xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:dateTime>2025-12-05T10:18:06.125588+00:00</d2p1:dateTime>
<d2p1:dateTime>2025-12-05T10:18:06.125588+00:00</d2p1:dateTime>
</Dates>
<OutOfOfficeTypeId>1</OutOfOfficeTypeId>
</ReservationOutOfOfficeDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.