Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TimeSheetsApi

Hierarchy

  • TimeSheetsApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

timeSheetsCountGet

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

    Parameters

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

    Returns Promise<Count>

timeSheetsGet

  • timeSheetsGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<TimeSheet>>
  • Get Time Sheet

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

timeSheetsIdGet

  • timeSheetsIdGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<TimeSheet>
  • Get Time Sheet By Id

    Parameters

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

    Returns Promise<TimeSheet>

timeSheetsIdReversePost

  • timeSheetsIdReversePost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<SuccessResponse>
  • Reverse Time Sheet

    Parameters

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

    Returns Promise<SuccessResponse>

timeSheetsIdSubmitPost

  • timeSheetsIdSubmitPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<SuccessResponse>
  • Submit Time Sheet

    Parameters

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

    Returns Promise<SuccessResponse>

Generated using TypeDoc