Recuperar reservas supervisadas v2
Última modificación: 12/02/2024
Recuperar reservas v2
Permite recuperar las reservas de un usuario supervisor.
A tener en cuenta:
¡Importante!
Los bookingDates se indicaran las fechas en un listado de fechas y horas de inicio y fin en el siguiente formato:
startDate1,endDate1;startDate2,endDate2;...
Ejemplo:
1707492738104,1707492738104;1707492738104,1707492738104;1707492738104,1707492738104;1707492738104,1707492738104
Request
HTTP Request
GET /api/v2/supervisedBookings
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer eyJ0eXBlIjoiSldUIiwiYWxnIjoiSFM1MT… | true |
Response
Si todo ha ido correctamente se devuelve un código 200 OK, con las reservas del usuario supervisor.
[
{
"id": "6b52bce4-5496-4328-a91f-ffd2939b7392",
"title": "título de reserva supervisada",
"bookingDates": "1707492738104,1707492738104;1707492738104,1707492738104;1707492738104,1707492738104;1707492738104,1707492738104",
"floor": {
"id": "14ab4017-1261-46ff-af05-eadf5d3d69e8",
"name": "Planta 1",
"floorNumber": 1,
"image": "https://api.develop.bookkercorp.com/api/v1/bookker/download/organizations/8aee218a-fce2-4900-9410-00f485a2729e/floors/40d25abc74f043f4afff218f02d2e024.png",
"building": {
"id": "758a81f3-f171-404b-b48c-c922828aed49",
"name": "Jupiter Building",
"address": {
"country": "ES",
"city": "Madrid",
"address": "Avenida Gran Vía, 85"
},
"organization": {
"id": "8aee218a-fce2-4900-9410-00f485a2729e"
},
"timezone": "Europe/Madrid",
"status": "ACTIVATED",
"visible": true,
"currency": "EUR"
},
"status": "ACTIVATED",
"type": "OFFICE",
"visible": true,
"buildingId": "758a81f3-f171-404b-b48c-c922828aed49"
},
"subcategory": {
"id": "db5d3245-1df2-42e2-9c6e-51bfadba948b",
"name": "Puesto de trabajo",
"category": "WORKSTATION",
"organization": {
"id": "8aee218a-fce2-4900-9410-00f485a2729e"
},
"deleteHistorial": false,
"hideBookings": false,
"canBeSearched": true,
"shifts": false,
"shiftsDailyBooking": false,
"simultaneousBookingsType": "ONLY_BETWEEN_CATEGORIES",
"priority": 0
},
"accessControlType": "NONE"
},
{
"id": "6b52bce4-5496-4328-a91f-ffd2939b7393",
"title": "título de reserva supervisada",
"bookingDates": "1707492738104,1707492738104;1707492738104,1707492738104;1707492738104,1707492738104;1707492738104,1707492738104",
"floor": {
"id": "14ab4017-1261-46ff-af05-eadf5d3d69e8",
"name": "Planta 1",
"floorNumber": 1,
"image": "https://api.develop.bookkercorp.com/api/v1/bookker/download/organizations/8aee218a-fce2-4900-9410-00f485a2729e/floors/40d25abc74f043f4afff218f02d2e024.png",
"building": {
"id": "758a81f3-f171-404b-b48c-c922828aed49",
"name": "Jupiter Building",
"address": {
"country": "ES",
"city": "Madrid",
"address": "Avenida Gran Vía, 85"
},
"organization": {
"id": "8aee218a-fce2-4900-9410-00f485a2729e"
},
"timezone": "Europe/Madrid",
"status": "ACTIVATED",
"visible": true,
"currency": "EUR"
},
"status": "ACTIVATED",
"type": "OFFICE",
"visible": true,
"buildingId": "758a81f3-f171-404b-b48c-c922828aed49"
},
"subcategory": {
"id": "db5d3245-1df2-42e2-9c6e-51bfadba948b",
"name": "Puesto de trabajo",
"category": "WORKSTATION",
"organization": {
"id": "8aee218a-fce2-4900-9410-00f485a2729e"
},
"deleteHistorial": false,
"hideBookings": false,
"canBeSearched": true,
"shifts": false,
"shiftsDailyBooking": false,
"simultaneousBookingsType": "ONLY_BETWEEN_CATEGORIES",
"priority": 0
},
"accessControlType": "NONE"
}
]