Maik Offerle is this something you can help Vahan with?
Hi Vahan,
please have a look at this payload which creates a contact and assigns marketing permissions.
Additional payloads you can find at:
help.sap.com/mkt --> Integration Guide --> Contacts
BR
Maik
--batch Content-Type: multipart/mixed; boundary=changeset_01869434-0010-0001 --changeset_01869434-0010-0001 content-type: application/http content-transfer-encoding: binary PUT ContactOriginData(ContactID='98979993',ContactOrigin='SAP_HYBRIS_CONSUMER') HTTP/1.1 Accept: application/json Sap-Cuan-RequestTimestamp: '2018-03-27T07:14:34' Sap-Cuan-SourceSystemType: EXT Sap-Cuan-ForceSynchronousProcessing: X Sap-Cuan-SourceSystemId: HYBRIS Content-Type: application/json Content-Length: 1021 { "OriginDataLastChgUTCDateTime" : "2018-03-27T07:15:34", "CityName" : "Walldorf", "Country" : "DE", "EmailAddress" : "Tester@tester.com", "FirstName" : "Super", "LastName" : "Tester", "FullName" : "Super Tester", "GenderCode" : "1", "AddressHouseNumber" : "999", "IsConsumer" : false, "IsContactPerson" : true, "Language" : "DE", "MaritalStatus" : "2", "MaritalStatusName" : "Married", "ContactPostalCode" : "24105", "StreetName" : "Dietmar-Hopp-Allee" } --changeset_01869434-0010-0001 content-type: application/http content-transfer-encoding: binary POST MarketingPermissions HTTP/1.1 Accept: application/json Sap-Cuan-RequestTimestamp: '2018-03-27T07:15:14' Sap-Cuan-ForceSynchronousProcessing: X Sap-Cuan-SourceSystemType: EXT Sap-Cuan-SourceSystemId: HYBRIS Content-Type: application/json Content-Length: 1021 { "ContactID" : "98979993", "ContactOrigin" : "SAP_HYBRIS_CONSUMER", "ContactPermissionID" : "Tester@tester.com", "ContactPermissionOrigin" : "EMAIL", "PermissionUTCDateTime" : "2018-11-16T15:23:35", "ContactPermission" : "Y", "CommunicationMedium" : "EMAIL", "PermissionSourceCommMedium" : "WEB", "IsConfirmationRequired" : true } --changeset_01869434-0010-0001-- --batch--
Hi Maik,
Thank you for the explanation and the example.
What we would like to know is also how to implement a flow in HCI that can produce such payload which will be accepted by Hybris Marketing, would you have any information on that ? Which step can reproduce the same result ?
Best regards,
Vahan
Add comment