Documentation

🔑 Southeastern Freight Track & Trace

The action is used to get the tracking information from SouthEastern Freight (SEFL).

Inputs

NameTypeDescription
Tracking NumberStringPro tracking number
SEF UsernameStringAPI SEFL Username
SEF PasswordPasswordAPI SEFL Password

Outputs

NameTypeDescription
Found Tracking?BooleanWhether the tracking information was found
True / False
StatusStringTracking status:
Ready for Shipment,
Delivered,
In Transit,
Problem with Delivery,
Returning to Sender,
Ready for Pickup
Status DescriptionStringDetailed description of the tracking status
Shipped DateStringThe date of the shipment.
Format:
YYYY-MM-DDThh:mm:ss
Is null when the status is Ready for Shipment
Last Event DateStringThe date of the last tracking event.
Format:
YYYY-MM-DDThh:mm:ss
Estimate Delivery DateStringEstimated delivery date.
Format:
YYYY-MM-DDThh:mm:ss
Very rarely present
Activity HistoryListList of all the tracking events.
See the example below

Sample Response
Activity History

{
    "proNumber": "XXXXXXXXX",
    "pickupDate": "11/17/2023",
    "pickupTime": "07:12 PM",
    "utcOffsetPU": "-05:00",
    "invoiceStatus": "",
    "prepaidCollect": "Prepaid",
    "billOfLadingNumber": "XXXXXXX",
    "purchaseOrderNumber": "XXXXXXX",
    "interlineCode": "PYLE",
    "interlinePro": "",
    "shipper": {
        "name": "SHIPPER NAME",
        "city": "LEWISVILLE",
        "state": "TX",
        "zip": "75056",
        "zipExt": ""
    },
    "consignee": {
        "name": "CONSIGNEE NAME",
        "city": "MONROEVILLE",
        "state": "PA",
        "zip": "15146",
        "zipExt": ""
    },
    "originServiceCenter": "DFW",
    "destinationServiceCenter": "DFW",
    "pieces": "1",
    "location": "Enroute to Partner Carrier",
    "weight": "150",
    "status": "Dispatched to Destination Carrier: PYLE 11/18/2023",
    "currentStatusCode": "DLV",
    "currentStatusDate": "Mon Nov 20 09:51:00 EST 2023",
    "currentStatusDateOnly": "11/20/2023",
    "currentStatusTime": "09:51 AM",
    "utcOffsetStatus": "-05:00",
    "currentStatusDescription": "Dispatched",
    "currentStatusComments": "Delivered to Partner CarrierDispatched to Destination Carrier: PYLE",
    "signedBy": "",
    "equipmentNumber": "",
    "charges": "You must be logged into MySEFL to retrieve charges.",
    "committedDate": "11/27/2023",
    "delay": "",
    "guaranteedService": "",
    "currentStatusLatLong": "",
    "deliveryDate": "11/18/2023",
    "deliveryTime": "09:20 AM",
    "utcOffsetDel": "-05:00",
    "routeCode": "2",
    "detailInformation": {
        "detail": [
            {
                "date": "11/17/2023",
                "time": "07:12 PM",
                "utcOffset": "-05:00",
                "location": "DALLAS",
                "city": "DALLAS",
                "state": "TX",
                "message": "Shipment Pickup using Trailer XXXXXX",
                "statusCode": "SPU"
            },
            {
                "date": "11/18/2023",
                "time": "09:20 AM",
                "utcOffset": "-05:00",
                "location": "DALLAS",
                "city": "DALLAS",
                "state": "TX",
                "message": "Enroute to Partner Trailer",
                "statusCode": "CDY"
            },
            {
                "date": "11/18/2023",
                "time": "09:51 AM",
                "utcOffset": "-05:00",
                "location": "DALLAS",
                "city": "DALLAS",
                "state": "TX",
                "message": "Delivered to Partner: PYLE - Signed By: PYLE   XXXXXXXXX",
                "statusCode": "DLV"
            },
            {
                "date": "11/20/2023",
                "time": "09:44 AM",
                "utcOffset": "-05:00",
                "location": "DALLAS",
                "city": "DALLAS",
                "state": "TX",
                "message": "Dispatched Trailer XXXXXXXXX to PYLE ETA: 11/21/2023 10:48 AM",
                "statusCode": "CDY"
            }
        ]
    }
}

📘

Tracking Status

SEFL API returns a status code for each tracking event. DG maps this status code to one of the predefined statuses. E.g. DPT - Ready for Shipment.

Because the status code doesn't describe all the tracking statuses, DG uses the event description and maps it to one of the predefined statuses. E.g. DLV - Delivered.

Statuses mapping

const STATUSES = {
  'Ready for Shipment': ['DPT','ENS','HAP','LOD'],
  'Delivered': ['DLV'],
  'In Transit': ['CDY','CFC','CFD','DFU','DIS','DOC'],
  'Returning to Sender': [],
  'Problem with Delivery': ['VOD','OSD'],
  'Ready for Pickup': ['SPU'],
};