You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Definition

List API can retrieve list data from the specified datalist.

This API is based on the specified datalist in the current app context.


NameDescription
1List

Select any datalist present in the current app, for interaction with API.

2Short Description

Any description here.

3Retrieve list data

Get all records from the specified datalist.

Name

Description
URL/list/{yourDatalistId}
HTTP MethodGET
Path Parameters
ParameterDescription
datalistIdDatalist ID to get records from.
Query String Parameters
ParameterDescription
filters

Filters the returned datalist records by querying the search terms with the datalist columns.

Similar to the LIKE operator for database querying.

startOffsetStarting position of records to start query. Expects an integer.
pageSizeNumber of results to return. Expects an integer.
Sample Response
{
  "total": 4,
  "size": 4,
  "data": [
    {
      "ref": "0003",
      "total": "5.00",
      "dateCreated": "Aug 21, 2019",
      "remark": "",
      "title": "Business Trip CEO",
      "claimant": "Admin Admin",
      "SelectApprover": "admin",
      "status": "<span style='color:orange;font-weight:bold;'>Submitted</span>"
    },
	  .....
  ]
}




  • No labels