Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WorkRoleLocationsApi

Hierarchy

  • WorkRoleLocationsApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

timeWorkRolesIdLocationsCountGet

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

    Parameters

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

    Returns Promise<Count>

timeWorkRolesIdLocationsGet

  • timeWorkRolesIdLocationsGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<WorkRoleLocation>>
  • Get Work Role Location

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

timeWorkRolesIdLocationsLocationIdDelete

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

    Parameters

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

    Returns Promise<__type>

timeWorkRolesIdLocationsLocationIdGet

  • timeWorkRolesIdLocationsLocationIdGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<WorkRoleLocation>
  • Get Work Role Location By Id

    Parameters

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

    Returns Promise<WorkRoleLocation>

timeWorkRolesIdLocationsLocationIdPatch

  • timeWorkRolesIdLocationsLocationIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<WorkRoleLocation>
  • Update Work Role Location

    Parameters

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

    Returns Promise<WorkRoleLocation>

timeWorkRolesIdLocationsLocationIdPut

  • timeWorkRolesIdLocationsLocationIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<WorkRoleLocation>
  • Replace Work Role Location

    Parameters

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

    Returns Promise<WorkRoleLocation>

timeWorkRolesIdLocationsPost

  • timeWorkRolesIdLocationsPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<WorkRoleLocation>

Generated using TypeDoc