Updating Shipment Tractor and Trailer Number

Updating Shipment Tractor and Trailer Reference Numbers

To PATCH a shipment's tractor reference number or trailer reference number, you'll need to first provide the specific FreightProviderReferenceNumber with your 10-4 provided FreightHaulerProviderXID or the TenFourLicensePlate.

To PATCH a tractor or trailer, the following fields are required:

1. FreightProviderReferenceNumber and FreightHaulerProviderXID
2. TenFourLicensePlate
{
  "FreightProviderReferenceNumber":"12345670",
  "FreightHaulerProviderXID":"ABD3820AI"
}
{
  "TenFourLicensePlate":"T9302NB"
}

Adding the Carrier

Next, in order to assign a shipment to a specific carrier, you'll need to supply one of the following carrier identification parameters listed below:

CarrierMC

String

The external reference to the carrier's MC-Number.

CarrierDOT

String

The external reference to the carrier's USDOT-Number.

CarrierSCAC

String

The external reference to the carrier's SCAC.

Here is an example of the JSON Object thus far:

{
  "FreightProviderReferenceNumber":"12345670",
  "FreightHaulerProviderXID":"ABD3820AI",
  "CarrierMC":"3829182"
}
{
  "FreightProviderReferenceNumber":"12345670",
  "FreightHaulerProviderXID":"ABD3820AI",
  "CarrierDOT":"110392"
}
{
  "FreightProviderReferenceNumber":"12345670",
  "FreightHaulerProviderXID":"ABD3820AI",
  "CarrierSCAC":"ABCD"
}

Other Required Fields

The following parameters are available for adding tractor and trailer:

TractorReferenceNumber
TrailerReferenceNumber

Sample PATCH:

{
  "FreightProviderReferenceNumber":"{{FPRN}}",
  "FreightHaulerProviderXID":"{{CARRIERXID}}",
  "CarrierMc":"TEST",
  "TractorReferenceNumber":"Tractor03172019",
  "TrailerReferenceNumber":"Trailer03172019"
}

Sample Response:

200