Help

Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

How to define which fields to get

Topic Labels: API
378 1
cancel
Showing results for 
Search instead for 
Did you mean: 

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.