[OPTIONAL] Driver Details

Adding Driver Details

Shipments can also have the driver detail added. To create shipments with driver detail information, simply invoke the ShipmentContent Object with the optional parameters as seen below:

Parameter

Type

Description

DriverFirstName

String

First name of the driver.

DriverLastName

String

Last name of the driver.

DriverPhoneNumber

Integer

Phone number of the driver in E.164 format. US numbers will default to +1 if not provided. All numbers outside of the US must be in E.164 format.

DriverEmailAddress

String

Email of driver of shipment

TenantExternalId

Integer

The external ID of the freight provider that will be posting the freight on behalf of a client.

HasTeamDrivers

Boolean

True for shipments with team driver, false for shipments without team driver.

Here is an example JSON with driver details in use:

{
  "FreightProviderReferenceNumber":"7251986",
  "CarrierScac":"TEST",
  "Stops":
  [
    {
      "StopReference":"1",
      "StopScheduledDatePart":"2018-08-11",
      "StopSequence":1,
      "StopType":1,
      "Latitude":50.1234,
      "Longitude":-45.1234
    },
    {
      "StopReference":"2",
      "StopScheduledDatePart":"2018-08-12",
      "StopSequence":2,
      "StopType":3,
      "Latitude":50.4920,
      "Longitude":-44.5543
    }
  ],
  "DriverFirstName":"Emilio",
  "DriverLastName":"Estevez",
  "DriverPhoneNumber":"+15555551212",
  "DriverEmailAddress":"[email protected]",
  "TenantExternalId":839281,
  "HasTeamDrivers":1
}