Set the Periodicity Type for an Asset Rental Type.

Parameters

id

The ID of the Asset Rental Type.

val

Periodicity Type to bet set. (1 - Day, 2 - Week, 3 - Month, 4 - Year).

Example

FM_api('AssetRentalType_setPeriodicityType', ['id' => '5', 'val' => '1'])

Result

On Success

{"ok":1}