> 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/_rentalsgetdt.md).

# \_rentalsGetDT

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"]]]}
```
