Bad parameter when specifying lead selector in getMultipleLeads

Anonymous
Not applicable

Bad parameter when specifying lead selector in getMultipleLeads

Here is an example for the xml body  i'm sending. If i specify any lead selector i get the error. If i omit it, it works.
I'll appreciate any help. 

<ns1:Body>
    <ns0:paramsGetMultipleLeads>
       <leadSelector xsi:type="ns0:LeadKeySelector">
          <keyType>EMAIL</keyType>
          <keyValues>
             <stringItem>aaa@ccc.com</stringItem>
          </keyValues>
       </leadSelector>
       <batchSize>10</batchSize>
       <includeAttributes>
          <stringItem>MainPhone</stringItem>
       </includeAttributes>
    </ns0:paramsGetMultipleLeads>
 </ns1:Body>
Tags (1)
3 REPLIES 3
Anonymous
Not applicable

Re: Bad parameter when specifying lead selector in getMultipleLeads

I am using version 2.0 of the api.
Anonymous
Not applicable

Re: Bad parameter when specifying lead selector in getMultipleLeads

bump
Anonymous
Not applicable

Re: Bad parameter when specifying lead selector in getMultipleLeads

Okay, I got a response using the following:
     <LeadKeySelector>
        <keyType>IDNUM</keyType>
        <keyValues>
          <stringItem>574111888</stringItem>
        </keyValues>
      </LeadKeySelector>