_setCode
Last updated
Sets the Serial Number of the Asset.
The ID of the Asset.
FM_api('Asset_setCode', ['id' => '123', 'value' => '221100']);{'ok':1}If the Asset ID is not given:
{'error':'no ID provided'}If the value is not given:
{'error':'no val provided'}If the Asset is not found:
Last updated
{'error':'asset does not exist'}