The following services are available for use within the OneFlo API.
Service | Function | Definition | Method | Expected Input (mandatory in bold) | Output |
---|---|---|---|---|---|
Locations | Allows client to check if the location is a valid OneFlo location. | GET |
| 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 |
| 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 |
| 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. |