_get

Fetches all Locations.

Parameters

None.

Example

FM_api('Locations_get');

Result

On Success

An array of Locations. For example: {['id':'1','name':'Location One','lat':'54.2026','lng':'-6.3295','address':'A28,\nCloghanramer,\nNewry,\nCounty Down,\nNorthern Ireland,\nBT35 6QJ,\nUK','user_id':'0','customer_id':'1'],['id':'2','name':'Location Two','lat':'23.4567','lng':'-10.5019','address':null,'user_id':'0','customer_id':'0']}

On Failure

If the user is not logged in: {'error':'no logged in'}

Last updated