_setNotes

Adds new notes to or edits existing notes of the Appointment.

Parameters

id

The ID of the Appointment.

value

The new(ly changed) notes of the Appointment.

Example

FM_api('Appointment_setNotes', ['id' => '123', 'value' => 'This is a note.']);

Result

On Success

{'ok':1}

On Failure

If no Appointment ID is provided:

{'error':'no ID provided'}

If no notes are provided:

{'error':'no value provided'}

If the Appointment does not exist:

{'error':'appointment does not exist'}

Last updated