# \_setAssetTypes

Set an Asset Type for a Schedule of Rates.

### Parameters

#### id

The ID of the Schedule of Rates.

#### vals

The Asset IDs to set for the Schedule of Rates.

### Example

```
FM_api('ScheduleOfRates_setAssetTypes', ['id' => '4', 'vals' => ['2']])
```

### Result

#### On Success

```
{'ok':1}
```
