Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CompanySitesApi

Hierarchy

  • CompanySitesApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

companyCompaniesIdSitesCountGet

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

    Parameters

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

    Returns Promise<Count>

companyCompaniesIdSitesGet

  • companyCompaniesIdSitesGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<CompanySite>>
  • Get Sites

    Parameters

    • params: object
      • Optional childconditions?: string
      • Optional conditions?: string
      • Optional customfieldconditions?: string
      • id: number
      • Optional orderBy?: string
      • Optional page?: number
      • Optional pageSize?: number
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<Array<CompanySite>>

companyCompaniesIdSitesPost

  • companyCompaniesIdSitesPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<CompanySite>

companyCompaniesIdSitesSiteIdDelete

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

    Parameters

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

    Returns Promise<__type>

companyCompaniesIdSitesSiteIdGet

  • companyCompaniesIdSitesSiteIdGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<CompanySite>
  • Get Site By Id

    Parameters

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

    Returns Promise<CompanySite>

companyCompaniesIdSitesSiteIdPatch

  • companyCompaniesIdSitesSiteIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<CompanySite>
  • Update Site

    Parameters

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

    Returns Promise<CompanySite>

companyCompaniesIdSitesSiteIdPut

  • companyCompaniesIdSitesSiteIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<CompanySite>
  • Replace Site

    Parameters

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

    Returns Promise<CompanySite>

Generated using TypeDoc