Info zone pollution
POST/zonepollution
Returns a info about tax for pollution and vehicle.
Request
Header Parameters
Authentication header obtained from POST /authenticate
or POST /user
that identifies the user making this call.
- application/json
Body
required
Zone details
The identifier for a regulated parking zone
Possible values: >= -90
and <= 90
The geo latitude of the user at the time of the polution info request
Possible values: >= -180
and <= 180
The geo longitude of the user at the time of the polution info request
Number plate of the vehicle for the polution info request (uppercase, without spaces)
Responses
- 201
- 400
- 401
- 402
- 500
Created
- application/json
- Schema
- Example (from schema)
Schema
Information about type of vehicle and his type of bonification or penalty. Only in Madrid
Information about the state of the zone according to contamination
Bonification or penalty on the price of depending on the type of vehicle
{
"vehicle_type": "Vehiculo tipo C+44% (Alta contaminación tramo1 +60%)",
"info_pollution": "RECARGO POR ALTA CONTAMINACIÓN TRAMO1",
"bonification": 1.44
}
Bad request (ie. Missing or invalid lmpzid
)
Unauthorized (ie. Incorrect or missing x-access-token
)
Payment Required (ie. User has no valid payment method)
Internal server Error (ie. Database down)