Loading...
RESERVE PLACE
POST /reserve
{
"car_plate": "str",
"lot_id": "str",
"check_in_time": "timestamp",
"check_out_time": "timestamp"
}
RESPONSE
{
"reserve_id": "str",
"price": "str"
}
CheckIn
REQUEST
POST /lot/check-in
{
"car_plate": "str
}
RESPONSE
SUCCESS
or
NO ACTUAL RESERVATION FOR THIS VEHICLE FOUND
CheckOut
POST /lot/check-out
{
"cat_plate": "str
}
RESPONSE
SUCCESS
or
THERE IS A PARKING DEBT FOR A VEHICLE
List of parking lots
GET /parking
{
lot_ids: ["str", "str", ...]
}
GET /parking?free=ture&size=medium
{
lot_ids: ["str", "str", ...]
}
GET /parking/{id}
{
lot_id: "str"
}
POST /parking/debt
{
"car_plate": int
}
POST /parking/pay
REQUEST
{
"car_data": "str"
"car_plate": "str"
}