_setNotification
Toggles Email Notifications based on the Appointment Type
Parameters
id
The id of the Appointment Type
val
The chosen option for the Notifications toggle
0 = blank (Notifications are sent based on job form or Notification settings) 1 = no 2 = yes
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 val parameter is less than 0
Last updated