Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ServiceLocationsApi

Hierarchy

  • ServiceLocationsApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

serviceLocationsCountGet

  • serviceLocationsCountGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Count>
  • Create Locations Count

    Parameters

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

    Returns Promise<Count>

serviceLocationsGet

  • serviceLocationsGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<ServiceLocation>>
  • Get Locations

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

serviceLocationsIdDelete

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

    Parameters

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

    Returns Promise<__type>

serviceLocationsIdGet

  • serviceLocationsIdGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<ServiceLocation>
  • Get Location By Id

    Parameters

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

    Returns Promise<ServiceLocation>

serviceLocationsIdPatch

  • serviceLocationsIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<ServiceLocation>

serviceLocationsIdPut

  • serviceLocationsIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<ServiceLocation>

serviceLocationsPost

  • serviceLocationsPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<ServiceLocation>

Generated using TypeDoc