Skip to content

Load Track Location Webhook

Request

Receives location updates for load tracks.

Bodyapplication/json
partnerIdinteger

This is a unique integer id that is assigned to the Partner system to identify the Partner system by the Load Track system. This has to be sent on each webservice call.

Example:123
accountIdstring

Unique identifier of the Agent in the Broker System that entered the Load Track. This accountId has to be encrypted with the shared secret of the partner. This shared secret will be shared during the integration process.

Example:"abcd123"
loadTrackIdinteger

The unique identifier of the load in TT system.

Example:1234
loadTrackExternalIdinteger

The unique identifier of the Load in the Partner system.

Example:12345
ltExternalIdstring
Example:123456
carrierExternalIdstring

The unique identifier of the carrier in the Partner System

Example:null
driverPhonestring

Ten-digit cell phone number of driver that will haul the load.

Example:1231231234
loadNumberstring

Load Number that is specified by the Broker. This could be the pro number.

Example:1234
eventTypestring

Event type of the webhook being sent; can be LocationUpdate, StatusUpdate, DocumentUpdate, or CommentUpdate.

Example:"LocationUpdate"
latestStatusobject(Status)
latestLocationobject(Location)
driverobject
curl -i -X POST \
  https://developer.truckertools.com/_mock/apis/loadtrackwebhooks/loadtrack/locationupdate \
  -H 'Content-Type: application/json' \
  -d '{
    "partnerId": 123,
    "accountId": "abcd123",
    "loadTrackId": 1234,
    "loadTrackExternalId": 12345,
    "ltExternalId": 123456,
    "carrierExternalId": null,
    "driverPhone": 1231231234,
    "loadNumber": 1234,
    "eventType": "LocationUpdate",
    "latestStatus": {
      "name": "Tracking",
      "code": "TLT",
      "timestamp": "01/18/2023 17:32 CST",
      "timestampSec": "01/18/2023 17:32:48 CST",
      "timestampUTC": "01/18/2023 23:32:48"
    },
    "latestLocation": {
      "lat": 41.788933,
      "lon": -86.945915,
      "accuracy": 4.745,
      "timestampSec": "01/18/2023 17:32:48 CST",
      "timestamp": "01/18/2023 17:32 CST",
      "timestampUTC": "01/18/2023 23:32:48 UTC",
      "provider": "APP",
      "city": "Oak Creek",
      "state": "WI",
      "country": "USA"
    },
    "driver": {
      "name": "John Doe",
      "phoneNumber": "1234567890"
    }
  }'

Responses

OK