The Fleetio API uses standard conventions for its architecture:
Typically, all requests to our API will use the same base URL.
- API Base URL:
- All API access is over HTTPS
- All data is sent and received as JSON
Endpoints and Actions
Most resources follow the same format, exposing 5 actions,
delete. Each action will require that the correct http verb be specified, as a single endpoint can perform different actions depending on the verb.
|Action||Endpoint||HTTP Verb||Description||Response Data Type|
|Index||GET||Returns an array of all vehicles.||Array|
|Create||POST||Creates a new vehicle.||No content|
|Show||GET||Returns the vehicle corresponding to the id parameter.||Hash|
|Update||PATCH||Updates the vehicle corresponding to the id parameter.||No content|
|Delete||DELETE||Deletes the vehicle corresponding to the id parameter.||No content|