Fetch Single Employee Salary API
This API is used to fetch the salary for a particular employee by erecno.
Request URL:
https://people.zoho.comhttps://api/compensation/v1/salary/<erecno>
Header:
Authorization:Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf
Request Method:
GET
Scope:
ZohoPeople.compensation.ALL
Request Parameters:
erecno: (mandatory) | Specify erecno of the employee whose salary record is to be fetched |
Threshold Limit: 300 requests | Lock period: 5 minutes
Threshold Limit - Number of API calls allowed within a minute.
Lock Period - Wait time before consecutive API requests.
Sample Request:
Copiedhttps://people.zoho.com//api/compensation/v1/salary/
Sample Response:
Copied{
"response": {
"result": [
{
"Salary_Package": "Entry Level",
"CTC": "99000",
"Employee": "HRM2 - Adam",
"Package_Id": "148113000000342707",
"Effective_From": "04-Aug-2021",
"Currency": "AED",
"Salary_Id": "148113000000350072",
"Formatted_CTC": "AED 99000.00",
"Erecno": "148113000000350001"
}
],
"message": "Success",
"uri": "/api/compensation/v1/salary/148113000000350001",
"status": 0
}
}