_setDepartment

Sets the Description of the Appointment type.

Parameters

id

The ID of the Appointment Type.

department

The department to be set for the Appointment Type.

Example

FM_api(
    'AppointmentType_setDepartment',[
        'id' => '122037',
        'department' => '337119'
    ]
);

Result

On Success

{'ok':1}

On Failure

Occurs if the Appointment Type doesn't exist

{"error":"job type does not exist"}

Last updated