> 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/users/_listavailability.md).

# \_listAvailability

Fetches all the Users who are near an Appointment's specified location.

### Parameters

#### latitude

The latitude coordinate of the location.

#### longitude

The longitude coordinate of the location.

#### time

The date and time of the Appointment.

### Example

```
FM_api('Users_listAvailability', ['latitude' => '54.2026', 'longitude' => '-6.32947', 'time' => '2018-10-18+09:53:00']);
```

### Result

#### On Success

An example: {\['id':'123','name':'Jane Doe','email':'<jane.doe@companyname.com>','prev':\['id':'1','meeting\_time':'2018-10-18 09:53:00','customer\_id':'1','customer\_type':'0','hours':'1','latitude':54.2026,'longitude':-6.32947,'name':'Example Location'],'next':false]}

#### On Failure

If the User is not logged in: {'error':'not logged in'}
