Kizspy.me
Question 2 (1.5 points) - Retrieve Bookings by User ID
Task: Develop an API to fetch all bookings associated with a specific user.
API Details:
• Method: GET
•
URI:
http://localhost:9999/api/bookings/user/:userld
• Response: Array of booking records with fields:
{
"_id": "..."
"event":{
},
"name": ""
"date": "..."
"quantity":...
},
PESAN Summer 2025
Question 3 (3 points) - Retrieve Book Details with User and Event
Information
Task: Build an API to get full details
information.
API Details:
specific booking, including user and event
Zoom
+ 100%
Close