Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WorkRolesApi

Hierarchy

  • WorkRolesApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

timeWorkRolesCountGet

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

    Parameters

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

    Returns Promise<Count>

timeWorkRolesGet

  • timeWorkRolesGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<WorkRole>>
  • Get Work Role

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

timeWorkRolesIdDelete

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

    Parameters

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

    Returns Promise<__type>

timeWorkRolesIdGet

  • timeWorkRolesIdGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<WorkRole>
  • Get Work Role By Id

    Parameters

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

    Returns Promise<WorkRole>

timeWorkRolesIdPatch

  • timeWorkRolesIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<WorkRole>
  • Update Work Role

    Parameters

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

    Returns Promise<WorkRole>

timeWorkRolesIdPut

  • timeWorkRolesIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<WorkRole>
  • Replace Work Role

    Parameters

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

    Returns Promise<WorkRole>

timeWorkRolesPost

  • timeWorkRolesPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<WorkRole>
  • Create Work Role

    Parameters

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

    Returns Promise<WorkRole>

Generated using TypeDoc