I am using WSDL given by Marketo to construct the request for all APIs. I came across very strange issue here,
The issue is Marketo WSDL and Documentation given on developer site doesn't match. Here is example of it.
According to documentation deleteMobject API accepts only 2 parameters "type" and "id".
But if you use WSDL to construct schema, it has more than these two parameters as shown below:
Lot of extra parameter like "externamKey", "createdAt", "attribList", these parameters are not used in deleteMobject API.
Is this issue with Marketo documentation and WSDL mismatch? or it is designed that way?
I also have one concern regarding WSDL, as per my understanding it provides contract for SOAP request and response. If Marketo documentation and WSDL has this mismatch then is using WSDL for generating request makes sense? Can you suggest alternative ways for generating request?