Fetch Salary API

This API is used to fetch all salary details. 

Request URL:

https://people.zoho.com/api/compensation/v1/salary

Header:

Authorization:Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf

Request Method:

GET

Scope:

ZohoPeople.compensation.ALL

Request Parameters:

mode:
(mandatory)
Specify mode in salary ("team" or "all")
startIndex:starting index of the records to be fetched (record index starts from 1)

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.
 

Error Codes & Responses

Sample Request:

Copiedhttps://people.zoho.com/api/compensation/v1/salary?mode=all

Sample Response:

Copied{
 "response": {
 "result": [
 {
 "Salary_Package": "Entry Level",
 "CTC": "99000",
 "Employee": "HRM2 - VINDHYA SRI",
 "Package_Id": "148113000000342707",
 "Effective_From": "04-Aug-2021",
 "Currency": "AED",
 "Salary_Id": "148113000000350072",
 "Formatted_CTC": "AED 99000.00",
 "Erecno": "148113000000350001"
 },
 {
 "Salary_Package": "Entry Level",
 "CTC": "45000",
 "Employee": "1 - Mrunal Thakur",
 "Package_Id": "148113000000342707",
 "Effective_From": "19-Aug-2024",
 "Currency": "AED",
 "Salary_Id": "148113000000342854",
 "Formatted_CTC": "AED 45000.00",
 "Erecno": "148113000000340003"
 }
 ],
 "message": "Success",
 "uri": "/api/compensation/v1/salary",
 "status": 0
 }
}