Skip to main content

RequestLeaveInput

What the merchant must supply to raise a leave request on an employee's behalf.

input RequestLeaveInput {
employeeId: ID!
type: LeaveType!
fromDate: Date!
toDate: Date!
note: String
}

Fields

RequestLeaveInput.employeeId ● ID! non-null scalar

The employee the time off is for.

RequestLeaveInput.type ● LeaveType! non-null enum

The category of time off being claimed.

RequestLeaveInput.fromDate ● Date! non-null scalar

The first day of the requested absence, inclusive.

RequestLeaveInput.toDate ● Date! non-null scalar

The last day of the requested absence, inclusive. Must not fall before FromDate.

RequestLeaveInput.note ● String scalar

An optional reason to show the approver, at most 500 characters.

Member Of

requestLeave mutation