Skip to main content
November 4, 2015
Respondido

SOAP GetMultipleLeads 20110 error

  • November 4, 2015
  • 1 comentário
  • 994 Visualizações

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>

Este tópico foi fechado para respostas.
Melhor resposta por 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 comentário

SanfordWhiteman
Level 10
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>