Jump to content
  • 0

API Bulk Record Update


jpowell
 Share

Question

Hello,

If we wanted to call Caspio's API and update records in Caspio, does Caspio count each record as a call or can we update multiple records in a table with a single call?  As you know, Caspio charges for API Calls, so we are trying to keep the count low.

Thanks

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi @jpowell - It is possible to update multiple records, that have different Unique IDs/Fields with a single API call. On the Swagger UI, for example, you may use the following for the q.where input field:

ColumnName IN ('value1', 'value2','value3')
 

This means that if the field has the same value as the ones specified inside the parenthesis, it would meet the condition.

If you need multiple WHERE conditions, simply use AND or OR:

ColumnName IN ('value1', 'value2','value3') AND ColumnName2='value4'

Example:
image.png

Hope it helps!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...