on ‎2022 Jan 04 10:46 AM
Hi all,
I'm setting up an integration to upload external contacts into Marketing Cloud using SAP CPI.
For this I use the API_MKT_CONTACT_SRV api Version 4.
Contacts are created using the ContactOriginData entity, email & phone with the AdditionalID entity.
One field I would also like to update is the CorporateAccountName field. This however is not part of the ContactOriginData entity, it is only part of the Contacts entity.
However the Contacts entity cannot be used for updates, it is meant only for QUERY and GET.
So how can I update the corporate account name for my new contacts?
Do I need to use a different API?
Thanks!
Tom
Request clarification before answering.
Dear Tom,
The API_MKT_CONTACTS v4 provides the entity set ContactRelationData to import the contact - account relationship:
Structure of OData Service API_MKT_CONTACTS
Structure of OData Service API_MKT_CONTACTS - SAP Help Portal
=> ContactRelationData
The entity is fully supporting the B2B relationship, the 'assignment' via the property CorporateAccountName is not longer supported - this did not create a real contact - account relationship, but stored the account name as a text field only. The assignment is required to be maintained via account id origin and account id.
Please also find some payload examples in the online help:
Payload Examples for Contact-to-Account Relationships - SAP Help Portal
Regards,
Saravana.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi saravana92
Thank you for your answer!
Does that mean that we need to use the RelatedInteractionContactUUID for this? The label says corporate account.
However the contacts we are importing form an external system will surely sometimes have a corporate account name that is not exactly the same as those defined in Marketing cloud. It will be difficult to match them with the real account UUID in MC in the integration.
Or is there another way of working to supply the coporate account name in the ContactRelationData entity?
Regards
Tom
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.