_removeAppointment

Remove a Job for a recurrence

Parameters

rid

Recurrence ID

aid

Appointment ID

Example

FM_api('AppointmentRecurrence_removeAppointment', ['rid' => '48', 'aid' => '110'])

On Success

{"ok":1}

If the job is the last in the recurrence

{"ok":1,"warning":"last job in recurrence removed, so recurrence was removed as well"}

On failure - if the recurrence ID does not exist

{'error' => 'This recurring sequence does not exist'}

Last updated