Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OpportunitiesApi

Hierarchy

  • OpportunitiesApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

salesOpportunitiesCountGet

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

    Parameters

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

    Returns Promise<Count>

salesOpportunitiesGet

  • salesOpportunitiesGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<Opportunity>>
  • Get Opportunities

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

salesOpportunitiesIdConvertToAgreementPost

  • salesOpportunitiesIdConvertToAgreementPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Agreement>

salesOpportunitiesIdConvertToProjectPost

  • salesOpportunitiesIdConvertToProjectPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Project>

salesOpportunitiesIdConvertToSalesOrderPost

  • salesOpportunitiesIdConvertToSalesOrderPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Order>

salesOpportunitiesIdConvertToServiceTicketPost

  • salesOpportunitiesIdConvertToServiceTicketPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Ticket>

salesOpportunitiesIdDelete

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

    Parameters

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

    Returns Promise<__type>

salesOpportunitiesIdGet

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

    Parameters

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

    Returns Promise<Opportunity>

salesOpportunitiesIdPatch

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

    Parameters

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

    Returns Promise<Opportunity>

salesOpportunitiesIdPut

  • salesOpportunitiesIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Opportunity>
  • Replace Opportunity

    Parameters

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

    Returns Promise<Opportunity>

salesOpportunitiesPost

  • salesOpportunitiesPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Opportunity>
  • Create Opportunity

    Parameters

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

    Returns Promise<Opportunity>

Generated using TypeDoc