Encashment Report API

To get encashment report of the specified pay cycle.

Request URL:

https://people.zoho.com/people/api/v2/leavetracker/reports/encashment

Header:

Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf

Scope:

ZOHOPEOPLE.leave.READ

Request Parameters: 

Parameter NameValues AllowedDefault ValueDescription
payPeriodSettingId*Long-Id of the pay period setting which the pay cycle falls in
from*Date String -PayCycle start date
to*Date String-PayCycle end date
employee JSONArray (maximum 30)-Erecno of the employee
unitDay | Hour Day Unit of report
startIndexInteger0from which index of the employees report has to be fetched
limitinteger(0-30)30no of employee's reports that have to be fetched

*mandatory parameter

Note: Click here to access Pay Period Details to fetch pay period settings.

 Threshold Limit:  30 requests | Lock period: 2 minutes

Threshold Limit - Number of API calls allowed within a minute.
Lock Period - Wait time before consecutive API requests.

Request

Copiedhttps://people.zoho.com/people/api/v2/leavetracker/reports/encashment

Header

CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf

Response

Copied{
    "report": {
        "3000000013091": {
            "encashDetail": {
                "encash": 19.25
            },
            "employee": {
                "name": "Keerthana",
                "id": "1"
            }
        },
        "3000000013184": {
            "encashDetail": {
                "encash": 0
            },
            "employee": {
                "name": "emp6",
                "id": "2"
            }
        },
        "employees": [
            "3000000013091",
            "3000000013184"
        ]
    }
}