Sets the Name of the Appointment type.

Parameters

id

The ID of the Appointment Type.

name

The name to be set for the Appointment Type.

Example

FM_api('AppointmentType_setName', ['id' => '5', 'name' => 'new name'])

Result

On Success

{'ok':1}