AnsweredAssumed Answered

FM17 DataAPI "fieldData" not returning

Question asked by huntfms on Sep 13, 2018
Latest reply on Sep 13, 2018 by mdenyse

I'm doing a simple HTTP POST find to the new FileMaker 17 DataAPI /REST service:

https://{{server}}/fmi/data/v1/databases/{{db}}/layouts/{{layout}}/_find 

and passing this in the request body:

{ "query": [ {"isActive":"=X", "omit":"false"} ] } 

I get back the following:

{ "response": { "data": [ { "fieldData": {}, "portalData": {}, "recordId": "64420", "modId": "0" }, { "fieldData": {}, "portalData": {}, "recordId": "64419", "modId": "0" }, { "fieldData": {}, "portalData": {}, "recordId": "64413", "modId": "2" } ] }, "messages": [ { "code": "0", "message": "OK" } ] } 

But it appears that I'm only getting back the recordid's associated with the query and the fieldData for that item is missing? I not understainding why there is no column name/value in the fieldData?

Outcomes