Skip to main content
Question

Is it possible to use field names on the Rest APIs?

  • January 20, 2022
  • 0 replies
  • 64 views

Hi 

Is it possible to use field names on the RestAPIs, similar to the XML option? 
Quickbase API Portal

For the xml option you are able to use field names as follows: 
> Field names are nearly identical to field labels; if you know the field label, you can determine the field name by converting all characters to lowercase and replacing all non-alphanumeric characters (including spaces) with an underscore.

When I attempt this with the Rest as below for example: 
{
  "to": "br2shmsne",
  "data": [
    {
      "first_name": {
        "value": "This is my text: First Name 1"
      }
    }
  ],
  "fieldsToReturn": [
    "24"
  ]
}


the error is always
"Unknown field with Id \"0\"."



------------------------------
Melissa Palmer
------------------------------
This topic has been closed for replies.

  • Registered
  • March 21, 2022
In my experience, this is possible but only if your field names don't already contain spaces or symbols, and otherwise identically match what's in the QB frontend.

------------------------------
Daniel Fozdar
------------------------------