on 2018 May 10 7:51 PM
Hello,
We are trying integrate Hybris Commerce (6.6) with Hybris Marketing (1709SP01).
We are having some issues with CUAN_BUSINESS_DOCUMENT_IMP_SRV service for order replication.
When a customer clicks on an email from Hybris Marketing, the sap-outbound-id from link is storing in client's cookie. Then all the data from clickstream go to Marketing with this Id:
"SourceObjectType" : "CUAN_MARKETING_ORCHESTRATION",
"SourceObjectId" : "4647637C5A41605B3DFBC91E15017CAF5E5F9FA0" (unique id for per link).
But when customer has an order, it comes without SourceObjectId and SourceObjectType (because CUAN_BUSINESS_DOCUMENT_IMP_SRV do not support it). In CUAN_BUSINESS_DOCUMENT_IMP_SRV sap-outbound-id is replicating only with ID like this:
"ContactIdOrigin": "SAP_TRACKING_ID",
"ContactId": "4647637C5A41605B3DFBC91E15017CAF5E5F9FA0",
In this case we are having problems with connection tracking id and campaign content. We can see what the customer bought from email campaign, but don't see from which message or link he bought, because there can be many messages or links in one campaign.
So we have this questions: 1. Is this standart logic or bug? 2. Is CUAN_BUSINESS_DOCUMENT_IMP_SRV support the campaign content tracking or should we use CUAN_IMPORT_SRV? 2. What should we do and which side from: Commerce (add something in import) or Marketing?
Would be grateful for any advice.
PS
Full json to CUAN_BUSINESS_DOCUMENT_IMP_SRV:
{
"Id": "5AA0016072F4A646BB0000000000008",
"SourceSystemType": "COM",
"SourceSystemId": "SAP_MERCH_SHOP",
"BusinessDocuments": [
{
"Id": "testDudeOrder",
"ContactIdOrigin": "SAP_TRACKING_ID",
"ContactId": "4647637C5A41605B3DFBC91E15017CAF5E5F9FA0",
"InternalObjectType": "SALES_ORDER",
"ExternalObjectType": "SAP_HYBRIS_ORDER",
"ExternalId": "testDudeOrder",
"ExternalTimeStamp": "/Date(1513864830000)/",
"Currency": "RUB",
"ActionCode": "04",
"Amount": "1410.14",
"StatusCode": "03",
"ProductItems": [
{
"Id": "testDudeOrder|0",
"ObjectType": "SAP_HYBRIS_PRODUCT",
"ObjectId": "110561",
"Amount": "1402.04",
"Quantity": "2",
"UnitOfMeasure": "pie"
}
]
}
]
}
And well-working json to IMPORT_SRV from old site (not Hybris).
{
"Id" : "",
"Timestamp" : "/Date(1513069639000)/",
"SourceSystemType" : "WEBSHOP",
"SourceSystemId" : "ONLINE_SHOP_OLD",
"Interactions" : [
{
"Key" : "",
"CommunicationMedium" : "BUSINESS_DOCUMENT",
"ContactId" : "456789",
"ContactIdOrigin" : "SAP_HYBRIS_CONSUMER",
"InteractionType" : "SALES_ORDER",
"Timestamp" : "2017-12-12T12:12:00",
"SourceObjectId" : "4647637C5A41605B3DFBC91E15017CAF5E5F9FA0",
"SourceObjectType" : "CUAN_MARKETING_ORCHESTRATION",
"SourceObjectAdditionalId" : "11223345",
"SourceSystemId" : "ONLINE_SHOP_OLD",
"SourceSystemType" : "WEBSHOP",
"Currency" : "RUB",
"Amount" : "9000.00"
}
]
}
Request clarification before answering.
Hi,
Standard Access Link https://<Server>:<Port>/sap/opu/odata/SAP/CUAN_BUSINESS_DOCUMENT_IMP_SRV;v=0002/$metadata?sap-documentation=all
Br,
Kunal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.