Loss Of Pay Report API

To get Loss of Pay (LOP) report of an specific pay cycle.

Request URL:

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

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 -Pay Cycle start date
to*Date String-Pay Cycle end date
employeeJSON Array (maximum 200)-Erecno(s) of the users
unitDay | Hour DayUnit of the report
startIndexinteger0From which index of the employee report has to be fetched 
limitInteger(0-200)200no of employee's reports that has to fetched
dateFormatStringSpecify the date format
(Org date format will be considered if nothing is specified) 

*mandatory parameters

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

Header

CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf

Response

Copied{
	"report": {
		"100002000000031745": {
			"lopDetail": {
				"reason": "",
				"total": 6,
				"booked": 6,
				"carryOver": 0,
				"adjustment": 0,
				"PreviousPayPeriodBalance": 0,
				"lop": 6
			},
			"employee": {
				"name": "Henry",
				"id": "1",
				"email": "henry@zylker.com"
			}
		},
		"100002000000055013": {
			"lopDetail": {
				"reason": "",
				"total": 0,
				"booked": 0,
				"carryOver": 0,
				"adjustment": 0,
				"PreviousPayPeriodBalance": 0,
				"lop": 0
			},
			"employee": {
				"name": "Jack",
				"id": "2",
				"email": "Jack@�zylker.com"
			}
		},
		"employees": [
			100002000000031745,
			100002000000055013
		]
	}
}