The Transport API allows users to get an estimated cost break down exclusive of GST for moving freight from one location to another.
All methods utilise a RESTful approach; supporting both XML and JSON formats.
An API key is required for all requests. Please register to request your API key.
Model Drop in DLL
Mainfreight provides a .NET compatible library with model for all the entities that can be used to make it easier for developers to communicate with the Mainfreight APIs.
Service consumer Drop in DLL
Mainfreight also provides a .NET compatible library which provides wrapping methods to easily consume the Mainfreight Transport Rating API.
You can find a copy of these drop in dlls here.
Please note, Mainfreight.Api.Transport.Client.dll requires Mainfreight.Api.Transport.Model.dll and Mainfreight.Api.Common.Client.dll.
Drop in DLL usage example
To list all available anonymous notifications for a particular document you have to post a json similar to this (notice that no session secret is used):
To access to Mainfreight APIs, you have to Register