Fetch Packages API

This API is used to fetch all the salary packages.

Request URL:

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

Header:

Authorization:Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf

Request Method:

GET

Scope:

ZohoPeople.compensation.ALL

Request Parameters:

ParametersValues AllowedDefault ValueDescriptionMandatory
locationIds:example:["148113000000376003"]-Location ID to fetch packages applicable to that locationNo
designationIds:example:["148113000000376003"]-Designation ID to fetch packages applicable to that designationNo
statusactive|inactiveirrespective of status , we will show all the dataVerify if a salary package is enabled or disabledNo

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/packages

Sample Response:

Copied{
    "response": {
        "result": [
            {
                "Status": "active",
                "Description": "Entry Level",
                "Package_Id": "148113000000342707",
                "Is_Default": true,
                "Formatted_CTC": "AED 0.00",
                "Currency_Id": "148113000000342626",
                "Modified_By": "1 - David Lee",
                "CTC": "0.00",
                "Exchange_Rate": "1",
                "Applicability": {
                    "BUSINESSUNIT": [
                        "-1"
                    ],
                    "LOCATION": [
                        "-1"
                    ],
                    "EMPLOYEETYPE": [
                        "-1"
                    ],
                    "DESIGNATION": [
                        "-1"
                    ],
                    "STREAM": [
                        "-1"
                    ],
                    "EXPERIENCE": "0 Year from Date of joining",
                    "LEVEL": [
                        "-1"
                    ],
                    "LEGALENTITY": [
                        "-1"
                    ],
                    "DIVISION": [
                        "-1"
                    ]
                },
                "Created_By": "1 - David Lee",
                "Currency_Code": "AED",
                "Modified_Date": "06-Aug-2024 10:43:57 AM",
                "Package_Name": "Entry Level",
                "Created_Date": "06-Aug-2024 10:43:57 AM"
            },
            {
                "Status": "inactive",
                "Description": "chennaipack",
                "Package_Id": "148113000000376130",
                "Is_Default": false,
                "Formatted_CTC": "AED 90000.00",
                "Currency_Id": "148113000000342626",
                "Modified_By": "1 - David Lee",
                "CTC": "90000.00",
                "Exchange_Rate": "1",
                "Applicability": {
                    "BUSINESSUNIT": [
                        "-1"
                    ],
                    "LOCATION": [
                        "148113000000376013"
                    ],
                    "DESIGNATION": [
                        "-1"
                    ],
                    "STREAM": [
                        "-1"
                    ],
                    "EXPERIENCE": "0 Year from Date of joining",
                    "LEVEL": [
                        "-1"
                    ],
                    "LEGALENTITY": [
                        "-1"
                    ],
                    "DIVISION": [
                        "-1"
                    ]
                },
                "Created_By": "1 - David Lee",
                "Currency_Code": "AED",
                "Modified_Date": "20-Aug-2024 03:02:40 PM",
                "Package_Name": "chennaipack",
                "Created_Date": "20-Aug-2024 03:02:08 PM"
            }
        ],
        "message": "Success",
        "uri": "/api/compensation/v1/packages",
        "status": 0
    }
}