Get the RoomId and the Name of a customer.
API Server: https://bookings.roomonitor.com
Endpoint: /get-rooms/{userId}
HTTP Method:
GET
Authenticated: true
Parameters:
Auth headers:
Code: 200
Response:
[
{ "_id": "3wuSW3TkBdQQ3KSR67A", "name": "ROOM 1" },
{ "_id": "G4a3yXNJjC7GhzP", "name": "ROOM 2" }
]
Code: 401
Response:
{ status: 401, message: 'Unauthorized' }
Code: 400
Response:
{ status: 400, message: "No users associated with this user id" }
Code: 400
Response:
{ status: 400, message: "No rooms associated with this user id" }