Employees
List of Employees
URL
masters/employees
Method
POST
Request Media type
application/json
Response Media type
application/json
Request Parameters
| Parameter | Data Type | Min | Max | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| key | String | 32 | 32 | M | oe0M2pRkptETVlk0AabFfPaCRQLYY0kj | Key obtained from authentiaction. |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| employees | Array | M | List of Employees | |||
| employee | String | M | ABCD | Name of Employee | ||
| employeecode | Integer | M | 23001 | Employee Code (ecode) | ||
| companyid | String | M | 23001 | Company ID (co_id) | ||
| category | String | M | STAFF | Category of Employee | ||
| categ | String | M | ST | Category ID | ||
| designation | String | M | ACCOUNTS OFFICER | Designation of Employee | ||
| desig | Integer | M | 73 | Designation Code of Employee | ||
| showonreadings | String | M | V,E | Show on readings for Vehicle=V, Equipment=E and Plant=P. Will be given in csv | ||
| active | String | M | T | IF account active then T else F | ||
| freeze | String | M | F | If Freezed employee then T else F |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq"
}
Sample Success Response
{
"employees": [
{
"employee": "ABCD",
"employeecode": "23001",
"companyid": "23001",
"category": "STAFF",
"categ": "ST",
"designation": "ACCOUNTS OFFICER",
"desig": "73",
"showonreadings": "V,E",
"active": "T",
"freeze": "F"
}
],
"e": 200,
"msg": "Success"
}