on 06-15-2018 9:45 AM
Hi guys,
Have a requirement in Hybris Marketing On-Premise, where we can to create a Target group using either a csv file or to absorb a target group created in an external system.
Was going through some guides and came to know this API -
API_MKT_TARGET_GROUP_SRV
How can we use this API to create Target Group in system ?
Thanks,
Devashish
Hi Devashish,
regarding the point creating a TG from a CSV file. You can drag your key field (below policy number; alternative business partner number etc.) in the segmentation model and set the comparison operator to "Contained in file". The resulting segment contains all contacts from your CSV file. You can filter this segment further or create a target group from it.
Regards Christopher.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply, but even that will require contacts to be present in the system. We basically doesnt want those contacts to be created in the system.
Thanks,
Devashish
Hi Devashish,
we had the same client requirement. But to my knowledge that does not work. That does not speak to the concept of hybris marketing. You must have a contact (customer, lead, etc) to store some information on.
Regards Christopher.
Thanks Saurabh. That was really helpful.
Do you also have an idea how can we use the entity -
"RebuildTargetGroup" for POST method in the same API ?
We basically want to create a TG with the BPs not existing the system.
Thanks,
Devashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can post the TG details via oData as mentioned in: https://help.sap.com/viewer/e68e4c8c856d429b85c2a7370c3553ae/1802%20YMKT/en-US/97ed2d7497c94d8589082...
Payload to be used for POST of TG header is:
URL: https://gdm9-odatadev.apjdemo.hybris.com/sap/opu/odata/sap/API_MKT_TARGET_GROUP_SRV/TargetGroups
{
"TargetGroupName":"Via oData API ",
"TargetGroupDescription":"Via OData API Desc",
"TargetGroupLifeCycleStatus":"1",
"TargetGroupMemberType":"03",
"MarketingArea":"CXXGLOBAL"
}
And to add member:
URL: https://<Host>:<Port>/sap/opu/odata/sap/API_MKT_TARGET_GROUP_SRV/TargetGroups(guid'02000a21-210c-1ee8-9cd9-a7248d523e7f')/TargetGroupInteractionContacts
Post Call:
{
"TargetGroupUUID":"02000a21-210c-1ee8-9cd9-a7248d523e7f", // TG UUID created above
"InteractionContactId":"saurabh.XXXXX@sap.com",
"InteractionContactOrigin":"EMAIL"
}
Thanks
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Boudhayan,
Please refer to your own thread:
https://answers.sap.com/questions/723099/how-to-create-live-target-group-in-sap-marketing-c.html
BR
Theo
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
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.