_setNotes

Sets notes for an Appointment Type.

Parameters

id

The id of the Appointment Type.

value

The notes made for the Appointment Type.

Example

FM_api(
    'AppointmentType_setNotes',[
        'id' => '122039',
        'value' => 'Test Notes'
    ]
);

Sets an Appointment Type assigned the ID "122039" with the notes "Test Notes"

Results

On Success

{"ok":1}

On Failure

If no ID parameter is included

{"error":"no ID provided"}

If no value parameter is included

{"error":"no value provided"}

If there is no Appointment Type with the provided id

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

Last updated