Create duplicates of an Appointment, with a list of different forms.

Parameters

id

The ID of the Appointment to copy.

form_ids

An array of form IDs for the new appointments to adopt.

Example

FM_api('Appointment_createDuplicates', ['id' => '222404', 'form_ids' => ['20', '29']]);

Result

On Success

{'ok':1}