- requires HTTP Basic authorization
user_email-- users email requiredtrip_mode-- trip mode identifier required (seetrip_modeoptions below)trip_purpose-- trip purpose identifier optional (seetrip_purposeoptions below)trip_distance-- trip distance in miles required
- walk
- bike
- bus
- rideshare
- work - default
- errands
- leisure
- school
curl --data "[email protected]&trip_mode=walk&trip_purpose=work&trip_distance=2.3" \
-u 1f3a284920d579e01deafc80ca1911bbc0cfb000:c0334cbd11b78dcac2439bfe938055bc07a7092f \
https://whatcomsmarttrips.org/api/employers/trips
employerssince they're authenticating to log trips for other users; otherwise it'll be confusing if we add an individual APItrip_purposeoption and default it towork(since 99% of API requests will be work. Maybe 100%. Maybe more.)