Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HolidaysApi

Hierarchy

  • HolidaysApi

Index

Constructors

constructor

Properties

Protected basePath

basePath: string = "https://api-na.myconnectwise.net/v4_6_release/apis/3.0"

defaultHeaders

defaultHeaders: any

Methods

systemHolidayListsIdHolidaysCountGet

  • systemHolidayListsIdHolidaysCountGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Count>
  • Get Holidays Count

    Parameters

    • params: object
      • Optional conditions?: string
      • id: number
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<Count>

systemHolidayListsIdHolidaysGet

  • systemHolidayListsIdHolidaysGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<Holiday>>
  • Get Holidays

    Parameters

    • params: object
      • Optional childconditions?: string
      • Optional conditions?: string
      • Optional customfieldconditions?: string
      • id: number
      • Optional orderBy?: string
      • Optional page?: number
      • Optional pageSize?: number
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<Array<Holiday>>

systemHolidayListsIdHolidaysHolidayIdDelete

  • systemHolidayListsIdHolidaysHolidayIdDelete(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<__type>
  • Delete Holiday By Id

    Parameters

    • params: object
      • holidayId: number
      • id: number
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<__type>

systemHolidayListsIdHolidaysHolidayIdGet

  • systemHolidayListsIdHolidaysHolidayIdGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Holiday>
  • Get Holiday By Id

    Parameters

    • params: object
      • holidayId: number
      • id: number
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<Holiday>

systemHolidayListsIdHolidaysHolidayIdPatch

  • systemHolidayListsIdHolidaysHolidayIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Holiday>
  • Update Holiday

    Parameters

    • params: object
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<Holiday>

systemHolidayListsIdHolidaysHolidayIdPut

  • systemHolidayListsIdHolidaysHolidayIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Holiday>
  • Replace Holiday

    Parameters

    • params: object
      • holiday: Holiday
      • holidayId: number
      • id: number
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<Holiday>

systemHolidayListsIdHolidaysPost

  • systemHolidayListsIdHolidaysPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Holiday>
  • Create Holiday

    Parameters

    • params: object
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<Holiday>

Generated using TypeDoc