_getLocation
Returns the current location of an Asset.
Parameters
id
The ID of the Asset.
Example
FM_api('Asset_getLocation', ['id'=>'30001']);On Success
{"location_type":"1","location_id":"90002","name":"Newry Area","latitude":"0","longitude":"0","street_address1":"","street_address2":"","town":"","county":"","postcode":"","country":"","city":"","state":"","location_type_name":"Customer"}On Failure
If the "id" parameter is not set or has an integer value less than 1:
{"error":"missing or invalid parameter: id"}If the "id" parameter does not match the ID of an existing Asset:
{"error":"asset does not exist"}Last updated