Miscellaneous functions in the Track My Ride system.
Action-Set Journey Business
Mark an already completed journey as business-related or private. This status is referenced in the Tax Report when calculating business usage.
module=aux&action=set_journey_business
Required Data
Variables are contained within variable "data". For example, to add the variable "unique_id" to "238dhAJH9s", add data[unique_id]=238dhAJH9s
Variable | Description | Example |
---|---|---|
unique_id | The journey's unique id | fjd983jsd8da |
business | Whether the journey should be labelled as a business trip. 0: No 1: Yes | 1 |
Example Request and Returned Data
For further info see here
Action-Set Journey Notes
Add notes to an already completed journey.
module=aux&action=set_journey_notes
Required Data
Variables are contained within variable "data". For example, to add the variable "unique_id" to "238dhAJH9s", add data[unique_id]=238dhAJH9s
Variable | Description | Example |
---|---|---|
unique_id | The journey's unique id | fjd983jsd8da |
notes | The notes to add to the journey | Dropping off order #2022 |
Example Request and Returned Data
For further info see here
Action-Set Refuel Record
Update an existing refuel record, as used in the Refueling Report
module=aux&action=set_refuel_record
Required Data
Variables are contained within variable "data". For example, to add the variable "unique_id" to "238dhAJH9s", add data[unique_id]=238dhAJH9s
Variable | Description | Example |
---|---|---|
unique_id | The refuelling record unique id | 238dhAJH9s |
cpl | The cents/L cost of the petrol | 150 |
litres | The amount of petrol purchased in litres | 60 |
Example Request and Returned Data
For further info see here
Action-Delete Refuel Record
Delete an existing refuel record, as used in the Refueling Report
module=aux&action=delete_refuel_record
Required Data
Variables are contained within variable "data". For example, to add the variable "unique_id" to "238dhAJH9s", add data[unique_id]=238dhAJH9s
Variable | Description | Example |
---|---|---|
unique_id | The refuelling record unique id | 238dhAJH9s |
Example Request and Returned Data
For further info see here
Action-Add Refuel Record
Add a new refuel record, as used in the Refueling Report
module=aux&action=add_refuel_record
Required Data
Variables are contained within variable "data". For example, to add the variable "device_id" to "7198bf67b5fd", add data[unique_id]=7198bf67b5fd
Variable | Description | Example |
---|---|---|
device_id | The unique ID of the device (vehicle) that was refuelled | 7198bf67b5fd |
litres | The amount of fuel that was refuelled in litres | 65 |
cpl | The cents/L cost of the fuel that was refuelled | 145 |
refuel_date | The time and date of refuelling. YYYY-MM-DD HH:MM | 21-10-2021 09:30 |
Example Request and Returned Data
For further info see here