Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExpenseTypesApi

Hierarchy

  • ExpenseTypesApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

expenseTypesCountGet

  • expenseTypesCountGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Count>
  • Get Expense Types Count

    Parameters

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

    Returns Promise<Count>

expenseTypesGet

  • expenseTypesGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<ExpenseType>>
  • Get Expense Types

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

expenseTypesIdDelete

  • expenseTypesIdDelete(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<__type>
  • Delete Expense Type By Id

    Parameters

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

    Returns Promise<__type>

expenseTypesIdGet

  • expenseTypesIdGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<ExpenseType>
  • Get Expense Type By Id

    Parameters

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

    Returns Promise<ExpenseType>

expenseTypesIdPatch

  • expenseTypesIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<ExpenseType>
  • Update Expense Type

    Parameters

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

    Returns Promise<ExpenseType>

expenseTypesIdPut

  • expenseTypesIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<ExpenseType>
  • Replace Expense Type

    Parameters

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

    Returns Promise<ExpenseType>

expenseTypesPost

  • expenseTypesPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<ExpenseType>
  • Create Expense Type

    Parameters

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

    Returns Promise<ExpenseType>

Generated using TypeDoc