Re: REST 'Get Multiple Leads by Filter Type' result is wrong

Anonymous
Not applicable

REST 'Get Multiple Leads by Filter Type' result is wrong

I am using a custom field 'MY Score'.
But when  I make a call 'Get Multiple Leads by Filter Type', that response is wrong.
Request
/rest/v1/leads.json?filterType=MY_Score&filterValues=10&fields=MY_Score
Resuponse
{"requestId":"15799#14bd90faa9f","result":[{"id":123,"MY_Score":null}],"success":true}

Why API return one lead has null value?
In fact, many many leads are 'MY Score' = 10 in lead database.
Tags (1)
3 REPLIES 3
Jep_Castelein2
Level 10

Re: REST 'Get Multiple Leads by Filter Type' result is wrong

Do you have more than 1000 Leads with 'MY Score' = 10 in your database? In that case, it will not return any records. However, it should give you a descriptive error message.
Anonymous
Not applicable

Re: REST 'Get Multiple Leads by Filter Type' result is wrong

Hi Jep
 
In my case, leads are less than 1000.
I  tested other values MY Score=0, MY Score=100 too.
Resposns is other one lead and JSON 
"MY_Score":null
Jep_Castelein2
Level 10

Re: REST 'Get Multiple Leads by Filter Type' result is wrong

Takehiro, please open a support case, so they can look into it. To me this seems like unexpected behavior.