What is an API?
API is the acronym for Application Programming Interface.
API is a software intermediary that allows two applications to talk to each other.
In other words, an API is the messenger that delivers your request to the provider that you’re requesting it from and then delivers the response back to you.
How use FL API?
Like all API, FL API have a common and single url as enter point :
HTTPS://api.floralogistics.com/method/token/variables
Method is the name for API.
Token is authentication way for each client that you should get with method GetToken, this is mandatory and is the way to authenticate your access to the Method.
Variables are optional in some Methods, but in other are mandatories.
FL API always use SSL.
How get a new Token?
Token will be get using method GetToken.
Token will be expired each 24 hours.
Date and other convention
Date values are of the form MM/DD/YYYY.
Time values are of the form HH:MM:SS.
Items in red are required.
HTTP Status Code
This is a table with common HTTP status code, also FL API can return a local error, in this case, please contact with FL Administrator.
| Code |
Status |
Description |
| 200 |
OK |
Successful request. |
| 201 |
Created |
The request has been fulfilled, resulting in the creation of a new resource. |
| 202 |
Accepted |
The server successfully processed the request and is not returning any content. |
| 204 |
No Content |
The request has been accepted for processing, but the processing has not been completade. |
| 400 |
Bad Request |
The server cannot or will not process the request due to an apparent client error. |
| 401 |
Unauthorized |
Authentication is required and has failed or has not yet been provided. |
| 403 |
Forbidden |
The request was valid, but the server is refusing action. |
| 404 |
Not Found |
The requested resource could not be found but may be available in the future. |
| 405 |
Method Not Allowed |
A request method is not supported for the requested resource. |
| 500 |
Internal Server Error |
A generic error message, given when an unexpected condition was encountered. |