Welcome to the Fleet Manager Mobile API docs. Our REST API allows programmatic access to Fleet Manager Mobile resources (e.g. vehicles, personnel, completed services and fuel entries) so developers can build integrations with 3rd-party and/or internal software systems. Each API resource has available actions that can be performed on it. Supported resources and their endpoints are listed at this page:
https://api.fleetmanagermobile.com/v1/docs/index.html
The first thing you'll need to do is set up Authentication. This is handled using API keys. Each API key is associated with a Fleet Manager Mobile user. Results returned from various responses are based upon the role of the user to which the API key is tied.
1. Generating an API Key
Each Fleet Manager Mobile user can have multiple API keys. Here is how you can generate one from your Fleet Manager Mobile account. Navigate to "User Settings" menu:Important!
API keys are secret. Treat it as you would your password.
2. Set API Key and Account Token Headers
Each request to our API requires a valid API key AND Account Token to be passed as two HTTP headers: "api_key" and "account_token" OR as parameters in the query string. For example:
3. Try an API request using the API docs
You can test API calls in the online documentation. To do so, first enter your API Key and Account Token here :
Click both "Authorize" buttons then click "Close"
You are now ready to test a call on the API. Just navigate to one of the endpoint and use the "Try it out" form. Here is an example with the "Fuel Entries" endpoint:
If you provided a valid API Key and Account Token, you should receive a list of fuel entries as a response as well as a response header with infos about the request:
4. Make an API request in the real world
Now you're ready to make requests to the Fleet Manager Mobile API using your programming tool of choice or a third party application.
Comments
0 comments
Article is closed for comments.