_getDT

Returns Asset Maintenance details

Parameters

start

Where to start from e.g, by default, page 2 should be set to 10.

length

Number of results.

order

The order the details should be displayed in.

daysFrom

Number of days previos to retrieve details from.

daysTo

Number of days ahead to retrieve details from.

active

Status of the Asset maintenance, active - 1 inactive - 0.

draw

Example

FM_api('AssetMaintenance_getDT', ['start' =>  '0', 'length' => '10', 'order' => 'asc', 'daysFrom' => '-353', 'daysTo' => '7', 'active' => '1', 'draw' => '3'])

On Success

{"draw":3,"recordsTotal":"16","recordsFiltered":"2","data":[["15","4","Repair",["2018-10-25 10:00:00","110","0"],"2018-10-18",["48","2018-12-31"],["3","360"],[null,null],"0","1","48"],["16","4","Service",["0000-00-00 00:00:00","0",null],"2018-10-18",["49","0000-00-00"],["3","360"],[null,null],"0","1","49"]]}

Last updated