[SalesForce] Salesforce Marketing Cloud REST vs SOAP API

This quetion is related to marketing cloud APIs. I need to perform below tasks on marketing cloud via API.

  1. Create a Data Extension
  2. Create a Query activity
  3. Run query activity
  4. Retrieve data from Data Extension.

Appreciate if you can suggest me to use SOAP or REST API for this. Ex : I found an example for creating a data extension using SOAP in API documentation, but couldn't fina an example from REST for the same. (I am executing API calls from Sales Clod)

Best Answer

For the majority of core system activities, SOAP is more fully fledged. REST is used for more recent functionality additions of the platform e.g. Journey Builder, Content Builder. For the use cases you list, then SOAP would be best.

An alternative to consider is to use the SDK - then you don't have to worry as to which one to use.

Related Topic