Skip to main content
Question

REST API - doQuery - get record ids

  • November 28, 2022
  • 0 replies
  • 298 views

How can I get record ID's for 'data' returned?  In the XML version I would specify rid=true or similar.  What do we do now to return field id=3?

Thanks,

~Rob



------------------------------
"The" Rob White IV
------------------------------
This topic has been closed for replies.

Forum|alt.badge.img+6
  • Quickbase Staff
  • November 29, 2022
Hi Rob,

From the help, the select is an array of field ids for the fields that should be returned in the response. If empty, the default columns on the table will be returned.  So just include 3 for the record id.

{
  "from": "bck7gp3q2",
  "select": [
    1,
    2,
    3
  ],
  ...


Hope that helps!



------------------------------
Doug Henning
------------------------------