Skip to content

/AWS1/IF_CN2=>UPDCAMPAIGNCHANNELSUBTYPECFG()

About UpdateCampaignChannelSubtypeConfig

Updates the channel subtype config of a campaign. This API is idempotent.

Method Signature

METHODS /AWS1/IF_CN2~UPDCAMPAIGNCHANNELSUBTYPECFG
  IMPORTING
    !IV_ID TYPE /AWS1/CN2CAMPAIGNID OPTIONAL
    !IO_CHANNELSUBTYPECONFIG TYPE REF TO /AWS1/CL_CN2CHANNELSUBTYPECFG OPTIONAL
  RAISING
    /AWS1/CX_CN2ACCESSDENIEDEX
    /AWS1/CX_CN2CONFLICTEXCEPTION
    /AWS1/CX_CN2INTERNALSERVEREX
    /AWS1/CX_CN2RESOURCENOTFOUNDEX
    /AWS1/CX_CN2VALIDATIONEX
    /AWS1/CX_CN2CLIENTEXC
    /AWS1/CX_CN2SERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_id TYPE /AWS1/CN2CAMPAIGNID /AWS1/CN2CAMPAIGNID

Identifier representing a Campaign

io_channelsubtypeconfig TYPE REF TO /AWS1/CL_CN2CHANNELSUBTYPECFG /AWS1/CL_CN2CHANNELSUBTYPECFG

Campaign Channel Subtype config

Examples

Syntax Example

This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.

lo_client->updcampaignchannelsubtypecfg(
  io_channelsubtypeconfig = new /aws1/cl_cn2channelsubtypecfg(
    io_email = new /aws1/cl_cn2emailchannelsubt00(
      io_defaultoutboundconfig = new /aws1/cl_cn2emailoutboundcfg(
        iv_connectsourceemailaddress = |string|
        iv_sourceemailaddressdspname = |string|
        iv_wisdomtemplatearn = |string|
      )
      io_outboundmode = new /aws1/cl_cn2emailoutboundmode( new /aws1/cl_cn2agentlessconfig( ) )
      iv_capacity = '0.1'
    )
    io_sms = new /aws1/cl_cn2smschannelsubtyp00(
      io_defaultoutboundconfig = new /aws1/cl_cn2smsoutboundconfig(
        iv_cnctsourcephonenumberarn = |string|
        iv_wisdomtemplatearn = |string|
      )
      io_outboundmode = new /aws1/cl_cn2smsoutboundmode( new /aws1/cl_cn2agentlessconfig( ) )
      iv_capacity = '0.1'
    )
    io_telephony = new /aws1/cl_cn2telephonychannel00(
      io_defaultoutboundconfig = new /aws1/cl_cn2telephonyoutboun01(
        io_answermachinedetectconfig = new /aws1/cl_cn2answermachinedet00(
          iv_awaitanswermachineprompt = ABAP_TRUE
          iv_enableanswermachinedetect = ABAP_TRUE
        )
        iv_connectcontactflowid = |string|
        iv_connectsourcephonenumber = |string|
        iv_ringtimeout = 123
      )
      io_outboundmode = new /aws1/cl_cn2telephonyoutboun00(
        io_agentless = new /aws1/cl_cn2agentlessconfig( )
        io_predictive = new /aws1/cl_cn2predictiveconfig( '0.1' )
        io_preview = new /aws1/cl_cn2previewconfig(
          io_timeoutconfig = new /aws1/cl_cn2timeoutconfig( 123 )
          it_agentactions = VALUE /aws1/cl_cn2agentactions_w=>tt_agentactions(
            ( new /aws1/cl_cn2agentactions_w( |string| ) )
          )
          iv_bandwidthallocation = '0.1'
        )
        io_progressive = new /aws1/cl_cn2progressiveconfig( '0.1' )
      )
      iv_capacity = '0.1'
      iv_connectqueueid = |string|
    )
    io_whatsapp = new /aws1/cl_cn2whatsappchnlsubt00(
      io_defaultoutboundconfig = new /aws1/cl_cn2whatsappoutbound01(
        iv_cnctsourcephonenumberarn = |string|
        iv_wisdomtemplatearn = |string|
      )
      io_outboundmode = new /aws1/cl_cn2whatsappoutbound00( new /aws1/cl_cn2agentlessconfig( ) )
      iv_capacity = '0.1'
    )
  )
  iv_id = |string|
).