_setPriority
Last updated
Sets the priority of the Job.
The ID of the Job.
The new priority of the Job.
FM_api('Job_setPriority', ['id' => '123', 'value' => '2']);{'ok':1}If no priority is provided:
{'ok':1,'warning':'no value provided'}If the Job does not exist:
If the priority given is the same as the priority that the Job already possesses:
Last updated
{'error':'appointment does not exist'}{'error':'value already set'}