_getDT

Returns Asset Type details

Parameters

start

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

length

number of results

order

Order the results should be displayed in e.g, asc or desc

Example

FM_api('AssetTypes_getDT', ['start' => '0', 'length' => '10', 'order' => 'asc'])

On Success

{"draw":0,"recordsTotal":"5","recordsFiltered":"5","data":[["1","Fire",1,0,"Test rental","2"],["2","Heating",0,0,null,"0"],["3","CCTV",0,0,null,"0"],["4","Re-fridgeration",0,0,null,"0"],["8","Test",0,0,null,"0"]]}

Last updated