Skip to Content

How to update an existing interaction?

Greetings,

I wonder how we can update an existing interaction. The class CL_CUAN_CE_IA_POST for instance, it has methods of "INTERACTION_POST" and "INTERACTIONS_DELETE" yet there's no method called "INTERACTIONS_UPDATE".

I believe that the interactions get updated with new information as long as you keep all key fields (IA_TYPE, COMM_MEDIUM, TIMESTAMP, SOURCE_OBJECT_TYPE and SOURCE_OBJECT_ID) same? As far as I know the last time I tried this, I got an error saying such interaction already exist.

What am I missing?

Thanks in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Oct 13, 2017 at 07:02 AM

    Hello Hakan,

    with the CUAN_IMPORT_SRV odata service (or CSV upload) there is no way to update existing interactions - when importing any interaction that exists on DB with similar COMM_MEDIUM, IA_TYPE, ID, ID_ORIGIN, TIMESTAMP, SOURCE_OBJECT_TYPE and SOURCE_OBJECT_ID the import will be rejected.

    The only kind of interactions that can be updated are business documents - the update works with the

    CUAN_BUSINESS_DOCUMENT_IMP_SRV odata service. Busines documents are enabled for update as well.

    You will find some information in the online help (for the Hybris Marketing Cloud Edition, but available for the onPrem Releases as well:

    Import Data (fka Data Management Upload Interfaces) 1708

    Import Business Documents

    best regards,

    Johannes

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 13, 2017 at 02:07 PM

    Thank you for additional information Stefan :)

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 13, 2017 at 07:16 AM

    Hi Johannes,

    Thank you for your answer. The behavior is the same for RFC, Webservice and CSV upload methods as well?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 13, 2017 at 11:58 AM

    There are plans to enhance the quite new Interaction API so that it will be possible to update interactions in the future.

    Add comment
    10|10000 characters needed characters exceeded