_setMileage

Sets the mileage of the Job.

Parameters

id

The ID of the Job.

value

The new mileage of the Job.

Example

FM_api('Job_setMileage', ['id' => '123', 'value' => '500']);

Result

On Success

{'ok':1}

On Failure

If no Job ID is provided:

{'error':'no ID provided'}

If no mileage is provided:

If the Job does not exist:

Last updated