Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CampaignsApi

Hierarchy

  • CampaignsApi

Index

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

marketingCampaignsCountGet

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

    Parameters

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

    Returns Promise<Count>

marketingCampaignsGet

  • marketingCampaignsGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<Campaign>>
  • Get Campaigns

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

marketingCampaignsIdActivitiesCountGet

  • marketingCampaignsIdActivitiesCountGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Count>
  • Get Campaign Activities Count

    Parameters

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

    Returns Promise<Count>

marketingCampaignsIdActivitiesGet

  • marketingCampaignsIdActivitiesGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<ActivityReference>>
  • Get Campaign Activities

    Parameters

    • params: object
      • id: number
      • Optional page?: number
      • Optional pageSize?: number
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<Array<ActivityReference>>

marketingCampaignsIdDelete

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

    Parameters

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

    Returns Promise<__type>

marketingCampaignsIdGet

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

    Parameters

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

    Returns Promise<Campaign>

marketingCampaignsIdOpportunitiesCountGet

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

    Parameters

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

    Returns Promise<Count>

marketingCampaignsIdOpportunitiesGet

  • marketingCampaignsIdOpportunitiesGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<OpportunityReference>>
  • Get Campaign Opportunities

    Parameters

    • params: object
      • id: number
      • Optional page?: number
      • Optional pageSize?: number
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<Array<OpportunityReference>>

marketingCampaignsIdPatch

  • marketingCampaignsIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Campaign>
  • Update Campaign

    Parameters

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

    Returns Promise<Campaign>

marketingCampaignsIdPut

  • marketingCampaignsIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Campaign>
  • Replace Campaign

    Parameters

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

    Returns Promise<Campaign>

marketingCampaignsPost

  • marketingCampaignsPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Campaign>
  • Create Campaign

    Parameters

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

    Returns Promise<Campaign>

Generated using TypeDoc