cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

New Contacts Hybris Marketing Contact API

0 Likes
984

Hi Gurus,

I saw that is not possible import Marketing Location for a contact using the new ODATA API_MKT_CONTACT_SRV, we are on 1709(sp01) release.

In the old ODATA CUAN_IMPORT_SRV it was possible to import Marketing Location to a Contact.

Does anyone knows why it's not possible anymore?

Best regards,

Rubens Lenzi

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member247020
Active Participant

Hi,

I can't tell you why this is not on the Contact, but since with the release of the new newer OData APIs there is a clear separation of entities. When you get Marketing location data and contact data in the same message you might consider having two separate calls.

Marketing Locations can be maintained with the OData service CUAN_MARKETING_LOCATION_IMP_SRVhttps://help.sap.com/viewer/e68e4c8c856d429b85c2a7370c3553ae/1802%20YMKT/en-US/764796a37e6f42089cd68c817fcaa976.html

br,
Johannes

0 Likes

The service CUAN_MARKETING_LOCATION_IMP_SRV it's used for import Marketing Location itself, not it's relation with a contact like we have on CUAN_IMPORT_SRV. I wodering why the new API does not support this anymore. It is something that is deprecated?

hidegadrian
Explorer
0 Likes

Hello,

I see that now we can use the API_MKT_CONTACT_SRV to assign Marketing Locations to Contact. But how can I display this assignment? I didn't see any Marketing Location field on the Contact Profile app.

Best regards,

Adrian

nicolae_ciumac
Advisor
Advisor
0 Likes

Hello,

I'll try to put it on our nearest roadmap for the API-services as well.

For the moment, you can use a Custom Business Object (CBO) to achieve this.

Best regards,

Nico

sven-eric_eigemann
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi,

imho it would be preferable using the "old" CUAN_IMPORT for the Location-Contact assignment as this assignment is part of our standard data model, instead using a CBO. As Nico stated, the corresponding newer APIs need to be enhanced accordingly.

Best regards, Sven

nicolae_ciumac
Advisor
Advisor
0 Likes

Good point - this is a valid alternative.

But if you work with CUAN_IMPORT, then we don't recommend to use the newer services in parallel (mainly because of the ability to PATCH); and you have to keep in mind that with CUAN_IMPORT you should always brutto-update, you can't just update existing contacts and enrich them with a location.

Best regards,

Nico

PS: the assignment of Marketing Locations for API_MKT_CONTACT is now on the roadmap of release 1811.