Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SourcesApi

Hierarchy

  • SourcesApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

serviceSourcesCountGet

  • serviceSourcesCountGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Count>
  • Create Sources Count

    Parameters

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

    Returns Promise<Count>

serviceSourcesGet

  • serviceSourcesGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<Source>>
  • Get Sources

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

serviceSourcesIdDelete

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

    Parameters

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

    Returns Promise<__type>

serviceSourcesIdGet

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

    Parameters

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

    Returns Promise<Source>

serviceSourcesIdPatch

  • serviceSourcesIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Source>
  • Update Source

    Parameters

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

    Returns Promise<Source>

serviceSourcesIdPut

  • serviceSourcesIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Source>
  • Replace Source

    Parameters

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

    Returns Promise<Source>

serviceSourcesPost

  • serviceSourcesPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Source>
  • Create Source

    Parameters

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

    Returns Promise<Source>

Generated using TypeDoc