Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TimeExpensesApi

Hierarchy

  • TimeExpensesApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

systemMyCompanyTimeExpenseCountGet

  • systemMyCompanyTimeExpenseCountGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Count>
  • Get Time Expenses Count

    Parameters

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

    Returns Promise<Count>

systemMyCompanyTimeExpenseGet

  • systemMyCompanyTimeExpenseGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<TimeExpense>>
  • Get Time Expenses

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

systemMyCompanyTimeExpenseIdGet

  • systemMyCompanyTimeExpenseIdGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<TimeExpense>
  • Get Time Expense By Id

    Parameters

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

    Returns Promise<TimeExpense>

systemMyCompanyTimeExpenseIdPatch

  • systemMyCompanyTimeExpenseIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<TimeExpense>
  • Update Time Expense

    Parameters

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

    Returns Promise<TimeExpense>

systemMyCompanyTimeExpenseIdPut

  • systemMyCompanyTimeExpenseIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<TimeExpense>
  • Replace Time Expense

    Parameters

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

    Returns Promise<TimeExpense>

Generated using TypeDoc