Hi,
I'm working on a SOAP getMultipleLeads call for a Static List.
Below is the XML I'm using in the body of the SOAP call. The error message returned says
<message>The leadSelector is not supported. (20110)</message><code>20110</code>
I haven't found a specific example for getting leads from a static list, however from the WSDL this appears to be correct.
I would appreciate any help with the syntax.
Thanks,
Gary
<ns1:paramsGetMultipleLeads>
<leadSelector xsi:type="ns1:StaticListSelector">
<staticListId>810</staticListId>
</leadSelector>
<includeAttributes>
<stringItem>Last Name</stringItem>
<stringItem>First Name</stringItem>
<stringItem>Email Address</stringItem>
<stringItem>Company</stringItem>
</includeAttributes>
</ns1:paramsGetMultipleLeads>
Solved! Go to Solution.
Make sure you have declared the namespace:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
or use
<leadSelector xmlns="http://www.w3.org/2001/XMLSchema-instance" type="ns1:StaticListSelector">
<staticListId>999</staticListId>
</leadSelector>
Make sure you have declared the namespace:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
or use
<leadSelector xmlns="http://www.w3.org/2001/XMLSchema-instance" type="ns1:StaticListSelector">
<staticListId>999</staticListId>
</leadSelector>