Help

How to define which fields to get

Topic Labels: API
1127 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Andreas_Iacovid
6 - Interface Innovator
6 - Interface Innovator

hi, i have this php code. i want to filter the fields to be retrieved to only 2 fields as ‘Registration No.1’ and ‘Registration No.2’. However i cannot get it to work. Here is my array:

$params = array(

“filterByFormula” => “AND({Email Address}=‘xristos@skyworx.com.cy’)”,
“fields” => [{Registration No.1}, {Registration No.2}],
“view” => “Registration Application”,

);

Can u heklp me out?

1 Reply 1

What error message are you getting?

Does everything work if you comment out the filterByFormula line?

If you put the filter in a formula field in the user interface, does it show true (1) for the two records you expect?

You should not need the AND function in your formula, as you have only one condition.