_getDT

Returns Requisition Orders details

Parameters

dateFrom

The date to retrieve details from in format YYYY/MM/DD

dateTo

The date to retrieve details to in format YYYY/MM/DD

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

Example

FM_api('RequisitionOrders_getDT', ['dateFrom' => '2018-01-01', 'dateTo' => '2018-12-31', 'start' => '0', 'length' => '10', 'order' => 'asc', 'draw' => ''])

On Success

{"draw":0,"recordsTotal":"3","recordsFiltered":"3","data":[["1","Order 1","","2018-10-04 09:53:51",null,null,null,null,"0"],["2","Order 2","new","2018-10-23 10:51:29",null,null,null,null,"0"],["3","Order 3","TEST","2018-10-23 11:14:15",null,null,null,null,"0"]]}

Last updated