Bookker API Documentation logo Bookker API Documentation

Recuperar reservas del usuario

Última modificación: 24/06/2021

Reservas del usuario

Se obtienen las reservas del usuario solicitado, tanto las que ha organizado como a las que ha sido invitado.

Recuperar reservas del usuario

Intenta recuperar las reservas del usuario.

En las reservas como organizador se obtienen los datos principales de dichas reservas así como los datos del creador, recurso reservado y organizador.

En las reservas a las que ha sido invitado el usuario se obtienen los mismos datos mencionados anteriormente así como los datos del estado de la invitación.

Aspectos a tener en cuenta:

Acceso al edificio

Dentro de la información de la reserva hay un campo llamado “buildingAccessStatus”, que indica si se ha concedido al usuario acceso al edificio para esa reserva.

Este campo tiene tres posibles valores:

Request

HTTP request
GET /api/v1/users/me/bookings
GET /api/v1/users/{userId}/bookings
Headers
Header Value Required
Authorization Bearer eyJ0eXBlIjoiSldUIiwiYWxnIjoiSFM1MT… true

Response

Si se ha conseguido validar que el usuario tiene acceso para realizar la petición, se devuelve un código 200 con las reservas del usuario, en el cuerpo de la respuesta.

HTTP/1.1 200 OK
Content-type: application/json
{
    "userIsInvited": [
      {
            "id": "fef5d60d-cb64-42a6-b64b-8ff333bfd7c3",
            "multipleBookingId": "2dfde059-da65-49c9-8db3-dccc4f329245",
            "startDate": 1572069600000,
            "endDate": 1572070500000,
              "allDayBooking": false,
            "duration": 900000,
            "status": "PENDING_VOTING",
            "accessControlType": "ORGANIZER",
            "creator": {
                "id": "ec2c0379-c333-4bd2-bb85-61e61b232062",
                "name": "Jorge",
                "surname": "Castán",
                "alias": "ae891a9aff524bf8ae35d2acd9ebcde0",
                "email": "jorge.castan@bookkercorp.com",
                "phone": "",
                "organization": {
                    "id": "12acc37e-723f-43ef-8914-1de2affba3bd"
                },
                "userRule": {
                    "id": "8fe659f9-df21-44e3-8c85-4cff2703f915"
                },
                "mobileRole": {
                    "id": "1dfde059-da65-49c9-8db3-dccc4f3292e4"
                },
                "canBeSearched": true
            },
            "organizer": {
                "id": "ec2c0379-c333-4bd2-bb85-61e61b232062",
                "name": "Jorge",
                "surname": "Castán",
                "alias": "ae891a9aff524bf8ae35d2acd9ebcde0",
                "email": "jorge.castan@bookkercorp.com",
                "phone": "",
                "organization": {
                    "id": "12acc37e-723f-43ef-8914-1de2affba3bd"
                },
                "userRule": {
                    "id": "8fe659f9-df21-44e3-8c85-4cff2703f915"
                },
                "mobileRole": {
                    "id": "1dfde059-da65-49c9-8db3-dccc4f3292e4"
                },
                "canBeSearched": true
            },
            "resource": {
                "id": "79f07381-d293-4c3a-80dc-d0317c8f2b66",
                "name": "D06SS",
                "posterCode": "D06SS",
                "image": "https://api.develop.bookkercorp.com/api/v1/bookker/download/organizations/8aee218a-fce2-4900-9410-00f485a2729e/users/5432a51ff76e4e349a0fcd6759eeaa0a.jpeg",
                "mapCoordinates": {
                    "topLeftX": 1221,
                    "topLeftY": 1645,
                    "bottomRightX": 1270,
                    "bottomRightY": 1694
                },
                "approachable": false,
                "floor": {
                    "id": "14ab4017-1261-46ff-af05-eadf5d3d69e8",
                    "name": "Planta 1",
                    "floorNumber": 1,
                    "image": "8aee218a-fce2-4900-9410-00f485a2729e/buildings/758a81f3-f171-404b-b48c-c922828aed49/floors/14ab4017-1261-46ff-af05-eadf5d3d69e8/maps/40d25abc74f043f4afff218f02d2e024.png",
                    "building": {
                        "id": "758a81f3-f171-404b-b48c-c922828aed49",
                        "name": "Jupiter Building",
                        "address": {
                            "country": "ES",
                            "city": "Madrid",
                            "address": "Avenida Gran Vía, 85",
                            "coordinates": null
                        },
                        "organization": {
                            "id": "8aee218a-fce2-4900-9410-00f485a2729e"
                        },
                        "timezone": "Europe/Madrid",
                        "status": "ACTIVATED"
                    },
                    "status": "ACTIVATED",
                    "type": "OFFICE",
                    "visible": true,
                    "features": [
                        {
                            "id": "2c17a0c5-52c9-454b-838f-588901e7edf8",
                            "name": "Proyector",
                            "email": "txoflas@gmail.com",
                            "organization": {
                                "id": "8aee218a-fce2-4900-9410-00f485a2729e"
                            }
                        }
                    ]
                },
                "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
                },
                "resourceRule": {
                    "id": "8dcbdb92-ad3d-4948-ad45-43f527a7e0a0",
                    "advanceCheckIn": 900000,
                    "expirationMargin": 900000
                },
                "visible": true,
                    "features": [
                        {
                            "id": "2c17a0c5-52c9-454b-838f-588901e7edf8",
                            "name": "Proyector",
                            "email": "txoflas@gmail.com",
                            "organization": {
                                "id": "8aee218a-fce2-4900-9410-00f485a2729e"
                            }
                        }
                    ],
                "capacity": 1
            },
            "supervisedBooking": {},
            "invitationInfo": {
                "id": "5f879a79-9605-4c84-aa64-e24732d7b51a",
                "type": "REQUIRED",
                "status": "NEEDS_ACTION",
                "bookingId": "fef5d60d-cb64-42a6-b64b-8ff333bfd7c3",
                "user": {
                    "id": "78c48bbc-0aa0-4e15-8a84-bcf9d55bfbef"
                }
            },
            "subject": "Prueba ",
            "body": {
                "content": "Reserva find slot",
                "bodyType": "TEXT"
            },
            "importance": "HIGH",
            "selfInvite": false,
            "attendeesCanInvite": false,
            "attendeesCanModify": false,
            "attendeesCanSeeOtherAttendees": false,
            "findSlotId": "91edaf5f-55c5-443e-9786-2026f89581f5",
            "resourceType": "SPACE",
              "buildingAccessStatus": "PENDING",
            "isExternalOrganizer": true,
            "externalOrganizerEmail": "pepe@emailfalso.com"
        },
        {
            "id": "d46309d9-f28b-4314-a543-968215113ef4",
            "recurrentId": "40fc53f1-e8d1-4524-a6e7-ec7a3f598cc2",
            "multipleBookingId": "2dfde059-da65-49c9-8db3-dccc4f329245",
            "startDate": 1561644000000,
            "endDate": 1561645800000,
              "allDayBooking": false,
            "duration": 1800000,
            "status": "PENDING",
            "accessControlType": "OPTIONAL",
            "creator": {
                "id": "8c0fa5d8-0d25-4c31-bead-c279de53d8a6",
                "name": "Aitor",
                "surname": "Gomez",
                "alias": "AITORGA",
                "email": "aitor.gomez@bookkercorp.com",
                "phone": "676283181",
                "organization": {
                    "id": "4c6c300e-ff5a-400b-adb4-60e513e1f4ba"
                },
                "department": {
                    "id": "26980ebb-0ac7-4bb0-bab1-81ed8fc07d59"
                },
                "userRule": {
                    "id": "d58b188f-6ba6-48c4-9e0a-dd0ac81d4cb2"
                },
                "mobileRole": {
                    "id": "5220b6a2-8920-4dae-8ff0-ba96707d439d"
                }
            },
            "organizer": {
                "id": "8c0fa5d8-0d25-4c31-bead-c279de53d8a6",
                "name": "Aitor",
                "surname": "Gomez",
                "alias": "AITORGA",
                "email": "aitor.gomez@bookkercorp.com",
                "phone": "676283181",
                "organization": {
                    "id": "4c6c300e-ff5a-400b-adb4-60e513e1f4ba"
                },
                "department": {
                    "id": "26980ebb-0ac7-4bb0-bab1-81ed8fc07d59"
                },
                "userRule": {
                    "id": "d58b188f-6ba6-48c4-9e0a-dd0ac81d4cb2"
                },
                "mobileRole": {
                    "id": "5220b6a2-8920-4dae-8ff0-ba96707d439d"
                }
            },
            "resource": {
                "id": "b5fcf35f-bba2-4050-a246-631dac18e014",
                "name": "Despacho principal",
                "posterCode": "D01P3",
                "image": "https://api.develop.bookkercorp.com/api/v1/bookker/download/organizations/8aee218a-fce2-4900-9410-00f485a2729e/users/5432a51ff76e4e349a0fcd6759eeaa0a.jpeg",
                "phone": "941827392",
                "mapCoordinates": {
                    "topLeftX": 803,
                    "topLeftY": 685,
                    "bottomRightX": 1042,
                    "bottomRightY": 894
                },
                "approachable": true,
                "floor": {
                    "id": "14ab4017-1261-46ff-af05-eadf5d3d69e8",
                    "name": "Planta 1",
                    "floorNumber": 1,
                    "image": "8aee218a-fce2-4900-9410-00f485a2729e/buildings/758a81f3-f171-404b-b48c-c922828aed49/floors/14ab4017-1261-46ff-af05-eadf5d3d69e8/maps/40d25abc74f043f4afff218f02d2e024.png",
                    "building": {
                        "id": "758a81f3-f171-404b-b48c-c922828aed49",
                        "name": "Jupiter Building",
                        "address": {
                            "country": "ES",
                            "city": "Madrid",
                            "address": "Avenida Gran Vía, 85",
                            "coordinates": null
                        },
                        "organization": {
                            "id": "8aee218a-fce2-4900-9410-00f485a2729e"
                        },
                        "timezone": "Europe/Madrid",
                        "status": "ACTIVATED"
                    },
                    "status": "ACTIVATED",
                    "type": "OFFICE",
                    "visible": true
                },
                "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
                },                
                "resourceRule": {
                    "id": "8dcbdb92-ad3d-4948-ad45-43f527a7e0a0",
                    "advanceCheckIn": 900000,
                    "expirationMargin": 900000
                },
                "visible": true,
                "features": [
                    {
                        "id": "2c17a0c5-52c9-454b-838f-588901e7edf8",
                        "name": "Proyector",
                        "email": "txoflas@gmail.com",
                        "organization": {
                            "id": "8aee218a-fce2-4900-9410-00f485a2729e"
                        }
                    }
                ],
                "capacity": 30
            },
            "invitationInfo": {
                "id": "3c1398fc-b1d3-4274-a8eb-52bf4ebc5b69",
                "type": "OPCIONAL",
                "status": "NEEDS_ACTION",
                "bookingId": "d46309d9-f28b-4314-a543-968215113ef4",
                "user": {
                    "id": "7eccd6ed-3faf-41de-bec1-0b8501316857"
                }
            },
            "subject": "Es otra prueba",
            "body": {
                "content": "Otra prueba",
                "bodyType": "TEXT"
            },
            "importance": "NORMAL",
            "selfInvite": true,
            "attendeesCanInvite": true,
            "attendeesCanModify": true,
            "attendeesCanSeeOtherAttendees": true,
            "resourceType": "SPACE",
            "buildingAccessStatus": "PENDING",
            "isExternalOrganizer": false
        }
    ],
    "userIsOrganizer": [
        {
            "id": "e2100ddd-f8a8-4f25-bb6a-2ca7a8c88d96",
            "recurrentId": "6a121e8a-1e72-42a2-9737-d60fae1b27e6",
            "multipleBookingId": "2dfde059-da65-49c9-8db3-dccc4f329245",
            "startDate": 1561631400000,
            "endDate": 1561645800000,
              "allDayBooking": false,
            "duration": 14400000,
            "status": "CONFIRMED",
            "accessControlType": "OPTIONAL",
            "creator": {
                "id": "7eccd6ed-3faf-41de-bec1-0b8501316857",
                "name": "Aitor",
                "surname": "Gil",
                "alias": "AITORGC",
                "email": "aitor.gil@bookkercorp.com",
                "phone": "631256311",
                "organization": {
                    "id": "4c6c300e-ff5a-400b-adb4-60e513e1f4ba"
                },
                "department": {
                    "id": "26980ebb-0ac7-4bb0-bab1-81ed8fc07d59"
                },
                "userRule": {
                    "id": "d58b188f-6ba6-48c4-9e0a-dd0ac81d4cb2"
                },
                "mobileRole": {
                    "id": "5220b6a2-8920-4dae-8ff0-ba96707d439d"
                }
            },
            "organizer": {
                "id": "7eccd6ed-3faf-41de-bec1-0b8501316857",
                "name": "Aitor",
                "surname": "Gil",
                "alias": "AITORGC",
                "email": "aitor.gil@bookkercorp.com",
                "phone": "631256311",
                "organization": {
                    "id": "4c6c300e-ff5a-400b-adb4-60e513e1f4ba"
                },
                "department": {
                    "id": "26980ebb-0ac7-4bb0-bab1-81ed8fc07d59"
                },
                "userRule": {
                    "id": "d58b188f-6ba6-48c4-9e0a-dd0ac81d4cb2"
                },
                "mobileRole": {
                    "id": "5220b6a2-8920-4dae-8ff0-ba96707d439d"
                }
            },
            "resource": {
                "id": "01789b12-4cf5-4184-a8ce-c958f8924402",
                "name": "Puesto #2",
                "posterCode": "C07P2",
                "image": "https://api.develop.bookkercorp.com/api/v1/bookker/download/organizations/8aee218a-fce2-4900-9410-00f485a2729e/users/5432a51ff76e4e349a0fcd6759eeaa0a.jpeg",
                "phone": "941987789",
                "mapCoordinates": {
                    "topLeftX": 441,
                    "topLeftY": 3226,
                    "bottomRightX": 489,
                    "bottomRightY": 3274
                },
                "approachable": true,
                "floor": {
                    "id": "14ab4017-1261-46ff-af05-eadf5d3d69e8",
                    "name": "Planta 1",
                    "floorNumber": 1,
                    "image": "8aee218a-fce2-4900-9410-00f485a2729e/buildings/758a81f3-f171-404b-b48c-c922828aed49/floors/14ab4017-1261-46ff-af05-eadf5d3d69e8/maps/40d25abc74f043f4afff218f02d2e024.png",
                    "building": {
                        "id": "758a81f3-f171-404b-b48c-c922828aed49",
                        "name": "Jupiter Building",
                        "address": {
                            "country": "ES",
                            "city": "Madrid",
                            "address": "Avenida Gran Vía, 85",
                            "coordinates": null
                        },
                        "organization": {
                            "id": "8aee218a-fce2-4900-9410-00f485a2729e"
                        },
                        "timezone": "Europe/Madrid",
                        "status": "ACTIVATED"
                    },
                    "status": "ACTIVATED",
                    "type": "OFFICE",
                    "visible": true
                },
                "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
                },
                "resourceRule": {
                    "id": "8dcbdb92-ad3d-4948-ad45-43f527a7e0a0",
                    "advanceCheckIn": 900000,
                    "expirationMargin": 900000
                },
                "visible": true,
                "features": [
                    {
                        "id": "2c17a0c5-52c9-454b-838f-588901e7edf8",
                        "name": "Proyector",
                        "email": "txoflas@gmail.com",
                        "organization": {
                            "id": "8aee218a-fce2-4900-9410-00f485a2729e"
                        }
                    }
                ]
            },
            "supervisedBooking": {
                "id": "9ad08bdb-f2ae-4197-a95f-d5fae309a9fa",
                "supervisor": {
                    "id": "ec2c0379-c333-4bd2-bb85-61e61b232062",
                    "name": "Jorge",
                    "surname": "Castán",
                    "alias": "ae891a9aff524bf8ae35d2acd9ebcde0",
                    "email": "jorge.castan@bookkercorp.com",
                    "phone": "",
                    "organization": {
                        "id": "12acc37e-723f-43ef-8914-1de2affba3bd"
                    },
                    "department": {},
                    "userRule": {
                        "id": "8fe659f9-df21-44e3-8c85-4cff2703f915"
                    },
                    "mobileRole": {
                        "id": "1dfde059-da65-49c9-8db3-dccc4f3292e4"
                    },
                    "canBeSearched": false
                },
                "title": "campaña"
            },
            "resourceType": "WORKSTATION",
            "buildingAccessStatus": "PENDING"
        },
        {
            "id": "2ff40d20-7301-4364-a026-013703fe447e",
            "recurrentId": "31df8983-9caa-439c-8241-ed1d4e5f0d06",
            "multipleBookingId": "2dfde059-da65-49c9-8db3-dccc4f329245",
            "startDate": 1579068000000,
            "endDate": 1579096800000,
              "allDayBooking": false,
            "duration": 28800000,
            "status": "CONFIRMED",
            "accessControlType": "OPTIONAL",
            "creator": {
                "id": "0327518d-bf16-492c-b2cf-70efafd90834",
                "name": "xiaomi",
                "surname": "mi9T",
                "alias": "xiaomi_mi9t",
                "email": "xiaomi@test.com",
                "image": "https://develop.bookkercorp.com/admin/bookker/download/organizations/45864298-ec41-4105-8cbe-f787a0a50604/users/0327518d-bf16-492c-b2cf-70efafd90834/profile/acc9deb22a3b404abcfc4e1b8acdf324.png",
                "organization": {
                    "id": "45864298-ec41-4105-8cbe-f787a0a50604"
                },
                "userRule": {
                    "id": "eb1fbcd5-a71d-4729-b488-3e09788c53d8"
                },
                "mobileRole": {
                    "id": "1dfde059-da65-49c9-8db3-dccc4f3292e4"
                },
                "canBeSearched": false
            },
            "organizer": {
                "id": "0327518d-bf16-492c-b2cf-70efafd90834",
                "name": "xiaomi",
                "surname": "mi9T",
                "alias": "xiaomi_mi9t",
                "email": "xiaomi@test.com",
                "image": "https://develop.bookkercorp.com/admin/bookker/download/organizations/45864298-ec41-4105-8cbe-f787a0a50604/users/0327518d-bf16-492c-b2cf-70efafd90834/profile/acc9deb22a3b404abcfc4e1b8acdf324.png",
                "organization": {
                    "id": "45864298-ec41-4105-8cbe-f787a0a50604"
                },
                "userRule": {
                    "id": "eb1fbcd5-a71d-4729-b488-3e09788c53d8"
                },
                "mobileRole": {
                    "id": "1dfde059-da65-49c9-8db3-dccc4f3292e4"
                },
                "canBeSearched": false
            },
            "resource": {
                "id": "9104ef21-4b35-4156-9a40-15cf11f14be4",
                "name": "PC04P-1",
                "posterCode": "PC04P-1",
                "image": "https://api.develop.bookkercorp.com/api/v1/bookker/download/organizations/8aee218a-fce2-4900-9410-00f485a2729e/users/5432a51ff76e4e349a0fcd6759eeaa0a.jpeg",
                "floor": {
                    "id": "14ab4017-1261-46ff-af05-eadf5d3d69e8",
                    "name": "Planta 1",
                    "floorNumber": 1,
                    "image": "8aee218a-fce2-4900-9410-00f485a2729e/buildings/758a81f3-f171-404b-b48c-c922828aed49/floors/14ab4017-1261-46ff-af05-eadf5d3d69e8/maps/40d25abc74f043f4afff218f02d2e024.png",
                    "building": {
                        "id": "758a81f3-f171-404b-b48c-c922828aed49",
                        "name": "Jupiter Building",
                        "address": {
                            "country": "ES",
                            "city": "Madrid",
                            "address": "Avenida Gran Vía, 85",
                            "coordinates": null
                        },
                        "organization": {
                            "id": "8aee218a-fce2-4900-9410-00f485a2729e"
                        },
                        "timezone": "Europe/Madrid",
                        "status": "ACTIVATED"
                    },
                    "status": "ACTIVATED",
                    "type": "OFFICE",
                    "visible": true,
                    "features": [
                        {
                            "id": "2c17a0c5-52c9-454b-838f-588901e7edf8",
                            "name": "Proyector",
                            "email": "txoflas@gmail.com",
                            "organization": {
                                "id": "8aee218a-fce2-4900-9410-00f485a2729e"
                            }
                        }
                    ]
                },
                "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
                },
                "visible": true,
                "covered": false,
                "parkingSlotSize": "MEDIUM",
                "electricCharger": true,
                "electricChargerExternalUrl": "https://exampleExternalURL.com"
            },
            "scheduleType": "MORNING",
            "resourceType": "PARKING",
            "buildingAccessStatus": "PENDING",
            "vehicle": {
                "id": "237241cb-12f0-47f4-a0aa-93dff5a14d67",
                "userId": "9d8daf14-35ed-4108-bd0a-efd613b6bcc6",
                "licensePlate": "11114",
                "organizationId": "717241cb-12f0-47f4-a0aa-93dff5a14d67",
                "brand": "rari",
                "model": "enzo",
                "color": "rojo",
                "type": "CAR"
            }
        },
        {
            "id": "9e853667-2ae8-4e8d-897b-33fca79512ea",
            "recurrentId": "31df8983-9caa-439c-8241-ed1d4e5f0d06",
            "multipleBookingId": "2dfde059-da65-49c9-8db3-dccc4f329245",
            "startDate": 1579154400000,
            "endDate": 1579183200000,
              "allDayBooking": false,
            "duration": 28800000,
            "status": "CONFIRMED",
            "accessControlType": "OPTIONAL",
            "creator": {
                "id": "0327518d-bf16-492c-b2cf-70efafd90834",
                "name": "xiaomi",
                "surname": "mi9T",
                "alias": "xiaomi_mi9t",
                "email": "xiaomi@test.com",
                "image": "https://develop.bookkercorp.com/admin/bookker/download/organizations/45864298-ec41-4105-8cbe-f787a0a50604/users/0327518d-bf16-492c-b2cf-70efafd90834/profile/acc9deb22a3b404abcfc4e1b8acdf324.png",
                "organization": {
                    "id": "45864298-ec41-4105-8cbe-f787a0a50604"
                },
                "userRule": {
                    "id": "eb1fbcd5-a71d-4729-b488-3e09788c53d8"
                },
                "mobileRole": {
                    "id": "1dfde059-da65-49c9-8db3-dccc4f3292e4"
                },
                "canBeSearched": false
            },
            "organizer": {
                "id": "0327518d-bf16-492c-b2cf-70efafd90834",
                "name": "xiaomi",
                "surname": "mi9T",
                "alias": "xiaomi_mi9t",
                "email": "xiaomi@test.com",
                "image": "https://develop.bookkercorp.com/admin/bookker/download/organizations/45864298-ec41-4105-8cbe-f787a0a50604/users/0327518d-bf16-492c-b2cf-70efafd90834/profile/acc9deb22a3b404abcfc4e1b8acdf324.png",
                "organization": {
                    "id": "45864298-ec41-4105-8cbe-f787a0a50604"
                },
                "userRule": {
                    "id": "eb1fbcd5-a71d-4729-b488-3e09788c53d8"
                },
                "mobileRole": {
                    "id": "1dfde059-da65-49c9-8db3-dccc4f3292e4"
                },
                "canBeSearched": false
            },
            "resource": {
                "id": "9104ef21-4b35-4156-9a40-15cf11f14be4",
                "name": "PC04P-1",
                "posterCode": "PC04P-1",
                "image": "https://api.develop.bookkercorp.com/api/v1/bookker/download/organizations/8aee218a-fce2-4900-9410-00f485a2729e/users/5432a51ff76e4e349a0fcd6759eeaa0a.jpeg",
                "floor": {
                    "id": "14ab4017-1261-46ff-af05-eadf5d3d69e8",
                    "name": "Planta 1",
                    "floorNumber": 1,
                    "image": "8aee218a-fce2-4900-9410-00f485a2729e/buildings/758a81f3-f171-404b-b48c-c922828aed49/floors/14ab4017-1261-46ff-af05-eadf5d3d69e8/maps/40d25abc74f043f4afff218f02d2e024.png",
                    "building": {
                        "id": "758a81f3-f171-404b-b48c-c922828aed49",
                        "name": "Jupiter Building",
                        "address": {
                            "country": "ES",
                            "city": "Madrid",
                            "address": "Avenida Gran Vía, 85",
                            "coordinates": null
                        },
                        "organization": {
                            "id": "8aee218a-fce2-4900-9410-00f485a2729e"
                        },
                        "timezone": "Europe/Madrid",
                        "status": "ACTIVATED"
                    },
                    "status": "ACTIVATED",
                    "type": "OFFICE",
                    "visible": true
                },
                "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
                },
                "visible": true,
                "covered": false,
                "parkingSlotSize": "MEDIUM",
                "features": [
                    {
                        "id": "2c17a0c5-52c9-454b-838f-588901e7edf8",
                        "name": "Proyector",
                        "email": "txoflas@gmail.com",
                        "organization": {
                            "id": "8aee218a-fce2-4900-9410-00f485a2729e"
                        }
                    }
                ]
            },
            "scheduleType": "MORNING",
            "resourceType": "PARKING",
            "buildingAccessStatus": "PENDING",
            "vehicle": {
                "id": "237241cb-12f0-47f4-a0aa-93dff5a14d67",
                "userId": "9d8daf14-35ed-4108-bd0a-efd613b6bcc6",
                "licensePlate": "11114",
                "organizationId": "717241cb-12f0-47f4-a0aa-93dff5a14d67",
                "brand": "rari",
                "model": "enzo",
                "color": "rojo",
                "type": "CAR"
            }
        },
        {
            "id": "237241cb-12f0-47f4-a0aa-93dff5a14d67",
            "multipleBookingId": "2dfde059-da65-49c9-8db3-dccc4f329245",
            "startDate": 1585821600000,
            "endDate": 1585823400000,
              "allDayBooking": false,
            "status": "PENDING",
            "accessControlType": "ANY",
            "creator": {
                "id": "fd4ca972-6693-4c1c-8371-bab6e109709c",
                "name": "ios",
                "surname": "saturno",
                "alias": "1a30ea1cf3604d24bda0cf2d8f90005c",
                "email": "ios.saturno@bookker.es",
                "organization": {
                    "id": "782f32bd-9768-4b03-b3f4-4df2a2545797"
                },
                "userRule": {
                    "id": "91b515cd-e032-44fb-a024-19d403de4413"
                },
                "mobileRole": {
                    "id": "5220b6a2-8920-4dae-8ff0-ba96707d439d"
                },
                "canBeSearched": false
            },
            "organizer": {
                "id": "fd4ca972-6693-4c1c-8371-bab6e109709c",
                "name": "ios",
                "surname": "saturno",
                "alias": "1a30ea1cf3604d24bda0cf2d8f90005c",
                "email": "ios.saturno@bookker.es",
                "organization": {
                    "id": "782f32bd-9768-4b03-b3f4-4df2a2545797"
                },
                "userRule": {
                    "id": "91b515cd-e032-44fb-a024-19d403de4413"
                },
                "mobileRole": {
                    "id": "5220b6a2-8920-4dae-8ff0-ba96707d439d"
                },
                "canBeSearched": false
            },
            "resource": {
                "id": "458337df-0a17-4349-903c-4f250b9de717",
                "name": "B-P1-SALA-1",
                "posterCode": "B-P1-SALA-1",
                "image": "https://api.develop.bookkercorp.com/api/v1/bookker/download/organizations/8aee218a-fce2-4900-9410-00f485a2729e/users/5432a51ff76e4e349a0fcd6759eeaa0a.jpeg",
                "externalSyncEmail": "sala1.saturno@bookker.es",
                "externalSyncId": "AAMkADE5OGZiMDE1LTBjNjMtNDRjNS1iNTgwLTMzMjRjNjU5YzU4YgBGAAAAAABh91Z1GtCRRLOce-sYlVKiBwDHfNsBskn-T7uYpbg2_X4XAAAAAAEGAADHfNsBskn-T7uYpbg2_X4XAAAAADcyAAA=",
                "mapCoordinates": {
                    "topLeftX": 561,
                    "topLeftY": 695,
                    "bottomRightX": 621,
                    "bottomRightY": 755
                },
                "approachable": false,
                "floor": {
                    "id": "14ab4017-1261-46ff-af05-eadf5d3d69e8",
                    "name": "Planta 1",
                    "floorNumber": 1,
                    "image": "8aee218a-fce2-4900-9410-00f485a2729e/buildings/758a81f3-f171-404b-b48c-c922828aed49/floors/14ab4017-1261-46ff-af05-eadf5d3d69e8/maps/40d25abc74f043f4afff218f02d2e024.png",
                    "building": {
                        "id": "758a81f3-f171-404b-b48c-c922828aed49",
                        "name": "Jupiter Building",
                        "address": {
                            "country": "ES",
                            "city": "Madrid",
                            "address": "Avenida Gran Vía, 85",
                            "coordinates": null
                        },
                        "organization": {
                            "id": "8aee218a-fce2-4900-9410-00f485a2729e"
                        },
                        "timezone": "Europe/Madrid",
                        "status": "ACTIVATED"
                    },
                    "status": "ACTIVATED",
                    "type": "OFFICE",
                    "visible": true
                },
                "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
                },
                "resourceRule": {
                    "id": "eddb63d2-744a-4924-8489-5988be62c203",
                    "advanceCheckIn": 900000,
                    "expirationMargin": 900000
                },
                "visible": true,
                "capacity": 1,
                "features": [
                    {
                        "id": "2c17a0c5-52c9-454b-838f-588901e7edf8",
                        "name": "Proyector",
                        "email": "txoflas@gmail.com",
                        "organization": {
                            "id": "8aee218a-fce2-4900-9410-00f485a2729e"
                        }
                    }
                ]
            },
            "subject": "",
            "body": {
                "content": "<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\r\n<meta content=\"text/html; charset=iso-8859-1\">\r\n</head>\r\n<body>\r\n<div style=\"width:100%; height:20px\"><span style=\"white-space:nowrap; color:gray; opacity:.36\">________________________________________________________________________________</span>\r\n</div>\r\n<div class=\"me-email-text\" style=\"color:#252424; font-family:'Segoe UI','Helvetica Neue',Helvetica,Arial,sans-serif\">\r\n<div style=\"margin-top:24px; margin-bottom:10px\"><a class=\"me-email-headline\" href=\"https://teams.microsoft.com/l/meetup-join/19%3ameeting_NDY4NmQ3OTMtMzk0OC00NjJiLTgwODMtZmNlNDAyMThkZDA3%40thread.v2/0?context=%7b%22Tid%22%3a%2264240f84-e63e-430b-9e6f-58c3f523fe5e%22%2c%22Oid%22%3a%22a3ee1e3f-c10a-4d11-90e8-7b846488c2ec%22%7d\" target=\"_blank\" rel=\"noreferrer noopener\" style=\"font-size:18px; font-family:'Segoe UI Semibold','Segoe UI','Helvetica Neue',Helvetica,Arial,sans-serif; text-decoration:underline; color:#6264a7\">Unirse\r\n a reunión de Microsoft Teams</a> </div>\r\n<a class=\"me-email-link\" target=\"_blank\" href=\"https://aka.ms/JoinTeamsMeeting\" rel=\"noreferrer noopener\" style=\"font-size:12px; text-decoration:none; color:#6264a7\">Más información sobre Teams</a> |\r\n<a class=\"me-email-link\" target=\"_blank\" href=\"https://teams.microsoft.com/meetingOptions/?organizerId=a3ee1e3f-c10a-4d11-90e8-7b846488c2ec&tenantId=64240f84-e63e-430b-9e6f-58c3f523fe5e&threadId=19_meeting_NDY4NmQ3OTMtMzk0OC00NjJiLTgwODMtZmNlNDAyMThkZDA3@thread.v2&messageId=0&language=es-ES\" rel=\"noreferrer noopener\" style=\"font-size:12px; text-decoration:none; color:#6264a7\">\r\nOpciones de la reunión</a>\r\n<div style=\"font-size:14px; margin-bottom:4px\"></div>\r\n<div style=\"font-size:12px\"></div>\r\n</div>\r\n<div style=\"width:100%; height:20px\"><span style=\"white-space:nowrap; color:gray; opacity:.36\">________________________________________________________________________________</span>\r\n</div>\r\n</body>\r\n</html>\r\n",
                "bodyType": "HTML"
            },
            "resourceType": "SPACE",
            "buildingAccessStatus": "PENDING",
            "onlineMeetingUrl": "https://teams.microsoft.com/l/meetup-join/19%3ameeting_NDY4NmQ3OTMtMzk0OC00NjJiLTgwODMtZmNlNDAyMThkZDA3%40thread.v2/0?context=%7b%22Tid%22%3a%2264240f84-e63e-430b-9e6f-58c3f523fe5e%22%2c%22Oid%22%3a%22a3ee1e3f-c10a-4d11-90e8-7b846488c2ec%22%7d",
            "onlineMeetingProvider": "TeamsForBusiness",
            "isExternalOrganizer": true,
            "externalOrganizerEmail": "pepe@emailfalso.com"
        },
        {
            "id": "ff0f02e5-a912-47c4-a0d0-bd2cd9906349",
            "startDate": 1602252000000,
            "endDate": 1602255600000,
            "duration": 3600000,
            "status": "PENDING",
            "accessControlType": "ORGANIZER",
            "creator": {
                "id": "304a9cba-ad72-49a1-8782-9ac9a36cd8e7",
                "name": "Aitor",
                "surname": "Jupiter",
                "alias": "072919a68fbd42aead115dbee1b02620",
                "email": "aitor.gil@bookkercorp.com",
                "organization": {
                    "id": "8aee218a-fce2-4900-9410-00f485a2729e"
                },
                "userRule": {
                    "id": "304a9cba-ad72-49a1-8782-9ac9a36cd8e7"
                },
                "mobileRole": {
                    "id": "1dfde059-da65-49c9-8db3-dccc4f3292e4"
                },
                "canBeSearched": false,
                "type": "BOOKKER_INTERNAL",
                "userLanguage": "es"
            },
            "organizer": {
                "id": "304a9cba-ad72-49a1-8782-9ac9a36cd8e7",
                "name": "Aitor",
                "surname": "Jupiter",
                "alias": "072919a68fbd42aead115dbee1b02620",
                "email": "aitor.gil@bookkercorp.com",
                "organization": {
                    "id": "8aee218a-fce2-4900-9410-00f485a2729e"
                },
                "userRule": {
                    "id": "304a9cba-ad72-49a1-8782-9ac9a36cd8e7"
                },
                "mobileRole": {
                    "id": "1dfde059-da65-49c9-8db3-dccc4f3292e4"
                },
                "canBeSearched": false,
                "type": "BOOKKER_INTERNAL",
                "userLanguage": "es"
            },
            "resource": {
                "id": "729ec5ec-76df-41a7-bf82-9c6b8296b237",
                "name": "B-P1-COMEDOR-10",
                "posterCode": "B-P1-COMEDOR-10",
                "image": "https://api.develop.bookkercorp.com/api/v1/bookker/download/organizations/8aee218a-fce2-4900-9410-00f485a2729e/users/5432a51ff76e4e349a0fcd6759eeaa0a.jpeg",
                "approachable": false,
                "floor": {
                    "id": "14ab4017-1261-46ff-af05-eadf5d3d69e8",
                    "name": "Planta 1",
                    "floorNumber": 1,
                    "image": "8aee218a-fce2-4900-9410-00f485a2729e/buildings/758a81f3-f171-404b-b48c-c922828aed49/floors/14ab4017-1261-46ff-af05-eadf5d3d69e8/maps/40d25abc74f043f4afff218f02d2e024.png",
                    "building": {
                        "id": "758a81f3-f171-404b-b48c-c922828aed49",
                        "name": "Jupiter Building",
                        "address": {
                            "country": "ES",
                            "city": "Madrid",
                            "address": "Avenida Gran Vía, 85",
                            "coordinates": null
                        },
                        "organization": {
                            "id": "8aee218a-fce2-4900-9410-00f485a2729e"
                        },
                        "timezone": "Europe/Madrid",
                        "status": "ACTIVATED"
                    },
                    "status": "ACTIVATED",
                    "type": "OFFICE",
                    "visible": true
                },
                "subcategory": {
                    "id": "ddbf3210-e907-45eb-8b33-efb649b00b02",
                    "name": "Plaza de comedor",
                    "category": "DINNING_AREA",
                    "organization": {
                        "id": "8aee218a-fce2-4900-9410-00f485a2729e"
                    },
                    "deleteHistorial": false,
                    "hideBookings": false,
                    "canBeSearched": true,
                    "shifts": false
                },
                "visible": true
            },
            "resourceType": "DINNING_AREA",
            "buildingAccessStatus": "PENDING",
            "dinningAreaRuleShift": {
                "id": "e5e5db75-be33-4d27-b36b-48b3a32fa731",
                "dinningAreaRuleId": "758a81f3-f171-404b-b48c-c922828aed49",
                "startMs": 57600000,
                "endMs": 61200000
            }
        }
    ]
}