Export Customer appointment Details.

Example

FM_api('CustomerAppointments_export', ['customerId' => '10']);

Result

On Success

"ID,"Customer Type","Customer Name","Job Time","Job Ref","User Name","Form Type",Status,"Job Type"
93,Customer,"The Cafe","2018-10-24 15:00:00",21,"Jennifer","Fieldmotion Work Sheet",Processed,
94,Customer,"The Cafe","2018-10-25 15:00:00",22,"Jennifer","Site work sheet v2",Incomplete,
97,Customer,"The Cafe","2018-10-11 14:50:34",25,"Jennifer","Fieldmotion Work Sheet",Complete,
98,Customer,"The Cafe","2018-10-11 14:51:00",26,"Jennifer","Fieldmotion Work Sheet",Complete,