# export

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,
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fieldmotion.com/fieldmotion-api-docs/customerappointments/export.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
