SOLVED

SOAP GetMultipleLeads 20110 error

Go to solution
Anonymous
Not applicable

SOAP GetMultipleLeads 20110 error

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>

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: SOAP GetMultipleLeads 20110 error

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>

View solution in original post

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: SOAP GetMultipleLeads 20110 error

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>