Use case / Tracking
Webhooks / Inbound

Tracking Update

Webhook for tracking updates.

Push to the endpoint to update tracking information for a resource.

post/v1/webhook/tracking-update

Request body

Example request

{
  "updates": [
    {
      "tracking_match": {
        "matches_any": [
          {
            "resource": {
              "driver": {
                "name": {
                  "matches_any": [
                    "John Doe"
                  ]
                }
              },
              "vehicle": {
                "generic_id": {
                  "matches_any": [
                    "VEH-001"
                  ]
                }
              },
              "subcontractor": {
                "name": {
                  "matches_any": [
                    "Acme Logistics"
                  ]
                }
              },
              "container": {
                "generic_id": {
                  "matches_any": [
                    "CONT-001"
                  ]
                }
              }
            }
          }
        ]
      },
      "tracking_update_data": [
        {
          "position": {
            "timestamp": "2024-01-15T10:30:00Z",
            "latitude": 51.0543,
            "longitude": 3.7174
          },
          "temperature": {
            "timestamp": "2024-01-15T10:30:00Z",
            "temperatures": [
              {
                "sensor": "sensor-1",
                "temperature": -18.5
              }
            ],
            "temperature_setpoints": [
              {
                "sensor": "sensor-1",
                "temperature": -18.5
              }
            ]
          },
          "tachograph": {
            "timestamp": "2024-01-15T10:30:00Z",
            "driving_since": "2024-01-15T08:00:00Z",
            "next_break_at": "2024-01-15T12:30:00Z"
          },
          "fuel": {
            "timestamp": "2024-01-15T10:30:00Z",
            "fuel_level_percentage": 75
          },
          "mileage": {
            "timestamp": "2024-01-15T10:30:00Z",
            "mileage_meter": 150000
          },
          "weight": {
            "timestamp": "2024-01-15T10:30:00Z",
            "axle_weight": 8500
          },
          "voltage": {
            "timestamp": "2024-01-15T10:30:00Z",
            "external_power_supply_voltage_mv": 24000
          }
        }
      ]
    }
  ]
}

Response

Successful Response

Changes

No recorded changes to this endpoint across all 1 revision of this API.