Skip to content

Lock fail

When a vehicle with IoT return in a station, the API will send a lock command automatically to the vehicle when you confirm lock or directly if this vehicle is present inside the cache of the station. This lock request can fail if the IoT has lost the network or if the gateway encounter an error. In this case, the lock fail event will be fired.

Body parameters

  • event: lock-failed
  • vehicle (integer): The identifier of the vehicle.
  • data: (json object).
    • message (string): Cause of the error.

Body example

{
    "event": "lock-failed",
    "vehicle": 156,
    "data": {
        "message": "Vehicle IoT command failed due to a network error"
    }
}