Pular para o conteúdo principal

Holiday

A sub namespace of Document, exclusive for holiday operations


get

Description

This method can be used to get holidays from a company between two dates.

Method(s)

1   declare function get(companyId?: string, startDate?: Date, endDate?: Date): Promise<HolidayInfoDto[]>
ParameterTypeRequiredDefaultsDescription
companyIdstringtrueCompany's id
startDateDatefalseRange start date
endDateDatefalseRange end date

Basic Usage

SW.Document.Holiday.get("bf54366c-4212-4099-b959-7c969b6c878f");