Designation
Designation List
Use this API to get all designations.
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 from the first record Default: 20, Max count limit: 100 |
q | string | filter data by designation name |
- Response
- Schema
- Error Codes
{
"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.