Table of Contents

    List Trips

    Request URL

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

    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.
    • activity – Trip activity, e.g. ‘Business’.
    • minLastUpdated – The date when the record was modified or created. Format ‘yyyy-mm-dd’. Inclusive.
    • maxLastUpdated – The date when the record was modified or created. Format ‘yyyy-mm-dd’. Inclusive.
    • status – Approval status. Valid options are: ‘U’ – not submitted, ‘S’ – submitted, ‘A’ – approved, ‘R’ – rejected, ‘P’ – pay scheduled.

    Note

    You need to provide at least one of the query parameters in the request.
    The returned datetime in the response is in UTC time zone as in the JSON standard.

    Example

    GET https://triplogmileage.com/web/api/trips?startDate=2015-01-31&activity=Business