AnsweredAssumed Answered

data api fields missing

Question asked by JeffHough on Jan 29, 2019
Latest reply on Jan 31, 2019 by wimdecorte

I'm playing around with the FMS v17 DATA API and trying to perform a FIND. Using the "FileMaker API Demo Tool" I can see the request structure and mimicked it for my query:

 

-X POST -H "Content-Type: application/json" -H "Authorization: Bearer XXXX" -d "{\"query\": [{ \"Customer_ID\": \"=9999\", \"Type\": \"=foo\"}]}" --connect-timeout 5

 

Note that I am searching two fields as follows:

 

Customer_ID

Type

 

Specifically I am looking for Customer_ID=9999 and Type=foo.

 

I have confirmed that the target fields are on the layout referenced in the URL. I have also confirmed security is set up to allow the fields and layout to be accessed using my data_api privilege set.

 

WHY.... Am I receiving the following error:

 

{"messages":[{"code":"102","message":"Field is missing"}],"response":{}}

 

Please help.

Jeff

Outcomes