Skip to main content

How to Get a Vehicle ID

Learn how to obtain a Vehicle ID.

You will need a vehicleId for:

The vehicleId can be stripped out of the name key in the Vehicle resource:

{
"name": "vehicles/aAbBcCdDeEfFgGhHiIjJ",
"state": "VEHICLE_STATE_ON_TRIP",
"vehicleType": "VEHICLE_TYPE_SCOOTER",
"batteryPercentage": 0,
"latitude": 0,
"longitude": 0,
"tripId": "OOzz00WFRXbpKKw6EeNN",
"regionId": "city",
"identificationCode": "AAABBB",
"manualLock": "MANUAL_LOCK_STATE_UNSPECIFIED",
"timestamp": "2000-06-30T13:35:07Z"
}