API
Search…
Reservation

Reservation schema

id long? Reservation ID - cannot be null in PUT/PATCH methods 📶 EQUALS,ENUM
_branchId integer Branch ID 📶 EQUALS,ENUM
_cloudId integer Cloud ID​
_customerId long Customer ID 📶 EQUALS,ENUM
_employeeId long Employee ID 📶 EQUALS,ENUM
_tableId long Table ID 📶 EQUALS,ENUM
created timestamp? Reservation created date and time 📶 EQUALS, ENUM, NUMBER 🔽 BOTH
endDate timestamp End date and time 📶 EQUALS, ENUM, NUMBER 🔽 BOTH
flags integer Reservation flags 📶 BITS
note string? Reservation note
seats short Number of table seats - minimum value is 1, maximum value must be less or equal to the number of seats in the Table entity (Table.seats).
startDate timestamp Start date and time 📶 EQUALS, ENUM, NUMBER 🔽 BOTH
status enum Reservation status
versionDate timestamp? Last modification date and time 📶 EQUALS, ENUM, NUMBER 🔽 BOTH

Reservation.status (enum)

1
// representation like string
2
NEW, CONFIRMED, CANCELLED
Copied!

JSON response

1
{
2
"_branchId": <long>,
3
"_cloudId": <integer>,
4
"_customerId": <long>,
5
"_employeeId": <long>,
6
"_tableId": <long>,
7
"created": <timestamp>,
8
"endDate": <timestamp>,
9
"flags": <integer>,
10
"id": <long>,
11
"note": <string>,
12
"seats": <short>,
13
"startDate": <timestamp>,
14
"status": <enum>,
15
"versionDate": <timestamp>
16
}
Copied!
get
https://api.dotykacka.cz
/v2/clouds/:cloudId/reservations
Get reservations
get
https://api.dotykacka.cz
/v2/clouds/:cloudId/reservations/:reservationId
Get reservation
post
https://api.dotykacka.cz
/v2/clouds/:cloudId/reservations
Create reservations
put
https://api.dotykacka.cz
/v2/clouds/:cloudId/reservations
Replace or create reservations
put
https://api.dotykacka.cz
/v2/clouds/:cloudId/reservations/:reservationId
Replace or create reservation
patch
https://api.dotykacka.cz
/v2/clouds/:cloudId/reservations/:reservationId
Partial update of reservation
delete
https://api.dotykacka.cz
/v2/clouds/:cloudId/reservation/:reservationId
Delete reservation
options
https://api.dotykacka.cz
/v2/clouds/:cloudId/tables
Options reservations
options
https://api.dotykacka.cz
/v2/clouds/:cloudId/reservations/:reservationId
Options reservation
Last modified 1mo ago