Retrieves bookings filtered by user ID and type
cURL
curl --request GET \ --url http://localhost:3000/api/bookings/get-bookings-by-user-id-and-type
{ "bookings": [ { "id": "<string>", "status": "<string>", "dateTimestamp": 123, "startTime": 123, "endTime": 123, "totalFee": "<string>", "depositFee": "<string>", "location": "<string>" } ], "totalCount": 123 }
The ID of the user
The type of user (artist or customer)
artist
customer
Bookings retrieved successfully
Show child attributes