Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProductsItemApi

Hierarchy

  • ProductsItemApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

procurementProductsCountGet

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

    Parameters

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

    Returns Promise<Count>

procurementProductsGet

  • procurementProductsGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<ProductItem>>
  • Get Products

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

procurementProductsIdDelete

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

    Parameters

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

    Returns Promise<__type>

procurementProductsIdGet

  • procurementProductsIdGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<ProductItem>
  • Get Product By Id

    Parameters

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

    Returns Promise<ProductItem>

procurementProductsIdPatch

  • procurementProductsIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<ProductItem>
  • Update Product

    Parameters

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

    Returns Promise<ProductItem>

procurementProductsIdPut

  • procurementProductsIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<ProductItem>
  • Replace Product

    Parameters

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

    Returns Promise<ProductItem>

procurementProductsPost

  • procurementProductsPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<ProductItem>

Generated using TypeDoc