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

VariableDescriptionExample
unique_idThe journey's unique idfjd983jsd8da
businessWhether 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

VariableDescriptionExample
unique_idThe journey's unique idfjd983jsd8da
notesThe notes to add to the journeyDropping 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

VariableDescriptionExample
unique_idThe refuelling record unique id238dhAJH9s
cplThe cents/L cost of the petrol150
litresThe amount of petrol purchased in litres60

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

VariableDescriptionExample
unique_idThe refuelling record unique id238dhAJH9s

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

VariableDescriptionExample
device_idThe unique ID of the device (vehicle) that was refuelled7198bf67b5fd
litresThe amount of fuel that was refuelled in litres65
cplThe cents/L cost of the fuel that was refuelled145
refuel_dateThe 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