Locked
This event is fired when a the vehicle locked.
Body parameters
event
: lockedvehicle
(integer): The identifier of the vehicle.data
: (json object).time
(integer): The time in milliseconds since Epoch when the scooter locked.lock
(integer): The identifier of the lock, as it was in the lock request. The value is 0 if the vehicle lock is not on a lock request (ex: lock in station, mechanical locking...).inStation
(json object, optional): An object containing location information for a station and a location. Present when the vehicle is in a station at the time it is locked.station
(integer): The identifier of the station where the spot containing the vehicle.spot
(integer): The number of the spot containing the vehicle.
Body example
{
"event": "locked",
"vehicle": 156,
"data": {
"time": 1588171211824,
"unlock": 656411,
"inStation": {
"station": 234568797,
"spot": 4
}
}
}