I have a small doubt why we use SOAP when integrating with SFMC/ExactTarget. Why not other APIs? Can anyone clearly explain about this?
2 Answers
In addition to what @Ashwani mentioned, not all SOAP API objects are available in SFMC's REST API.
They are still adding objects to the REST API, but not all are present.
I'm seeing more use of OAUTH with the SOAP API. I believe that's what the C# SDK on the SFMC GitHub page is utilizing.
-
1A listing of objects and functions currently available in REST can be found here: code.exacttarget.com/apis-sdks/rest-api/v1/routes.html Commented Aug 26, 2015 at 13:34
ExactTarget support both Integration ways:
REST and SOAP.
- Most of the developer select SOAP API because it is easy to deploy in third party legacy system by using WSDL.
- You don't need to write code to authenticate with exact target. You only need to leverage fixed methods present in wsdl file.
- SOAP API called in backend of the code and in front end you get the language in which you are best. Example if someone want to integrate .net system with Exactarget. They can code in c# to call SOAP API. Similarly you can code in Apex to call SOAP methods. You don't need to write logic/code to authenticate or perform some specific operation with Exactarget. SAOP already has methods for all supported base operations. You can build your logic over it.
-
2To be pedantic, REST API could have a WSDL created for it. WSDL does support other transport types besides SOAP.– sfdcfox ♦Commented Aug 22, 2015 at 22:52
-