Returns Departments 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('Departments_getDT', ['start' => '0', 'length' => '10', 'order' => 'asc'])

On Success

{"draw":0,"recordsTotal":"2","recordsFiltered":"2","data":[["2","Engineer","82878",null,[],[],""],["3","Admin","82878","",[],[],""]]}