API endpoints for Parking Attendant in a Parking Lot. #5
akash-bhardwaj
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Use Case : Check empty/available spots
GET /parking-spots?status="Available"
Use Case : Issue a ticket
POST /issue-ticket
{
"parking_lot_name" : "parking lot 1, parking lot 2...",
"parking_floor_name" : "parking floor 1, parking floor 2",
"parking_spot_type" : "small/medium/large",
"parking_spot_number" : 1,2,3...
}
Use Case : Collect Payment
POST /collect-payment
{
"parking_spot_type" : "small/medium/large",
"parking_spot_number" : 1,2,3...
"parking_ticket_number" : 1, 2,3....
"mode_of_payment" : "Cash/Online/UPI/Credit/Debit Card"
}
Use Case : Checkout Vehicle
POST /checkout-vehicle
{
"parking_spot_type" : "small/medium/large",
"parking_spot_number" : 1,2,3...
"parking_ticket_number" : 1, 2,3....
}
Beta Was this translation helpful? Give feedback.
All reactions