_contractsGetDT

Returns Customer Contract details

Parameters

cid

Customer ID

active

Statuc of the contract, active - 1 complete - 0

name

Name of the customer contract as an optional search filter

notes

Notes for the customer contract as an optional search filter

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('Customer_contractsGetDT', ['cid' => '1', 'active' => '1', 'name' => 'Test name', 'notes' => 'Test note', 'start' => '0', 'length' => '10', 'order' => 'asc', 'draw' => ''])

On Success

{"draw":0,"recordsTotal":"2","recordsFiltered":"1","data":[["4","Test 2",[["121","2019-01-08 10:24:00"]],"0","0","0","0",[["82878","1"]],[],[],"0.0000","0","0","0","2019-01-08 10:24:37","1"]]}

Last updated