-
URL: /property/:propertyId/reservation
- Description: Route to retrieve all reservations for a specific property
- Method:
GET
- Route Parameters:
propertyId=[integer]
- Query Parameters:
false
- Body:
false
-
URL: /property/:propertyId/reservation
- Description: Route to handle inserting a new reservation for a specific property
- Method:
POST
- Route Parameters:
propertyId=[integer]
- Query Parameters:
false
- Body:
userId=[integer]
addressId=[integer]
startDate=[date]
endDate=[date]
guestCount=[integer]
numadult=[integer]
numchildren=[integer]
numinfants=[integer]
-
URL: /property/:propertyId/reservation/:reservationId
- Description: Route to handle updating an already existing reservation for a specific property
- Method:
PATCH
- Route Parameters:
propertyId=[integer]
reservationId=[integer]
- Query Parameters:
false
- Body:
userId=[integer]
addressId=[integer]
startDate=[date]
endDate=[date]
guestCount=[integer]
-
URL: /property/:propertyId/reservation/:reservationId
- Description: Route to handle deleting a reservation for a specific property
- Method:
DELETE
- Route Parameters:
propertyId=[integer]
reservationId=[integer]
- Query Parameters:
false
- Body:
false
-
Notifications
You must be signed in to change notification settings - Fork 0
ScaleBnB/calendar
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published