Using Endpoint

A separate and secured URL endpoint is provided by Steadfast that can be accessed using Authentication API Key.

3.1 Authentication

The authentication mechanism is the same as described on the Order API page.

3.2 Order Endpoint

The order endpoint is given below.

Order Status API

POST https://middleware.podapp.com.au/passthrough/customerorderstatus

Headers

Name
Type
Description

X-Steadfast-Api-Key

string

API Key Name that must be passed in request headers

Request Body

Name
Type
Description

request body

json

Please see below.

{
    "Message": "Ok",
    "ResponseMessage": {
        "Success": true,
        "TokenChanged": false,
        "ErrorMessage": "",
        "NewToken": "00000000000000000000000000000000"
    },
    "TotalQueryRows": 0
}

3.3 Order Status Request

{
    "CustomerRef": "72906"
}

3.4 Order Status Response

{
    "Success": true,
    "ErrorMessage": "",
    "CustomerRef": "TEST007",
    "ConsRef": "TrackID007",
    "TripStatus": "Ended",
    "OrderFound": true,
    "JobNo": "966043",
    "Url": "test.com/track/TrackID007",
    "DispatchDate": "0001-01-01T00:00:00+00:00"
}

OrderFound is the key field to check. If that is true, it means the order status has been fetched and returned successfully. In case it is false, it means the order is not found in our system or does not exist.

Last updated

Was this helpful?