cURL
curl --request POST \ --url https://api.ai2fin.com/api/trips \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "vehicleId": "<string>", "startDate": "2023-11-07T05:31:56Z", "endDate": "2023-11-07T05:31:56Z", "distance": 123, "purpose": "<string>", "startLocation": "<string>", "endLocation": "<string>" }'
Log business trip for ATO travel expense claims
JWT token obtained from /api/auth/login endpoint
Trip recorded