Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WorkTypesApi

Hierarchy

  • WorkTypesApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

timeWorkTypesCountGet

  • timeWorkTypesCountGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Count>
  • Get Work Type Count

    Parameters

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

    Returns Promise<Count>

timeWorkTypesGet

  • timeWorkTypesGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<WorkType>>
  • Get Work Type

    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<WorkType>>

timeWorkTypesIdDelete

  • timeWorkTypesIdDelete(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<__type>
  • Delete Work Type By Id

    Parameters

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

    Returns Promise<__type>

timeWorkTypesIdGet

  • timeWorkTypesIdGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<WorkType>
  • Get Work Type By Id

    Parameters

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

    Returns Promise<WorkType>

timeWorkTypesIdPatch

  • timeWorkTypesIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<WorkType>
  • Update Work Type

    Parameters

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

    Returns Promise<WorkType>

timeWorkTypesIdPut

  • timeWorkTypesIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<WorkType>
  • Replace Work Type

    Parameters

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

    Returns Promise<WorkType>

timeWorkTypesPost

  • timeWorkTypesPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<WorkType>
  • Create Work Type

    Parameters

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

    Returns Promise<WorkType>

Generated using TypeDoc