Retrieves the current leave requests.The query can be filtered by a number of specific query parameters.

Parameters

ParameterDescription
End DateEnd date of leave.
FromFilter to capture whether the leave request overlaps with a date range.
ID-
Leave Policy-
Processed By-
Requested By-
Role-
Start DateStart date of leave.
Status-
ToFilter to capture whether the leave request overlaps with a date range.

Example Output

{
	"value": [
		{
			"comments": null,
			"createdAt": "2018-08-12T15:06:51.681000-07:00",
			"dates": [
				{
					"date": "2018-08-22",
					"numMinutes": 480
				},
				{
					"date": "2018-08-23",
					"numMinutes": 480
				},
				{
					"date": "2018-08-24",
					"numMinutes": 240
				}
			],
			"endDate": "2018-08-24",
			"id": "5b998dfb40cae798a83e8874",
			"leavePolicy": "5b998cf940cae798a83e87fd",
			"leaveType": "VACATION",
			"numHours": 20,
			"numMinutes": 1200,
			"policyDisplayName": "Vacation",
			"processedAt": "2018-08-13T15:06:51.684000-07:00",
			"processedBy": "5ae0b2cb40cae73202bd66cc",
			"processedByName": "Funky Admin",
			"reasonForLeave": "Visiting hometown for my brother’s wedding",
			"requestedBy": "5ae0b2cb40cae73202bd66cc",
			"requestedByName": "Jane Doe",
			"role": "5ae0b2cb40cae73202bd66cc",
			"roleName": "Jane Doe",
			"startDate": "2018-08-22",
			"status": "APPROVED",
			"updatedAt": "2018-08-13T15:06:51.684000-07:00"
		}
	]
}

Workflow Library Example

Get Leave Requests with Rippling and Send Results Via Email

Preview this Workflow on desktop