# \_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.
