Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Freight API allows REST functionality to connect with our core information. Currently as the API is under development, this is limited to consignment status and POD information as a GET method. Requests are returned in the form of JSON bodied responses.

Note

The Freight API is still largely under testing but can be provided as a workable interfaceBinterface

Contents

Table of Contents
maxLevel3

...

Where $ConsignmentNo is the Consignment Number you wish to retrieve.

Attributes

ConsignmentID integer

Unique Record ID for the consignment record

...

ConsignmentNo String

The consignment number

...

DespatchDateTime String

The time at which the consignment was despatched

...

ConsignmentStatus String

The current delivery status of the consignment. Possible values:

Awaiting Pickup Allocation

The consignment is currently waiting to be allocated to a fleet for pickup

Pickup Allocated

The consignment has been allocated to a fleet for pickup

Pickup Acknowledged

The fleet has acknowledged pickup allocation for consignment

Arrived at Sender

The fleet has arrived at pickup location of consignment

Departed Sender

The fleet has complete the consignment pickup

Futile Pickup

The fleet was unable to pick up consignment

Unshipped

The consignment is awaiting to be placed on a linehaul truck

Manifested - Pending Arrival

The consignment has been placed on a linehaul manifest

Arrived at Receiving Depot

The consignment has arrived in the receiving depot

Delivery Allocated

The consignment has been put on-board a local truck or freight forwarder for delivery

Arrived at Receiver

The consignment has arrived at the delivery location.

Departed Receiver

The consignment has been delivered at the delivery location.

Futile Delivery

The consignment was unable to be delivered to the delivery location.

...

PickupArriveDateTime String

The time the pickup fleet arrived at the pickup location.

...

PickupCompletedDateTime String

The time the pickup for the consignment was complete at the pickup location. May contain a date only value if pickup was completed by a fleet without a PDA unit

...

ManifestDate String

The date the consignment was placed onto a linehaul manifest,

...

RunsheetDate String

The date the consignment was placed onto a delivery vehicle or freight forwarder vehicle.

...

DeliveryArrivedDateTime String

The time the delivery fleet arrived at the delivery location.

...

DeliveryCompleteDateTime String

The time the delivery for the consignment was complete. May contain a date only value if delivery was completed by a fleet without a PDA unit.

...

Attributes

PODs Array

ConsignmentNo String

The linked consignment note number


FileExt String

The file extension type


FileData String Base64 Encoded

The document encoded as Base64

...

Code Block
CURL -H "Content-Type: application/json" -X  POST https://api.hi-trans.com.au:9093/ws/rest/freight/import/

Attributes

ConsignmentNo String MaxLength:15 *Required

The newly created consignment note number. This must be unique and not repeat a previous consignment number. The consignment prefix will be used to determine the charge account.

...

DespatchDate String MaxLength:20 *Required

The date of consignment despatch. Date must be in format : dd-MM-yyyy

...

SenderReference String

An additional user reference for the consignment note. Eg. a purchase order number.

...

SenderName String MaxLength:50 *Required

The business name of the sender

...

SenderAddress1 String MaxLength:50 *Required

The sender’s address

...

SenderAddress2 String MaxLength:50

The sender’s address

...

SenderAddress3 String MaxLength:50

The sender’s address

...

SenderSuburb String *Required

The sender’s suburb. Our database contains all suburbs from the Australia Post database which can be found here: Postcodes Australia | Postcode Search & Finder - Australia Post (auspost.com.au)

...

SenderState String

The sending state. Options are ‘SA’, ‘QLD’, ‘VIC’, ‘NSW’, ‘ACT', ‘NT’, ‘WA’, 'TAS’

...

SenderPostcode String *Required

The sender postcode. Our database contains all suburbs from the Australia Post database which can be found here: Postcodes Australia | Postcode Search & Finder - Australia Post (auspost.com.au)

...

SenderContactName String MaxLength:30

The contact name of the sender

...

SenderContactPhone String MaxLength:25

The contact number of the sender.

