Loading...
check_available(): get list of available parking spot at specific time slot
GET /check_availability?timeslot={time_slot}
response (200)
parking_ids: [available parking_id]
reserve(): reserve parking spot
POST /reserve
Body:
timeslot: slot of date time
parking_id: available parking id
response (200)
status: SUCCESS
check_in(): check in
POST /checkIn
Body:
response (200)
status: SUCCESS
check_out(): check out
post /checkOut
Body:
response (200)
status: SUCCESS
update(): update parking spot status after successful payment
post /update
Body:
response (200)
status: SUCCESS
Microservice:
Database:
Reservation Service