POST api/Admin/Reservations
Request Information
URI Parameters
None.
Body Parameters
ReservationRequestPostAdminDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| string |
None. |
||
| Fullname | string |
None. |
|
| Reservations | Collection of ReservationRequestInfoDTO |
None. |
Request Formats
application/json, text/json
Sample:
{
"Email": "sample string 1",
"Fullname": "sample string 2",
"Reservations": [
{
"Date": "2025-12-05T10:22:11.3752578+00:00",
"AreaId": 2,
"XCoord": 1.0,
"YCoord": 1.0,
"ParkingSpaceId": 1,
"ParkingAllDay": true,
"ParkingStartTime": 1,
"ParkingEndTime": 1,
"LicensePlate": "sample string 4",
"SaveLicencePlate": true,
"LunchIds": [
1,
2
],
"SeatId": 1,
"AllDay": true,
"TimeStart": 7,
"TimeEnd": 8,
"IsGuest": true,
"HostEmail": "sample string 9",
"HostName": "sample string 10",
"SetPreferredLevel": true,
"SetPreferredSpot": true
},
{
"Date": "2025-12-05T10:22:11.3752578+00:00",
"AreaId": 2,
"XCoord": 1.0,
"YCoord": 1.0,
"ParkingSpaceId": 1,
"ParkingAllDay": true,
"ParkingStartTime": 1,
"ParkingEndTime": 1,
"LicensePlate": "sample string 4",
"SaveLicencePlate": true,
"LunchIds": [
1,
2
],
"SeatId": 1,
"AllDay": true,
"TimeStart": 7,
"TimeEnd": 8,
"IsGuest": true,
"HostEmail": "sample string 9",
"HostName": "sample string 10",
"SetPreferredLevel": true,
"SetPreferredSpot": true
}
]
}
application/xml, text/xml
Sample:
<ReservationRequestPostAdminDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models">
<Email>sample string 1</Email>
<Fullname>sample string 2</Fullname>
<Reservations>
<ReservationRequestInfoDTO>
<AllDay>true</AllDay>
<AreaId>2</AreaId>
<Date>2025-12-05T10:22:11.3752578+00:00</Date>
<HostEmail>sample string 9</HostEmail>
<HostName>sample string 10</HostName>
<IsGuest>true</IsGuest>
<LicensePlate>sample string 4</LicensePlate>
<LunchIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1:int>
</LunchIds>
<ParkingAllDay>true</ParkingAllDay>
<ParkingEndTime>1</ParkingEndTime>
<ParkingSpaceId>1</ParkingSpaceId>
<ParkingStartTime>1</ParkingStartTime>
<SaveLicencePlate>true</SaveLicencePlate>
<SeatId>1</SeatId>
<SetPreferredLevel>true</SetPreferredLevel>
<SetPreferredSpot>true</SetPreferredSpot>
<TimeEnd>8</TimeEnd>
<TimeStart>7</TimeStart>
<XCoord>1</XCoord>
<YCoord>1</YCoord>
</ReservationRequestInfoDTO>
<ReservationRequestInfoDTO>
<AllDay>true</AllDay>
<AreaId>2</AreaId>
<Date>2025-12-05T10:22:11.3752578+00:00</Date>
<HostEmail>sample string 9</HostEmail>
<HostName>sample string 10</HostName>
<IsGuest>true</IsGuest>
<LicensePlate>sample string 4</LicensePlate>
<LunchIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1:int>
</LunchIds>
<ParkingAllDay>true</ParkingAllDay>
<ParkingEndTime>1</ParkingEndTime>
<ParkingSpaceId>1</ParkingSpaceId>
<ParkingStartTime>1</ParkingStartTime>
<SaveLicencePlate>true</SaveLicencePlate>
<SeatId>1</SeatId>
<SetPreferredLevel>true</SetPreferredLevel>
<SetPreferredSpot>true</SetPreferredSpot>
<TimeEnd>8</TimeEnd>
<TimeStart>7</TimeStart>
<XCoord>1</XCoord>
<YCoord>1</YCoord>
</ReservationRequestInfoDTO>
</Reservations>
</ReservationRequestPostAdminDTO>
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.