> 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/customertable/_getdata.md).

# \_getData

Retrieve data for a customer table

### Parameters

#### cid (optional)

Customer ID

#### tid

Table ID

### Example

```
FM_api('CustomerTable_getData',['cid'=>'502772','tid'=>'1580830943940']);
```

#### On Success

```
[{"id":"91001","table_id":"1580830943940","customer_id":"502772","data":"{\"1\": \"1\", \"2\": \"4\", \"3\": \"3\", \"31\": \"2\", \"32\": \"5\"}","cdate":"2020-09-01 12:31:17","last_edited":"2020-09-01 12:31:17"}]
```

The returned data is an array of table rows filtered by the table ID and (optional) customer ID.
