_setStatus
Parameters
id
value
Example
FM_api('Appointment_setStatus', ['id' => '123', 'value' => '1']);Result
On Success
{'ok':1}On Failure
{'error':'no ID supplied'}Last updated
FM_api('Appointment_setStatus', ['id' => '123', 'value' => '1']);{'ok':1}{'error':'no ID supplied'}Last updated
{'error':'no value supplied'}{'error':'appointment does not exist'}{'error':'This status update cannot be done until the appointment is completed'}