Generate a PDF of the Appointment and return the binary file.

Parameters

id

The ID of the Appointment to return.

Example

FM_api('Appointment_getAsPdf', ['id' => '222404']);

Result

On Success

Returns a binary file in .pdf format

On Not Logged In

{'error':'not logged in?'}

On Appointment Not Existing

'no such meeting?'