Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ActivitiesApi

Hierarchy

  • ActivitiesApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

salesActivitiesCountGet

  • salesActivitiesCountGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Count>
  • Get Activities Count

    Parameters

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

    Returns Promise<Count>

salesActivitiesGet

  • salesActivitiesGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<Activity>>
  • Get Activities

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

salesActivitiesIdDelete

  • salesActivitiesIdDelete(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<__type>
  • Delete Activity By Id

    Parameters

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

    Returns Promise<__type>

salesActivitiesIdGet

  • salesActivitiesIdGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Activity>
  • Get Activity By Id

    Parameters

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

    Returns Promise<Activity>

salesActivitiesIdPatch

  • salesActivitiesIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Activity>
  • Update Activity

    Parameters

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

    Returns Promise<Activity>

salesActivitiesIdPut

  • salesActivitiesIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Activity>
  • Replace Activity

    Parameters

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

    Returns Promise<Activity>

salesActivitiesPost

  • salesActivitiesPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Activity>
  • Create Activity

    Parameters

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

    Returns Promise<Activity>

Generated using TypeDoc