> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/form/_exportdataascsv.md).

# \_exportDataAsCSV

Retrieve Form data.

### Parameters

#### id

The id of the Form you wish to retrieve.

### Example

```
FM_api('Form_exportDataAsCSV', ['id' => '24', 'date_from' => '2018-10-23', 'date_to' => '2018-10-30'])
```

### Result

#### On Success

```
"User,Worker,Customer/Asset,Date of Meeting,Contract,Status,Form Num,"Job date","Start time","End time","Total Time","Time one","Over Time",Job Ref,Postcode,Street Address1,Street Address2,Town,Region,Country,Parent
```
