hasancse1991

GET Bookings (/api/bookings/location/{locationId}. Here locationId is optional)

Dec 3rd, 2021 (edited)
807
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.88 KB | None | 0 0
  1. {
  2.   "locations": [
  3.     {
  4.       "id": "UUID",
  5.       "address": "12, Mirpur 1, Dhaka"
  6.     },
  7.     {
  8.       "id": "UUID",
  9.       "address": "12, Mirpur 1, Dhaka"
  10.     },
  11.     {
  12.       "id": "UUID",
  13.       "address": "12, Mirpur 1, Dhaka"
  14.     }
  15.   ],
  16.   "data": {
  17.     "selectedLocationId": "UUID",
  18.     "upcomingBooking": {
  19.       "id": "UUID",
  20.       "title": "Meeting Room 404",
  21.       "image": "https://xyz.png",
  22.       "startTime": "2022-05-20T18:00:00Z",
  23.       "endTime": "2022-05-25T18:00:00Z"
  24.     },
  25.     "category": [
  26.       {
  27.         "id": "UUID",
  28.         "name": "Hotel Room",
  29.         "image": "https://xyz.png",
  30.         "availability": "7 Rooms",
  31.         "capacity": "7-8 Person"
  32.       },
  33.       {
  34.         "id": "UUID",
  35.         "name": "Hotel Room",
  36.         "image": "https://xyz.png",
  37.         "availability": "7 Rooms",
  38.         "capacity": "7-8 Person"
  39.       }
  40.     ]
  41.   }
  42. }
Add Comment
Please, Sign In to add comment