_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':'[email protected]','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'}
Last updated