Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AgreementSitesApi

Hierarchy

  • AgreementSitesApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

financeAgreementsIdSitesCountGet

  • financeAgreementsIdSitesCountGet(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>

financeAgreementsIdSitesGet

  • financeAgreementsIdSitesGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<AgreementSite>>
  • 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<AgreementSite>>

financeAgreementsIdSitesPost

  • financeAgreementsIdSitesPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<AgreementSite>

financeAgreementsIdSitesSiteIdDelete

  • financeAgreementsIdSitesSiteIdDelete(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>

financeAgreementsIdSitesSiteIdGet

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

    Parameters

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

    Returns Promise<AgreementSite>

financeAgreementsIdSitesSiteIdPatch

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

    Parameters

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

    Returns Promise<AgreementSite>

financeAgreementsIdSitesSiteIdPut

  • financeAgreementsIdSitesSiteIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<AgreementSite>

Generated using TypeDoc