_getDT

Returns File details

Parameters

start

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

length

number of results

order

order to display the results in, asc or desc.

draw

type_enum

Form type number, eg. Customer - 0, Asset - 2, Job - 3, User - 4

type_id

Form type id, eg. user id or job id

Example

FM_api('Files_getDT', ['start' => '0', 'length' => '10', 'order' => 'asc', 'draw' => '', 'type_enum' => '4', 'type_id' => '82878'])

On Success

{"draw":0,"iTotalRecords":"5","iTotalDisplayRecords":"1","data":[[1,"2018-10-05 09:30:00","Test User File.txt","created by <a href=\"\/client\/user-edit.php?id=82878\">Jennifer Test<\/a>",[0,0],null,""]]}

Last updated