π FedEx South Africa Track & Trace
The action is used to get the tracking information from FedEx ZA.
Credentials
The credentials are optained from your FedEx ZA contact person.
Inputs
| Name | Type | Description | 
|---|---|---|
| Tracking Number | String | FedEx ZA tracking number | 
| Username | String | FedEx ZA username | 
| Password | String | FedEx ZA password | 
| Account Number | String | FedEx ZA account number | 
Outputs
| Name | Type | Description | 
|---|---|---|
| Success | Boolean | Whether the tracking information was found True / False  | 
| Status | String | Tracking status: Delivered, In Transit, Ready for Shipment, Problem with Delivery  | 
| Tracking Link | String | FedEx ZA tracking link | 
| Shipped Date | String | The date of the shipment. Format: YYYY-MM-DDThh:mm:ss Is null when the status is Ready for Shipment  | 
| Last Event Date | String | The date of the last tracking event. Format: YYYY-MM-DDThh:mm:ss  | 
| Last Event | Object | Detailed description of the last tracking event | 
| Activity History | List | List of all the tracking events. See the example below  | 
Sample Response
Activity History 
[
    {
        "TrackLocation": "JOHANNESBURG",
        "TrackStatusCode": "PUPD",
        "TrackStatusDecription": "Parcel Data Updated",
        "TrackDateTime": "24 May 2021 18:08:14:000"
    },
    {
        "TrackLocation": "JOHANNESBURG",
        "TrackStatusCode": "PUPD",
        "TrackStatusDecription": "Parcel Data Updated",
        "TrackDateTime": "24 May 2021 18:08:12:000"
    },
    {
        "TrackLocation": "JOHANNESBURG",
        "TrackStatusCode": "SGEN",
        "TrackStatusDecription": "Parcel is at the branch (will be overnight) ",
        "TrackDateTime": "24 May 2021 17:10:26:000"
    },
    {
        "TrackLocation": "JOHANNESBURG",
        "TrackStatusCode": "SDEX",
        "TrackStatusDecription": "08 - NOT IN/BUSINESS CLOSED",
        "TrackDateTime": "24 May 2021 09:54:26:000"
    },
    {
        "TrackLocation": "JOHANNESBURG",
        "TrackStatusCode": "SOTS",
        "TrackStatusDecription": "Out for Delivery",
        "TrackDateTime": "24 May 2021 08:31:19:000"
    },
    {
        "TrackLocation": "JOHANNESBURG",
        "TrackStatusCode": "PUPD",
        "TrackStatusDecription": "Parcel Data Updated",
        "TrackDateTime": "21 May 2021 12:24:23:000"
    },
    {
        "TrackLocation": "JOHANNESBURG",
        "TrackStatusCode": "SIIM",
        "TrackStatusDecription": "Outbound Manifest to HUB",
        "TrackDateTime": "21 May 2021 12:18:21:000"
    },
    {
        "TrackLocation": "CAPE TOWN",
        "TrackStatusCode": "SOIM",
        "TrackStatusDecription": "Inbound Manifest to HUB ",
        "TrackDateTime": "20 May 2021 16:34:55:000"
    },
    {
        "TrackLocation": "CAPE TOWN",
        "TrackStatusCode": "SLOC",
        "TrackStatusDecription": "Checked in at Origin Depot",
        "TrackDateTime": "20 May 2021 16:33:44:000"
    },
    {
        "TrackLocation": "LOGISTICS",
        "TrackStatusCode": "PPRE",
        "TrackStatusDecription": "Consignment details captured",
        "TrackDateTime": "20 May 2021 10:47:05:000"
    }
]
Tracking Status
FedEx API returns a status code for each tracking event. DG maps this status code to one of the predefined statuses. E.g. PPRE - Ready for Shipment.
Statuses mapping
Ready for Shipment: [PPRE, SOCM, SGEN, SIIM]
Problem with Delivery: [SHAL, SDEX]
In Transit: [SOTS, SOIM, SLOC, CCOL, SOTP, PUPD, SCMT, DDLA, SAUT]
Delivered: [SPOD, PDIL]
Updated almost 2 years ago
