Set the name for an Asset Rental Type.

Parameters

id

The ID of the Asset Rental Type.

val

New name to be set for the Asset Rental Type.

Example

FM_api('AssetRentalType_setName', ['id' => '5', 'val' => 'New Name'])

Result

On Success

{"ok":1}