Returns rental details for a given asset

Parameters

aid

The ID of the asset

order

The order the details should be displayed in.

Example

FM_api('Asset_rentalsGetDT', ['aid' => '5', 'order' => 'asc'])

On Success

{"recordsTotal":"1","recordsFiltered":"1","rentTotal":"130.0000","data":[["10","2018-12-19 00:00:00","2018-12-31 00:00:00",["0","1"],"130.0000","",["151","152"]]]}