Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CountriesApi

Hierarchy

  • CountriesApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

companyCountriesCountGet

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

    Parameters

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

    Returns Promise<Count>

companyCountriesGet

  • companyCountriesGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<Country>>
  • Get Countries

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

companyCountriesIdDelete

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

    Parameters

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

    Returns Promise<__type>

companyCountriesIdGet

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

    Parameters

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

    Returns Promise<Country>

companyCountriesIdPatch

  • companyCountriesIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Country>
  • Update Country

    Parameters

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

    Returns Promise<Country>

companyCountriesIdPut

  • companyCountriesIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Country>
  • Replace Country

    Parameters

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

    Returns Promise<Country>

companyCountriesPost

  • companyCountriesPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Country>
  • Create Country

    Parameters

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

    Returns Promise<Country>

Generated using TypeDoc