Recuperar la información de un recurso
Última modificación: 10/07/2023
Se devuelve la información de la planta, el edificio, la regla de parking y de comedor en caso de que exista.
Request
HTTP request
GET /api/v1/resources/{resourceId}/info
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer eyJ0eXBlIjoiSldUIiwiYWxnIjoiSFM1MT… | true |
Response
Si se ha conseguido recuperar la información se devuelve un 200 OK.
{
"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"
},
"status": "ACTIVATED",
"type": "OFFICE",
"visible": true
},
"building": {
"id": "758a81f3-f171-404b-b48c-c922828aed49",
"name": "Júpiter 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
},
"parkingRule": {
"parkingRuleId": "758a81f3-f171-404b-b48c-c922828aed49",
"maximumAdvance": 324000000,
"maxParkingBooking": {
"timePeriodMs": 403200000,
"timePeriodType": "WEEKLY"
},
"maximumCessionRecovery": 3600000,
"choiceOfPlace": true,
"accessControlType": "ORGANIZER",
"expirationMargin": 3600000,
"scannerCheckIn": false,
"timePreCheckInMs": 300000,
"multipleShiftsSelection": true,
"fixedResourcesAccessControlType": "OPTIONAL"
},
"dinningAreaRule": {
"id": "758a81f3-f171-404b-b48c-c922828aed49",
"mandatoryCheckIn": true,
"expirationMargin": 300000,
"choiceOfPlace": true,
"allowMoreThanOneBooking": true,
"maximumAdvance": 10
}
}