Assign a Customer to an Asset.

Parameters

ids

The ID of the asset.

val

The ID of the Customer to be assigned to the Asset.

Example

FM_api('Asset_setOwner', ['id' => '4', 'val' => '2']);

Result

On Success

{"ok":1}