Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CategoriesApi

Hierarchy

  • CategoriesApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

procurementCategoriesCountGet

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

    Parameters

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

    Returns Promise<Count>

procurementCategoriesGet

  • procurementCategoriesGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<Category>>
  • Get Categories

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

procurementCategoriesIdDelete

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

    Parameters

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

    Returns Promise<__type>

procurementCategoriesIdGet

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

    Parameters

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

    Returns Promise<Category>

procurementCategoriesIdPatch

  • procurementCategoriesIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Category>
  • Update Category

    Parameters

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

    Returns Promise<Category>

procurementCategoriesIdPut

  • procurementCategoriesIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Category>
  • Replace Category

    Parameters

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

    Returns Promise<Category>

procurementCategoriesPost

  • procurementCategoriesPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Category>
  • Create Category

    Parameters

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

    Returns Promise<Category>

Generated using TypeDoc