OneFlo Customer.API Schema for Restful API Integration

Find out what endpoints are available in our Restful API Customer.API schema

The following services are available for use within the OneFlo API.

Service

Function

Definition

Method

Expected Input (mandatory in bold)

Output

Service

Function

Definition

Method

Expected Input (mandatory in bold)

Output

Locations

 

Allows client to check if the location is a valid OneFlo location.

get

  • locality (suburb)

  • postcode

  • countryCode

200 (success) - returns a location object

400 (invalid)

OrderLookup

 

Allows client to create an Order dataset within OneFlo for use in Order Lookup - RESTful (API) Method

post

Order Data

200 (success) - indicates that the Order is available for retrieval within the OneFlo Portal

Quotes

 

Allows the client to retrieve indicative pricing information based on the rate card assigned in OneFlo.

post

  • Sender Information

  • Receiver Information

  • Freight details

Returns a list of service offerings by OneFlo that will be able to service the lane.

Consignments

.

Allows the client to create a consignment in the OneFlo system.

post

Full consignment information

Returns a consigment ID, a OneFlo generated Tracking number, and the consignment information.

Consignments

.

Allows the client to query OneFlo for a (list of) consignment(s) based on the parameters of a search.

GET

  • Account ID

  • Date From

  • Date To

  • Reference

  • Tracking Number

  • Max results

 

Consignment Object(s)

Consignments

(ConsignmentID)

Allows the client to retrieve a specific consignment

GET

Consignment ID (retrieved from the consignment call)

Consignment Object

Consignments

Label

Allows the client to retrieve all labels associated to the Consignment

GET

Consignment ID (retrieved from the consignment call)

A label (or set of) in PDF format.

Consignments

Connote

Allows the client to retrieve a connote paperwork associated to the Consignment. There’s also an option to retrieve DG paperwork if necessary.

GET

Consignment ID (retrieved from the consignment call)

IncludeDG (flag - default:false)

A Connote in PDF format. May include DG paperwork in PDF if requested.

Consignments

Proofofdeliveries

Allows the client to retrieve a (set of) proof of deliveries - or image that prove that a consignment has been delivered.

GET

Consignment ID (retrieved from the consignment call)

An image as received from the carrier. Returns with the content type but it’s typically an image (PNG file)

Services

 

Allows the client to get a list of contracted services for the account.

get

AccountId

Returns a list of services and their properties.

Â