cancel
Showing results for 
Search instead for 
Did you mean: 

How to update an existing interaction?

hakan_kose
Contributor
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member196553
Active Contributor
0 Kudos

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

Answers (3)

Answers (3)

hakan_kose
Contributor
0 Kudos

Thank you for additional information Stefan 🙂

stefan_nasshan
Active Participant
0 Kudos

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

hakan_kose
Contributor
0 Kudos

Hi Johannes,

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

former_member196553
Active Contributor
0 Kudos

Yes, the design is the same, independently of the way the interactions are imported/uloaded.

best regards,

Johannes