v1

latestOpenAPI 3.0.12026-07-24192492466.5 KB
LeaveRequests

Get all Leave Requests

Get all the leaves in the organization between from and to date.If both from and to are not specified, last 30 days records are returned.from date should be before to date.The difference between from and to date cannot be more than 90 days.

get/time/leaverequests

Query parameters

employeeIdsstring

Comma separated list of one or more Employee ids you'd like to filter on.

fromstring date-time

From date.

tostring date-time

To date.

pageNumberinteger
pageSizeinteger

Represents how many results you'd like to retrieve per request (page). Default is 100. Max is 200

Response

Success

succeededboolean

Gets or sets a value indicating whether this Keka.API.Web.Core.Response`1 is succeeded.

messagestring nullable

Gets or sets the message.

errorsstring[] nullable

Gets or sets the errors.

pageNumberinteger

Gets or sets the page number.

pageSizeinteger

Gets or sets the size of the page.

firstPagestring uri nullable

Gets or sets the first page.

lastPagestring uri nullable

Gets or sets the last page.

totalPagesinteger

Gets or sets the total pages.

totalRecordsinteger

Gets or sets the total records.

nextPagestring uri nullable

Gets or sets the next page.

previousPagestring uri nullable

Gets or sets the previous page.