_setLocationId
Parameters
id
val
Example
FM_api('Asset_setLocationId', ['id' => '4', 'val' => '2']);Result
On Success
{"ok":1}Last updated
Assign a Location ID to an Asset.
The ID of the asset.
The location ID to be assigned to the Asset.
FM_api('Asset_setLocationId', ['id' => '4', 'val' => '2']);{"ok":1}Last updated