Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PurchaseOrdersApi

Hierarchy

  • PurchaseOrdersApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

procurementPurchaseordersCountGet

  • procurementPurchaseordersCountGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Count>
  • Get Purchase Orders Count

    Parameters

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

    Returns Promise<Count>

procurementPurchaseordersGet

  • procurementPurchaseordersGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<PurchaseOrder>>
  • Get Purchase Orders

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

procurementPurchaseordersIdDelete

  • procurementPurchaseordersIdDelete(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<__type>
  • Delete Purchase Order By Id

    Parameters

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

    Returns Promise<__type>

procurementPurchaseordersIdGet

  • procurementPurchaseordersIdGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<PurchaseOrder>
  • Get Purchase Order By Id

    Parameters

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

    Returns Promise<PurchaseOrder>

procurementPurchaseordersIdPatch

  • procurementPurchaseordersIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<PurchaseOrder>
  • Update Purchase Order

    Parameters

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

    Returns Promise<PurchaseOrder>

procurementPurchaseordersIdPut

  • procurementPurchaseordersIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<PurchaseOrder>
  • Replace Purchase Order

    Parameters

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

    Returns Promise<PurchaseOrder>

procurementPurchaseordersPost

  • procurementPurchaseordersPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<PurchaseOrder>

Generated using TypeDoc