Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UnitOfMeasureConversionsApi

Hierarchy

  • UnitOfMeasureConversionsApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

procurementUnitOfMeasuresIdConversionsConversionIdDelete

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

    Parameters

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

    Returns Promise<__type>

procurementUnitOfMeasuresIdConversionsConversionIdGet

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

    Parameters

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

    Returns Promise<Conversion>

procurementUnitOfMeasuresIdConversionsConversionIdPatch

  • procurementUnitOfMeasuresIdConversionsConversionIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Conversion>
  • Update Conversion

    Parameters

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

    Returns Promise<Conversion>

procurementUnitOfMeasuresIdConversionsConversionIdPut

  • procurementUnitOfMeasuresIdConversionsConversionIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Conversion>
  • Replace Conversion

    Parameters

    • params: object
      • conversion: Conversion
      • conversionId: number
      • id: number
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<Conversion>

procurementUnitOfMeasuresIdConversionsCountGet

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

    Parameters

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

    Returns Promise<Count>

procurementUnitOfMeasuresIdConversionsGet

  • procurementUnitOfMeasuresIdConversionsGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<Conversion>>
  • Get Conversion

    Parameters

    • params: object
      • Optional childconditions?: string
      • Optional conditions?: string
      • Optional customfieldconditions?: string
      • id: number
      • Optional orderBy?: string
      • Optional page?: number
      • Optional pageSize?: number
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<Array<Conversion>>

procurementUnitOfMeasuresIdConversionsPost

  • procurementUnitOfMeasuresIdConversionsPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Conversion>
  • Create Conversion

    Parameters

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

    Returns Promise<Conversion>

Generated using TypeDoc