Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CommissionsApi

Hierarchy

  • CommissionsApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

salesCommissionsCountGet

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

    Parameters

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

    Returns Promise<Count>

salesCommissionsGet

  • salesCommissionsGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<Commission>>
  • Get Commissions

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

salesCommissionsIdDelete

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

    Parameters

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

    Returns Promise<__type>

salesCommissionsIdGet

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

    Parameters

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

    Returns Promise<Commission>

salesCommissionsIdPatch

  • salesCommissionsIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Commission>
  • Update Commission

    Parameters

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

    Returns Promise<Commission>

salesCommissionsIdPut

  • salesCommissionsIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Commission>
  • Replace Commission

    Parameters

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

    Returns Promise<Commission>

salesCommissionsPost

  • salesCommissionsPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Commission>
  • Create Commission

    Parameters

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

    Returns Promise<Commission>

Generated using TypeDoc