Interface NewAbsence

interface NewAbsence {
    approverId: string;
    assignedToId: string;
    canApproveAbsence?: boolean;
    canBeDeleted?: boolean;
    canBeEdited?: boolean;
    commentary?: string;
    company?: string;
    denyReason?: string;
    doctorsNote?: boolean;
    documentIds?: string[];
    end: string;
    endDateTime?: string;
    forwardHistory?: ForwardHistory[];
    historical?: false;
    isHourly?: boolean;
    reasonId: string;
    start: string;
    startDateTime?: string;
    status?: number;
    substituteId?: string;
    userNotificationIds?: string[];
}

Properties

approverId: string

id of the user who will/has approved this absence. If the creator has sufficient permissions it will be the same as assignedToId

assignedToId: string

id of the user who is assigned to this absence

canApproveAbsence?: boolean
canBeDeleted?: boolean
canBeEdited?: boolean
commentary?: string

optional comment

company?: string
denyReason?: string

an optional comment for a denied absence request

doctorsNote?: boolean

object with boolean value to determine if a note is required for an absence and if it was submitted

documentIds?: string[]
end: string

the end date and time of the absence

endDateTime?: string
forwardHistory?: ForwardHistory[]
historical?: false
isHourly?: boolean
reasonId: string

id of the associated absence type

start: string

the start date and time of the absence

startDateTime?: string
status?: number

the status of the absence

substituteId?: string

id of the user who will act as a substitute during this absence

userNotificationIds?: string[]

Generated using TypeDoc