Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExpenseReportsApi

Hierarchy

  • ExpenseReportsApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

expenseReportsCountGet

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

    Parameters

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

    Returns Promise<Count>

expenseReportsGet

  • expenseReportsGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<ExpenseReport>>
  • Get Expense Reports

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

expenseReportsIdGet

  • expenseReportsIdGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<ExpenseReport>
  • Get Expense Report By Id

    Parameters

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

    Returns Promise<ExpenseReport>

expenseReportsIdReversePost

  • expenseReportsIdReversePost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<SuccessResponse>
  • Reverse Expense Report

    Parameters

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

    Returns Promise<SuccessResponse>

expenseReportsIdSubmitPost

  • expenseReportsIdSubmitPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<SuccessResponse>
  • Submit Expense Report

    Parameters

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

    Returns Promise<SuccessResponse>

Generated using TypeDoc