on ‎2019 Aug 22 3:05 AM
Hi experts,
I have an urgent requirement. Need to create and publish OData API in Hybris Marketing Cloud which will enable a data lake system ( external system) to show in its dashboard Hybris Marketing Campaign Performance Metrics like : Email Sent, Open, Clicked, Bounced, CTR, Open Rate, Click to Open Rate , Bounce Rate etc. I have check the api.sap.com site for the Campaign based API but there are no APIs for campaign metrics with these parameters.
I want to know how such an Odata API can be created in YMKT Cloud which can be consumed by external system.
Regards,
Krish
Request clarification before answering.
Hi Krish,
let me answers all points mentioned above in point by point manner:
Hope it clarifies all your points!
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 Saurabh,
I noted in your response , the following point:
Once done navigate to "Custom Communication Scenario" and add the newly published inbound API from step 5 to this and publish it.
My requirement is not an inbound API into Hybris Marketing but an API generated by Hybris Marketing which can be called and consumed by external system ( an Outbound API). Hope I have made my requirement clear.
Please let me know if it is possible to do this for campaign metrics through the Custom CDS View, you have mentioned in your response or are there any other approaches?
Thanking you very much.
Regards,
Krish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krish,
let me answers all points mentioned above in point by point manner:
Hope it clarifies all your points!
Thanks
Saurabh
Hi Saurabh,
Thanking you very much. Your solution and approach helped me intensely. In fact, I have been able to communicate this as solution to the team.
Have a related question here - After creating the API by following the above steps, are there any additional steps required. Is it enough to publish the API( will it be an URI) or is the generated API to be registered in a middleware - like CPI ( HCI). The main requirement is the external system should be able to call the API ( directly or through MWare) and get the campaign metrics displayed.
How much time of development work is needed to create and register the CDS view?
Please revert asap..
Regards,
krish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krish,
It is possible to expose the campaign success data in marketing cloud to external world via APis. You can do as follow:
1. Navigate to "Custom CDS Views" app in your Marketing Cloud Solution.Create a new CDS View.
2. Fill in the details, Make sure "External API" checkbox is marked as TRUE.

3. Add primary data source and secondary data source as "I_Mkt_Initiative" as well as "I_MKT_AggrdCmpgnSpndSuccCube" respectively and make the property association as follow:

4. Go back to your CDS view and now follow the guided path to enable the field section, change the properties, add any calculated field etc.
5. Save and publish your changes. This will automatically create a odata api for your view in SMC. Note: It may take upto 5 mins after the publishing action, to appear API in custom communication scenario.
6. Once done navigate to "Custom Communication Scenario" and add the newly published inbound API from step 5 to this and publish it.
7. Create a new communication arrangement for scenario created in step 6. Note down the user ID and password for inbound communication.
That's it...You are now ready to test the API using nay rest client like Postman etc.
Thanks
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 2 | |
| 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.