cancel
Showing results for 
Search instead for 
Did you mean: 

How to get list of Email campaigns with API

eliseoiandolo
Explorer
0 Kudos
328

Hi Experts!

We need to extract the list of email campaigns with a specific status and executed in the last hour.

We called API 'API_MKT_CAMPAIGN_SRV' with the campaign ID and checked the response payload, but it seems there is no standard field indicating that we're dealing with an email campaign. Is there a way to achieve this, please?

Thank you for supporting!

Eliseo.

Accepted Solutions (1)

Accepted Solutions (1)

KunalBansal
Active Contributor

Hi Eliseo,

You can use the MediaType field in this case.

Please refer to API Hub - https://api.sap.com/api/API_MKT_CAMPAIGN_SRV_0002/resource

Hope this was hopeful to close the thread.

Thank you.

Best Regards,

Kunal Bansal, SAP CX Architect

eliseoiandolo
Explorer

Hi,

thank you for your kind suggestion!

I was actually asking if it is possible to email campaigns without filling non mandatory fields, like the media type is.

Anyway, I understand we can set it as mandatory using the specific BAdI.

If there are no other suggestions, I close the thread.

Thank you, regards,

Eliseo.

KunalBansal
Active Contributor
0 Kudos

Hi eliseoiandolo,

Yes, you're right about the approach.

I hope this was helpful.

Kunal

Answers (0)