Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TimeEntriesApi

Hierarchy

  • TimeEntriesApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

timeEntriesCountGet

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

    Parameters

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

    Returns Promise<Count>

timeEntriesDefaultsPost

  • timeEntriesDefaultsPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<TimeEntry>
  • Get Time Entry Defaults

    Parameters

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

    Returns Promise<TimeEntry>

timeEntriesGet

  • timeEntriesGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<TimeEntry>>
  • Get Time Entries

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

timeEntriesIdDelete

  • timeEntriesIdDelete(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<__type>
  • Delete Time Entry By Id

    Parameters

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

    Returns Promise<__type>

timeEntriesIdGet

  • timeEntriesIdGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<TimeEntry>
  • Get Time Entry By Id

    Parameters

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

    Returns Promise<TimeEntry>

timeEntriesIdPatch

  • timeEntriesIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<TimeEntry>
  • Update Time Entry

    Parameters

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

    Returns Promise<TimeEntry>

timeEntriesIdPut

  • timeEntriesIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<TimeEntry>
  • Replace Time Entry

    Parameters

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

    Returns Promise<TimeEntry>

timeEntriesPost

  • timeEntriesPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<TimeEntry>
  • Create Time Entry

    Parameters

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

    Returns Promise<TimeEntry>

Generated using TypeDoc