Skip to content

Inserting Updating Records

Robert S.W. Carroll edited this page Mar 17, 2022 · 1 revision

Inserting records is most likely, the second most used QuickBase API. Inserting records can be done with the .insert_update_records() client method. Inserting/Updating records have somewhat of a special process to them. To gist of it is that when you push data to the insert/update QuickBase API, if you include a record id (FID 3), that record will be updated. If there is no record id within the data, a new record will be created. The QuickBase docs cover this more in depth, here.

Basic Example

data_to_send = [
   {'3': {'value': 25}, '10': {'value': 'ON HOLD'}}
]
response = client.insert_update_records(table='tableId', data=data_to_send)
print(response)
Clone this wiki locally