Skip to Content
0

Not able to import Contacts using new public APIs SAP Hybris Marketing 1711

Nov 27, 2017 at 04:08 PM

39

avatar image

Dear All,

I am trying to import Contacts using new public APIs in SAP Hybris Marketing Cloud 1711. I am using Postman to do a demo, but I am not able to get it due to some errors exist.

I am just trying import a Test Contact, this is my JSON file:

json1.png

json2.png

The procedure is:

1. Do a call OdataServices, using my communication user and adding a new header ( X-CSRF-Token: Fetch)

2. Then use the received value of X-CSRF-Token to do a POST. Add a "Content-type: application/json" and post my code. (Images json1.png and json2.png)

The problem is that I get an error and I don't know what is wrong....

error.png

Anyone know what could be the problem?

Thanks!!

Best regards,

Laura

json1.png (67.4 kB)
error.png (78.0 kB)
json2.png (72.6 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Tobias Schneider Nov 28, 2017 at 08:33 AM
0

Hi Laura,

under "Marketing Permissions" you changed the data for ContactID (SAP_HYBRIS_CONSUMER) and the ContactOrigin (55432). Maybe that leads to the error.

Regards

Tobias

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Tobias,

Unfortunately this was just a syntax error due to many attempts but the main error still here.

Anyway, Thank you for your answer.

Regards,

Laura

0