_setMileage
Parameters
id
value
Example
FM_api('Appointment_setMileage', ['id' => '123', 'value' => '500']);Result
On Success
{'ok':1}On Failure
{'error':'no ID provided'}Last updated
FM_api('Appointment_setMileage', ['id' => '123', 'value' => '500']);{'ok':1}{'error':'no ID provided'}Last updated
{'error':'no value provided'}{'error':'appointment does not exist'}