List of the Services
The description of each field has been provided in the following table:
Service Name | URI | Type | Description | Input | Output |
---|---|---|---|---|---|
Create Booking | /booking-api/api/v1/booking | POST | Create a Booking | Booking Json | Booking number with status of Success or Failure |
Cancel Booking | /booking-api/api/v1/booking/{booking-id} | PATCH | Cancel a Booking | Booking Json | Booking number with status of Success or Failure |
Update Draft Booking | /booking-api/api/v1/booking/{booking-id} | PUT | Update Booking | Booking Json | Booking number with status of Success or Failure |
Delete Draft Booking | /booking-api/api/v1/booking | DELETE | Delete Draft Booking | Booking Json | Booking number with status of Success or Failure |
Accept Booking | /booking-api/api/v1/booking/{booking-id}/accept | PATCH | Accept Booking | Booking Json | Booking number with status of Success or Failure |
Reject Booking | /booking-api/api/v1/booking/{booking-id}/reject | PATCH | Reject Booking | Booking Json | Booking number with status of Success or Failure |