> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/asset/_setrentalamt.md).

# \_setRentalAmt

Set an Asset rental amount.

### Parameters

#### id

The ID of the Asset.

#### val

Amount to be set.

### Example

```
FM_api('Asset_setRentalAmt', ['id' => '9', 'val' => '500'])
```

#### On Success

```
{"ok":1,"meta":{"custom":[],"main":{"rental_amt":500}}}
```
