Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TimeAccrualsApi

Hierarchy

  • TimeAccrualsApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

timeAccrualsCountGet

  • timeAccrualsCountGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Count>
  • Get Time Accruals Count

    Parameters

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

    Returns Promise<Count>

timeAccrualsGet

  • timeAccrualsGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<TimeAccrual>>
  • Get Time Accruals

    Parameters

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

    Returns Promise<Array<TimeAccrual>>

timeAccrualsIdDelete

  • timeAccrualsIdDelete(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<__type>
  • Delete Time Accrual By Id

    Parameters

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

    Returns Promise<__type>

timeAccrualsIdGet

  • timeAccrualsIdGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<TimeAccrual>
  • Get Time Accrual By Id

    Parameters

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

    Returns Promise<TimeAccrual>

timeAccrualsIdPatch

  • timeAccrualsIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<TimeAccrual>
  • Update Time Accrual

    Parameters

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

    Returns Promise<TimeAccrual>

timeAccrualsIdPut

  • timeAccrualsIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<TimeAccrual>
  • Replace Time Accrual

    Parameters

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

    Returns Promise<TimeAccrual>

timeAccrualsPost

  • timeAccrualsPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<TimeAccrual>
  • Create Time Accrual

    Parameters

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

    Returns Promise<TimeAccrual>

Generated using TypeDoc