_setPriority
Set the priority of an Appointment Type
Parameters
id
The id of the Appointment Type
priority
The chosen priority of the Appointment Type:
0 = Null, 1 = None, 2 = Low, 3 = Normal, 4 = High, 5 = Top
Example
On Success
On Failure
If there's no Appointment Type with the chosen ID
If there's no chosen ID or the chosen ID is less than 1
If the "priority" parameter is less than 0
If there is no "priority" parameter value set
If the "priority" parameter is higher the amount of priority options available, or the account does not have "appointment-priorities" set.
Last updated