Designation List
Use this API to get all designation
HTTP REQUEST
GET /designation/designation-list
QUERY STRING PARAMETERS
| Field | Type | Description |
|---|---|---|
| firstRecord required |
integer | First record to return. Default: 1 |
| count required |
integer | Number of records to be returned starting from the first record. Default: 20, Max count limit: 100 |
| q | string | filter data by designation name |
{
"success": true,
"data": {
"response": {
"acknowledgement": "Success",
"data": {
"departmentList": [
{
"designationId": 14,
"name": "Manager",
"status": true
}
],
"totalRecords": 1
},
"error": {
"code": "",
"internal_message": "",
"moreInfo": []
}
}
}
}
| Field | Type | Description |
| designationId | integer | Designation ID |
| name | string | Designation Name |
| status | integer | Enabled/Disabled |
| totalRecords | integer | count of records returned |
| Code | Description |
| 1002 | ‘Invalid firstRecord’ |
| 1003 | ‘Invalid count’ |
For general error details, click here.