Set an Asset to a Department.

Parameters

ID

The ID of the Department you wish to set an Asset to.

vals

The Asset ID you wish to set for the department.

Example

FM_api('Department_setAsset', ['id' => '1', 'vals' => '23']);

Result

On Success

"{"oldIds":["1"],"ok":1}"