Calculate records
Triggers operations to calculate a field in multiple records in a collection.
POST https://api.cogfy.com/collections/:collectionId/records/calculate
Path params
collectionId
: The ID of the collection that has the record to be updated.
Request body
fieldId
: The ID of the field to be calculated.recordIds
: An array of the IDs of the records to be calculated.
Example JSON request
{
"fieldId": "b598a97f-b198-45e0-86fb-f1fff0ce39b5",
"recordIds": ["eb070e5e-8dce-42a4-89d1-200bab77a97d", "249f76ee-08fd-4b2d-b089-166048deefce"]
}