Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CompaniesApi

Hierarchy

  • CompaniesApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

companyCompaniesCountGet

  • companyCompaniesCountGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Count>
  • Get Companies Count

    Parameters

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

    Returns Promise<Count>

companyCompaniesGet

  • companyCompaniesGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<Company>>
  • Get Companies

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

companyCompaniesIdDelete

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

    Parameters

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

    Returns Promise<__type>

companyCompaniesIdGet

  • companyCompaniesIdGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Company>
  • Get Company By Id

    Parameters

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

    Returns Promise<Company>

companyCompaniesIdMergePost

  • companyCompaniesIdMergePost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<SuccessResponse>

companyCompaniesIdPatch

  • companyCompaniesIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Company>
  • Update Company

    Parameters

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

    Returns Promise<Company>

companyCompaniesIdPut

  • companyCompaniesIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Company>
  • Replace Company

    Parameters

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

    Returns Promise<Company>

companyCompaniesPost

  • companyCompaniesPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Company>
  • Create Company

    Parameters

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

    Returns Promise<Company>

Generated using TypeDoc