Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OpportunityContactsApi

Hierarchy

  • OpportunityContactsApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

salesOpportunitiesIdContactsContactIdDelete

  • salesOpportunitiesIdContactsContactIdDelete(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<__type>
  • Delete Opportunity Contact By Id

    Parameters

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

    Returns Promise<__type>

salesOpportunitiesIdContactsContactIdGet

  • salesOpportunitiesIdContactsContactIdGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<OpportunityContact>
  • Get Opportunity Contact By Id

    Parameters

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

    Returns Promise<OpportunityContact>

salesOpportunitiesIdContactsContactIdPatch

  • salesOpportunitiesIdContactsContactIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<OpportunityContact>
  • Update Opportunity Contact

    Parameters

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

    Returns Promise<OpportunityContact>

salesOpportunitiesIdContactsContactIdPut

  • salesOpportunitiesIdContactsContactIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<OpportunityContact>

salesOpportunitiesIdContactsCountGet

  • salesOpportunitiesIdContactsCountGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Count>
  • Get Opportunity Contacts Count

    Parameters

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

    Returns Promise<Count>

salesOpportunitiesIdContactsGet

  • salesOpportunitiesIdContactsGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<OpportunityContact>>
  • Get Opportunity Contacts

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

salesOpportunitiesIdContactsPost

  • salesOpportunitiesIdContactsPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<OpportunityContact>

Generated using TypeDoc