This is the list of event types that we currently send.
For guidance on how to listen to these events, take a look at Svix's guide to consuming webhooks.
5 Items
2 Items
{
"alertDefinitionId": "h9v1j-51p5d-pqv5p-b4q33-h283d",
"createdAt": "2024-01-15T10:30:00Z",
"currentSeverity": "MEDIUM",
"definition": {
"category": {
"code": "TIRE_PRESSURE",
"description": "Low tire pressure or abnormal tire conditions detected",
"id": "fds95-z9cnz-8e0nz-rrqe6-sp835",
"name": "Tire pressure"
},
"description": "A tire is losing pressure",
"id": "h51p5d-pqv5p-b4q33-h283d-h9v1j",
"message": "Tire pressure is below the recommended level",
"name": "Tire deflating"
},
"id": "h283d-h9v1j-51p5d-pqv5p-b4q33",
"metadata": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:35:00Z"
},
"muted": false,
"oemAlerts": [
{
"affectedComponent": "TIRES",
"mappedCode": "TIRE_DEFLATING_ALERT",
"mappedMessage": "Tire deflating alert",
"oemCode": "TIRE_DEFLATING_ALERT",
"oemMessage": null,
"oemMetadata": {
"daily_tires_deflation_rate": -1.1,
"daily_tires_deflation_rate_recent": -1.6,
"daily_tires_pump_up_count": 0,
"hourly_tires_deflation_rate": 0.4,
"hourly_tires_pump_up_count": 0,
"recent_tires_pump_up_count": 0
},
"recommendedAction": "SERVICE_REQUIRED",
"severity": null,
"status": "ACTIVE",
"type": "FAULT"
}
],
"oemDeviceId": "h51p5d-pqv5p-b4q33-h283d-h9v1j",
"resolutions": [
{
"definition": {
"description": "Check and adjust tire pressure",
"id": "hb4q33-h283d-h9v1j-51p5d-pqv5p",
"name": "Tire Pressure Check"
},
"id": "hpqv5p-b4q33-h283d-h9v1j-51p5d",
"status": "PENDING",
"steps": [
{
"definition": {
"description": "Check tire pressure",
"id": "h9v1j-51p5d-pqv5p-b4q33-h283d",
"order": 1
},
"id": "hh283d-h9v1j-51p5d-pqv5p-b4q33",
"status": "PENDING"
}
]
}
],
"status": "ACTIVE",
"triggerDescription": null,
"triggerName": "Trigger",
"vin": "WBYF2AW010FN82675"
}Enum for available commands.
Enum for command execution status.
{
"command": "START_CHARGING",
"deviceId": "h9v1j-51p5d-pqv5p-b4q33-h283d",
"deviceType": "VEHICLE",
"failedReason": null,
"id": "h283d-h9v1j-51p5d-pqv5p-b4q33",
"status": "EXECUTED",
"timestamp": "2024-01-15T10:30:00Z"
}{
"deviceType": "VEHICLE",
"id": "h283d-h9v1j-51p5d-pqv5p-b4q33",
"timestamp": "2024-01-15T10:30:00Z"
}{
"deviceType": "VEHICLE",
"id": "h283d-h9v1j-51p5d-pqv5p-b4q33",
"timestamp": "2024-01-15T10:30:00Z",
"vin": "WBYF2AW010FN82675"
}{
"metricType": "STATE_OF_CHARGE",
"stateOfCharge": {
"unit": "percent",
"value": 85.5
},
"timestamp": "2024-01-15T10:30:00Z",
"vehicle": {
"id": "h283d-h9v1j-51p5d-pqv5p-b4q33",
"vin": "WBYF2AW010FN82675"
}
}{
"distanceTravelledKm": 25.5,
"energyEndKwh": 59.8,
"energyStartKwh": 65,
"energyUsedKwh": 5.2,
"id": "h283d-h9v1j-51p5d-pqv5p-b4q33",
"odometerEnd": 45255.5,
"odometerStart": 45230,
"socEnd": 77,
"socStart": 85,
"socUsed": 8,
"startLatitude": 37.7749,
"startLongitude": -122.4194,
"startTimestamp": "2024-01-15T10:00:00Z",
"stopLatitude": 37.7849,
"stopLongitude": -122.4094,
"stopTimestamp": "2024-01-15T10:35:00Z",
"timestamp": "2024-01-15T10:35:00Z",
"vehicleId": "h9v1j-51p5d-pqv5p-b4q33-h283d",
"vin": "WBYF2AW010FN82675"
}{
"domain": "VEHICLE",
"key": "BMW_ENERGY_API_COMMANDS",
"maxRequests": 100,
"objectId": "h283d-h9v1j-51p5d-pqv5p-b4q33",
"remainingRequests": 10,
"timestamp": "2024-01-15T10:30:00Z",
"windowSizeSeconds": 3600
}{
"deviceType": "VEHICLE",
"id": "uuid-of-vehicle"
}{
"location": {
"unit": "degree",
"value": {
"latitude": 70.02323,
"longitude": 79.2323
}
},
"metricType": "LOCATION",
"timestamp": "2024-10-16T09:00:01Z",
"vehicle": {
"id": "uuid-of-vehicle",
"vin": "vehicle-vin"
}
}