gradeId is a grade code. departmentIds are department codes in your company.{
"designationName": "Area Sales Manager",
"gradeId": "GRADE003",
"departmentIds": [
"DEPT001",
"DEPT002"
]
}curl --location --request PATCH 'https://ekpayout-uat.enkash.in/api/v0/partner/designation/' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data '{
"designationName": "Area Sales Manager",
"gradeId": "GRADE003",
"departmentIds": [
"DEPT001",
"DEPT002"
]
}'{
"response_code": 0,
"response_message": "SUCCESS",
"payload": {
"designationId": "DESIG001",
"designationName": "AREA SALES MANAGER",
"status": "ACTIVE",
"gradeId": "GRADE003",
"gradeName": "L3",
"seniorityLevel": 3,
"departments": [
{
"code": "DEPT001",
"name": "SALES"
},
{
"code": "DEPT002",
"name": "MARKETING"
}
]
}
}