List User Vehicles
GET/vehicles
Lists all vehicles for a user.
If a user has a valid payment method, these vehicles will be used for automated entry into parkings that support this facility.
The response header `x-total-records` will return the total number of vehicles for this user, this might be useful when paginating over a lot of results.
Request
Query Parameters
Default value: 100
Number of records to return (defaults to 100, max 1000)
Number of records to skip/offset (for pagination, defaults to 0)
Header Parameters
Authentication header obtained from POST /authenticate
that identifies the user making this call.
Authentication header obtained from POST /authenticate
that identifies the client making this call.
Authentication header obtained from POST /authenticate
that identifies the user making this call.
Responses
- 200
- 401
- 500
OK
Response Headers
x-total-records integer
Total number of vehicles for this user
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
Number plate for the vehicle. Uppercase, without spaces (ie 0388VCP
)
The brand of the vehicle (ie Seat
)
The model of the vehicle (ie Ibiza
)
Possible values: [0
, C
, B
, ECO
]
The environmental tag for the vehicle (ie C
)
Default value: ``
List of suppliers with automatic access to register the vehicle. Those that were previously on the list and are not sent will be cancelled.
[
{
"plate": "0388VCP",
"brand": "Seat",
"model": "Ibiza",
"tag": "C",
"listProviders": [
"parkia",
"moviltik"
]
}
]
Unauthorized (ie. Incorrect or missing x-access-token
)
Internal server Error (ie. Database down)