Designation
Designation List
Use this API to list 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 | ID of the designation. |
| name | string | Name of the designation. |
| status | boolean | Status of the designation. |
| totalRecords | integer | Total number of records. |
| Code | Description |
|---|---|
| 1002 | "Invalid firstRecord" |
| 1003 | "Invalid count" |
For general error details, click here.