Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DepartmentsApi

Hierarchy

  • DepartmentsApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

systemDepartmentsCountGet

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

    Parameters

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

    Returns Promise<Count>

systemDepartmentsGet

  • systemDepartmentsGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<Department>>
  • Get Department

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

systemDepartmentsIdDelete

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

    Parameters

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

    Returns Promise<__type>

systemDepartmentsIdGet

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

    Parameters

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

    Returns Promise<Department>

systemDepartmentsIdPatch

  • systemDepartmentsIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Department>
  • Update Department

    Parameters

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

    Returns Promise<Department>

systemDepartmentsIdPut

  • systemDepartmentsIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Department>
  • Replace Department

    Parameters

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

    Returns Promise<Department>

systemDepartmentsPost

  • systemDepartmentsPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Department>
  • Create Department

    Parameters

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

    Returns Promise<Department>

Generated using TypeDoc