_getDT

Returns Forms 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.

formtype

Type of form to be displayed (0 - Job, 3 - Table)

showArchived

Display archived forms, (1 - Yes, 0- No)

draw

Example

FM_api('Forms_getDT', ['start' => '0', 'length' => '10', 'formtype' => '', 'showArchived' => '', 'order' => 'asc', 'draw' => ''])

On Success

{"draw":0,"recordsTotal":"23","recordsFiltered":"10","data":[[3,"Fieldmotion Work Sheet",[{"name":"Asset","type":"assets","sources":"[{\"form_id\":\"asset\",\"field\":\"spec:id\"}]","visibility_rules":"[]","meta":"{\"id\":1522854099756,\"asset_visibility\":0}","extras":{"values":""}},{"name":"Asset Make","type":"input","sources":"[{\"form_id\":\"asset\",\"field\":\"cust:Make FE\"},{\"form_id\":\"asset\",\"field\":\"cust:Make AC\"}]","visibility_rules":"[]","hidden":"1","meta":"{\"id\":1522854099757}"},{"nam"...

Last updated