Finish Parking Session
DELETE/zonesessions
Finishes any active "on-street" parking sessions for a user.
Request
Header Parameters
Authentication header obtained from POST /authenticate
or POST /user
that identifies the user making this call.
Responses
- 201
- 400
- 401
- 404
- 500
Created
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
A unique identifier for this parking zone session in LetMePark database
The identifier for a regulated parking zone
The name of the regulated parking zone
The name of the regulated parking zone
The name/identifier of the parking city
Unique id for a user (with payment method).
Possible values: >= -90
and <= 90
The geo latitude of the user at the time of the activation request
Possible values: >= -180
and <= 180
The geo longitude of the user at the time of the activation request
The address where the user was located
The time when user started parking in this zone
The time when user finshed parking in this zone
The duration of parking in this zone (in minutes)
The maximum parking duration allowed in this zone (in minutes)
Possible values: [ACTIVE
, FINISHED
]
The status of the session (ACTIVE
or FINISHED
)
The price for this zone session once FINISHED
.
The price for this zone session per hour in BCN. The price for this zone session without commission in MADRID.
The maximum price to be charged in this zone session. Only for BCN.
addons object[]
Only for BCN. Supplements applied depending on area and vehicle
A unique identifier for this addon session
Type of suplement (pollution, vehicle...)
Total price of suplement add form this zone/vehicle
Suplement form this zone/vehicle
Tag for type of tariffs applies for this zone
Number plate of vehicle used for this parking session
Brand of vehicle used for this parking session
Model of vehicle used for this parking session
Possible values: [0
, C
, B
, ECO
]
The environmental tag of vehicle used for this parking session
A phone number for support if there are any problems (phone + whatsapp)
An email address for support if there are any problems.
{
"uid": "f833b1104e702ad16a4f8b36a359",
"lmpzid": "provider-C01B031T0",
"zone_name": "AZUL",
"zone_subname": "Barrio 56",
"city": "MADRID",
"user_uid": "6e5f243a26fe",
"lat": 40.4673829,
"long": -3.6823719,
"address": "Calle Mateo Inurria 25-27, 28029 Madrid",
"start": "2020-02-16T11:30:00.000+01:00",
"end": "2020-02-16T12:37:00.000+01:00",
"duration": 67,
"max_duration": 120,
"status": "ACTIVE",
"price": 2.55,
"original_price": 2.5,
"maxAmount": 2.5,
"addons": [
{
"id": "2",
"description": "Episodio contaminación (+2€/h)",
"addonAmount": 1.25,
"amount": 0,
"type": "A"
}
],
"number_plate": "0388VCP",
"car_brand": "Seat",
"car_model": "Ibiza",
"car_tag": "B",
"support_phone": "+34658206038",
"support_email": "parker@letmepark.app"
}
Bad request (ie. Missing or invalid lmpzid
)
Unauthorized (ie. Incorrect or missing x-access-token
)
Not found (ie. No recent parking sessions)
Internal server Error (ie. Database down)