Created
September 24, 2019 16:34
-
-
Save paynegreen/2dd9f12a72f5ac75f2eec9ef1351c7af to your computer and use it in GitHub Desktop.
Bookings response
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{ | |
"id": "uuid", | |
"name": "Room", | |
"price_per_hour": "10.0", | |
"capacity": 10, | |
"amenities": [ | |
"projector", | |
"wifi" | |
], | |
"description": "fits up to 10 people", | |
"can_book": true, | |
"category": { | |
"color": "", | |
"name": "" | |
}, | |
"photo": "https://co-up.cobot.me/path/to/default_photo_size.jpg", | |
"min_booking_duration": 0, | |
"max_booking_duration": 120, | |
"booking_url": "https://co-up.cobot.me/api/resources/12345/bookings", | |
"room_availability": [{ | |
"from": "10:00", | |
"to": "17:00", | |
"weekdays": [1, 2] | |
}], | |
"booked_slots": [{ | |
"from": "10:00", | |
"to": "17:00" | |
}] | |
}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment