Sets the Location of the Asset.

Parameters

id

The ID of the Asset.

type

The type id of the Asset.

location

The location id you want to set for the Asset.

Example

FM_api('Asset_setLocation', ['id' => '23674', 'type' => '1', 'location' => '234']);

Result

On Success

{'ok":1,"movement_id":16}