_getLocation

Returns the current location of an asset

Parameters

id

The ID of the asset

Example

FM_api('Asset_getLocation', ['id'=>'1']);

On Success

{"location_type":"0","location_id":"1","name":"Test Location","latitude":"54","longitude":"-5"}

On Error (No ID / Not Found)

false

Last updated