Table of Contents

    List State-by-State Mileage

    Request URL

    GET https://triplogmileage.com/web/api/stateMileage

    Query parameters

    • startDate – Format ‘yyyy-mm-dd’, e.g. ‘2015-01-31’ means midnight Jan 31, 2015 at your local timezone. Inclusive.
    • endDate – Format ‘yyyy-mm-dd’, e.g. ‘2015-12-31’. Inclusive.
    • userEmail – Email address of a particular user to search for.
    • state – Two-letter US state, e.g. ‘AK’.

    Note

    You need to provide at least one of the query parameters in the request.

    Example

    GET https://triplogmileage.com/web/api/stateMileage?startDate=2015-12-31&userEmail=driver@company.com