Export Appointments Details.

Example

FM_api('Appointments_export')

Result

On Success

"job_id,job_time,hours,type_name,due_date,user,job_ref,job_ref_customer,customer_id,customer_type,customer_name,street_address1,postcode,form_type,status,priority,notes,on_route,in_progress,completed,late_completion,contract,form_num,department_id,department_name,customer_email,contact_name,created_by 1,"2019-09-27 00:00:00",0,,2019-09-27,"Jennifer",20,,6,0,"Spar Newry","18 Patrick street","BT35 7DF",SOR,Incomplete,,,,,,,,2,0,,,Amy,"Jennifer" 2,"2019-09-27 00:00:00",0,,2019-09-30,"Mark",20,,6,0,"Tesco","21 Duke street","BT35 8EB",SOR,Incomplete,,,,,,,,2,0,,,Amy,"Carol" 3,"2019-09-27 00:00:00",0,,2019-09-28,"Dave",20,,6,0,"The Cafe","58 canal street","BT35 9TU",SOR,Incomplete,,,,,,,,2,0,,,Amy,"Jennifer" 4,"2019-09-27 00:00:00",0,,2019-09-29,"Emily",20,,6,0,"Savages","34 Monaghan St","BT35 6EW",SOR,Incomplete,,,,,,,,2,0,,,Amy,"Carol"