Download
Last stable v 5.2 2024-11-01
API URL | /usr/lst |
Description | User list DataTable() object server side RESTFul API |
Access | Restricted to roles: admin, demo |
Rquest method | GET |
Request data type | Request variables |
Request data |
Variables automatically issued by DataTable() object for server side backend:
|
Response type | JSON |
Response data |
{
'draw': 'sequence number', // ex. '1'
'recordsTotal': 'total records in DB user table', // ex. '13'
'recordsFiltered': 'total records in DB user table', // ex. '13'
'data':[
[
'<input type="checkbox"/>', // checkbox <input> element
'No', // sequence no ex. '1'
'user id in DB table', // ex. '1'
'user id', // ex. 'smi'
'user name', // ex. 'Smith John'
'user e-mail address', // ex. 'smith.john@mail.com'
'user country', // ex. 'USA'
'user code', //ex. 'ecom'
'<div class="cms-mark-icon-positive"></div>', // user active: class="cms-mark-icon-positive", user inactive: class="cms-mark-icon-negative"
'last update editor name', // ex. 'Linkoln Edgar', 'CMS' - if cms builtin administrator
'last update timestamp' // ex. '2013-09-02 15:04:33'
]
...
],
'rc': '0',
'msg': 'success'
}
|