...

SenderInstructions String MaxLength:120

Any additional instructions for pickup of the freight.

...

ReceiverName String MaxLength:50 *Required

The business name of the receiver

...

ReceiverAddress1 String MaxLength:50 *Required

The receiver’s address

...

ReceiverAddress2 String MaxLength:50

The receiver’s address

...

ReceiverAddress3 String MaxLength:50

The receiver’s address

...

ReceiverSuburb String *Required

The receiver’s suburb. Our database contains all suburbs from the Australia Post database which can be found here: Postcodes Australia | Postcode Search & Finder - Australia Post (auspost.com.au)

...

ReceiverState String

The receiving state. Options are ‘SA’, ‘QLD’, ‘VIC’, ‘NSW’, ‘ACT', ‘NT’, ‘WA’, 'TAS’

...

ReceiverPostcode String *Required

The receiver postcode. Our database contains all suburbs from the Australia Post database which can be found here: Postcodes Australia | Postcode Search & Finder - Australia Post (auspost.com.au)

...

ReceiverContactName String MaxLength:30

The contact name of the receiver

...

ReceiverContactPhone String MaxLength:25

The contact number of the receiver. Useful if we need to call upon delivery

...

ReceiverInstructions String MaxLength:120

Additional instructions for consignment delivery

...

ServiceCode String *Required

The service level of the consignment. Options are below, pending customer rates agreement

G

General Service

X

Express Service

L

Local Service. Eg. Metro Adelaide > Metro Adelaide job

F

Full Load Service

...

GeneralInstructions String MaxLength:120

Additional Instructions field for consignment. List and further requirements here.

...

TotalPalletSpaces integer *Required

The total number of pallet spaces the consignment covers.

...

TotalChepPallets integer *Required

The total number of chep pallets transferred. Required zero value if there are none

...

TotalChepPallets integer *Required

The total number of loscam pallets transferred. Required zero value if there are none

...

TotalPlainPallets integer *Required

The total number of customer own pallets used on the consignment. Required zero value if there are none

...

DeliveryRequiredDate String

For Timeslot use only. If delivery is required within a timeslot, please provide the date here. Date must be in format : dd-MM-yyyy

...

DeliveryRequiredTime String

For Timeslot use only. If delivery is required within a timeslot, please provide the time here. Time must be in 24hr format : 13:00

...

PickupReadyDate String

The date the pickup is ready to be collected from the sender. Date must be in format : dd-MM-yyyy

...

PickupReadyTime String

The time the pickup is ready to be collected from the sender. Time must be in 24hr format : 13:00

...

PickupCloseTime String

The time the senders business closes for freight pickups. Time must be in 24hr format : 16:00

...

LineItems array

LineItemReference String MaxLength:25

User reference number for freight line item. Eg. A purchase order number.


LineItemUnitName String MaxLength:20

The unit name for the freight line item. Must correspond to the rate units found on the customer account. For accounts using weight (c/kg) rates, leave this field blank.


LineItemDescription String MaxLength:20

A brief description of the freight items. Eg. Electronic Goods


LineItemQuantity integer

The quantity of this freight line item.


LineItemWeight number

The total weight for this line item in tonnes. Eg if there are 5x 0.200t pallets, the total weight would be 1.000t


LineItemLength number

The length of each individual item in metres.


LineItemWidth number

The width of each individual item in metres.


LineItemDepth number

The depth of each individual item in metres.


LineItemCubic number

The total volume for this line item in cubic metres. Eg if there are 4x 1.2mx1.2mx1.2m pallets, the total volume would be 6.912


LineItemUNNumber String MaxLength:4

If containing dangerous goods, the UN number for this freight. Please refer to the latest version of the Dangerous Goods Code Australian Dangerous Goods Code | National Transport Commission (ntc.gov.au)
Freight with mixed dangerous goods can use the value 0000 to provide the ‘Mixed DG’ flag.


LineItemDGAmount number

The amount of dangerous goods in litres or kilograms

...