Get IFTA Summary
Changed onGet distance driven per IFTA jurisdiction for the requested months.
Note: data may change for a few days after the month. We will continue to update those reports to ensure you get accurate results.
Request
- Base URLhttps://api.withterminal.com/tsp/v1
- URLhttps://api.withterminal.com/tsp/v1/ifta/summary
- AuthHTTP bearer
Query parameters
Pagination cursor to start requests from
Expand resources in the returned response
Include raw responses used to normalize model. Used for debugging or accessing unique properties that are not unified.
First month to include, inclusive.
Last month to include, inclusive.
How to total distance across the requested months. The default, vehicle,jurisdiction, returns one row per vehicle and jurisdiction, summed across every month from startMonth to endMonth. Use vehicle,jurisdiction,month to get one row per month.
Headers
Scopes the request to a Terminal application in the caller's organization. Required for multi-application organizations when using a user session or OAuth access token. API keys are already bound to a single application.
The token returned when a user authenticated their account. This authorizes access to a specific account.
Response
OK
Example response
{
"results": [
{
"provider": "geotab",
"vehicle": "vcl_01D8ZQFGHVJ858NBF2Q7DV9MNC",
"jurisdiction": "TN",
"distance": 100.25,
"month": "2021-01",
"raw": []
}
],
"next": "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
}Changes
- breaking
added the pattern
^[A-Za-z0-9+/=_-]+$to thequeryrequest parametercursor - breaking
added to the
//response propertyoneOflist for the response status - warning
added the new
provider_timeoutenum value to theresponse property for the response status - info
added the non-success response with the status
- info
removed
subschema #2: Expanded Vehiclefrom the//response propertyoneOflist for the response status - info
the
response's property pattern^[A-Za-z0-9+/=_-]+$was added for the status
- breaking