Assign a Location Type to an Asset.
The ID of the asset.
The ID of the Location Type to be assigned to the Asset.
FM_api('Asset_setLocationType', ['id' => '4', 'val' => '2']);
{"ok":1}
Last updated 3 years ago