# \_setAssets

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}"
```
