SOAP GetMultipleLeads 20110 error | Community
Skip to main content
November 4, 2015
Solved

SOAP GetMultipleLeads 20110 error

  • November 4, 2015
  • 1 reply
  • 986 views

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>

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

Make sure you have declared the namespace:

     xmlns:xsi="w3.org/2001/XMLSchema-instance"

or use

     <leadSelector xmlns="http://www.w3.org/2001/XMLSchema-instance" type="ns1:StaticListSelector">

          <staticListId>999</staticListId>

     </leadSelector>

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
November 4, 2015

Make sure you have declared the namespace:

     xmlns:xsi="w3.org/2001/XMLSchema-instance"

or use

     <leadSelector xmlns="http://www.w3.org/2001/XMLSchema-instance" type="ns1:StaticListSelector">

          <staticListId>999</staticListId>

     </leadSelector>