# \_listbyDateTimeRange

Get list of Job IDs filtering by date range

### Parameters

#### from

Date-time in format yyyy-mm-dd hh:mm:ss

#### to

Date-time in format yyyy-mm-dd hh:mm:ss

### Example

```
FM_api('Appointments_listByDateTimeRange', [
	'from' => '2019-09-01 00:00:00',
	'to' => '2019-09-02 23:59:59',
]);
```

### Result

```
[1,2,3,4,5,6]
```
