List Locations
Request URL
GET https://triplogmileage.com/web/api/locations
Query parameters
- userEmail – Email address of a particular user to search for.
- 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.
Note
You need to provide at least one of the query parameters in the request.
Example
GET https://triplogmileage.com/web/api/[email protected]
Add Location
Request URL
POST https://triplogmileage.com/web/api/locations
Query parameters
None
JSON request data
{ "userId" : Integer (required), "name" : String (optional), "address" : String (required), "latitude" : Float (optional), "longitude" : Float (optional), "range (ft)" : Float (optional), "activity" : String (optional), }