Last updated

Appendix

LTL Shipment Event Types

Below are the available Event Types for LTL shipments and the descriptions for each Event Type.

Event TypeDescription
ARRIVAL_AT_STOPThe shipment has arrived at a stop.
DELAYEDThe shipment is delayed.
DELIVERYThe shipment has been delivered.
DELIVERY and EXCEPTIONThe shipment has been delivered with an exception.
DELIVERY_MISSEDThe shipment delivery was missed.
DEPARTURE_FROM_STOPThe vehicle transporting the shipment has left the stop.
EXCEPTIONThere is an exception for the shipment.
EXCEPTION_LATE_DEPARTUREThe shipment missed its departure time at the stop.
EXCEPTION_MISSED_CONNECTIONThe shipment missed its connection.
HELDThe shipment is held at a location.
INFOShipment exception. See the event.description for more information on this exception.
OUT_FOR_DELIVERYThe shipment is out for delivery to the destination.
PICKED_UPThe shipment has been picked up from a stop.
PICKUP_MISSEDThe time window to pickup the shipment has been missed.
TRACKING_END_BY_USERTracking of the shipment has been canceled by the shipper.
TRACKING_END_DUE_TO_TIMEOUTShipment tracking has ended because the appointment window for deliv- ery has ended.
TRACKING_INITIATEThe LTL shipment has been created in project44's system. Assumed to always be non-null.
TRACKING_STARTTracking of the LTL shipment has started.
TRACKING_STOPTracking of the LTL shipment has stopped.

All Event Types can sometimes return an ETA or ATA. Please connect with your project44 Customer Success Manager to identify which event types return an ETA or ATA most often for your shipments.

LTL Shipment State Types

Below are the accepted State Type values for LTL shipments and the Event Types that trigger a State Type start or stop.

State TypeStart EventStop Event
SCHEDULEDTRACKING_STARTAny next event.
IN_TRANSITDEPARTURE_FROM_STOPNext event that has a different routeSegmentId, stopId, or maps to a different state type.
AT_STOPARRIVAL_AT_STOPNext event that has a different routeSegmentId, stopId, or maps to a different state type.
COMPLETEDDELIVERY, TRACKING_END_BY_USER, TRACKING_END_DUE_TO_TIMEOUT, TRACKING_STOPN/A

LTL Shipment Stop Types

Below are the available Stop Types for LTL shipments and the descriptions for each Stop Type.

Stop TypeDetails
ORIGINWhere the truck is filled by the shipper with the goods to be transported.
PICKUPWhere the empty vehicle is loaded with the shipment.
TRANSFERWhere the shipment is transfered.
DESTINATIONWhere the shipment is finally delivered to.

Error Response Codes

This Appendix describes the schema and fields of the standard project44 API Error Response.

Below, find the API Error Response Schema:

400 Invalid Request

{
  "httpStatusCode": 400,
  "httpMessage": "Invalid request",
  "errorMessage": "string",
  "errors": [
    {
      "severity": "ERROR",
      "message": "string",
      "diagnostic": "string",
      "source": "SYSTEM"
    }
  ],
  "supportReferenceId": "string"
}

401 Invalid or missing credentials

{
  "httpStatusCode": 401,
  "httpMessage": "Invalid or missing credentials",
  "errorMessage": "string",
  "errors": [
    {
      "severity": "ERROR",
      "message": "string",
      "diagnostic": "string",
      "source": "SYSTEM"
    }
  ],
  "supportReferenceId": "string"
}

403 User not authorized to perform this operation

{
  "httpStatusCode": 403,
  "httpMessage": "User not authorized to perform this operation",
  "errorMessage": "string",
  "errors": [
    {
      "severity": "ERROR",
      "message": "string",
      "diagnostic": "string",
      "source": "SYSTEM"
    }
  ],
  "supportReferenceId": "string"
}

404 Not Found

{
  "httpStatusCode": 404,
  "httpMessage": "Not Found",
  "errorMessage": "string",
  "errors": [
    {
      "severity": "ERROR",
      "message": "string",
      "diagnostic": "string",
      "source": "SYSTEM"
    }
  ],
  "supportReferenceId": "string"
}

The table below describes each field of the API Error Response:

Error Response FieldDescription
httpStatusCodeThe value of the HTTP status code. Possible values are: 400, 401, 403, or 404
httpMessageA brief description of the HTTP status code. Possible values are: Invalid request (httpStatusCode = 400), Invalid or missing credentials (httpStatusCode = 401), User not authorized to perform this operation (httpStatusCode = 403), or Not Found (httpStatusCode = 404)
errorMessageA detailed description of the error. For example: "errorMessage": "Text '2022-03-23T18:38:00Z' could not be parsed, unparsed text found at index 19"
errorsThis array contains more details about the error
errors.severityThe severity of this message. Possible values are: ERROR, WARNING, or INFO
error.messageMore information about the error.  For example: Appointment in the Past
error.diagnosticDiagnostic information from project44 (The System) or from the Capacity Provider/Carrier. NOTE: In a Capacity Provider/Carrier integration, it would come only from project44.
error.sourceThe originator of the error message.  NOTE: In a Capacity Provider/Carrier integration, the originator will always be SYSTEM. Possible values are: SYSTEM (error from project44) or CAPACITY PROVIDER (error from the Capacity Provider or Carrier)
supportReferenceId A reference identifier used by project44 support to assist with certain error messages.