Update chosen records (rows) in a dataset by passing an array of pairs (Row and NewValues) of key-value pair objects representing a record in your dataset. As a result, values in the dataset row fully matching the Row are replaced with values from NewValues object. You can update multiple records by passing multiple pairs.

The following are the examples of HTTP status codes including errors that API can generate

Response codesResponse contentDescription
200 OK{
"RowsUpdated": 2
}
Everything worked correctly.
400 Bad RequestYou need to set all field values in every passed rowIf you fail to specify one or more field values in the request body.
400 Bad RequestIncorrect value '2016-1103 00:00:00.0' for field 'Start Date'. User the date format: 'yyyy-MM-dd HH:mm:ss.S'If you specify incorrect date format.
400 Bad RequestField 'Example_Field' not foundThe passed field is not present in the dataset.
400 Bad RequestBody cannot be emptyThe request body is empty.
400 Bad RequestLimit exceeded upload rows = 10000The request body contains more than 10000 rows.
403 ForbiddenAccess deniedAccess to the dataset is denied.
404 Not FoundObject not foundDataset not found.

🚧

Note

Make sure that the values you are passing match the field types defined for your dataset schema. The number of fields you are passing should also completely match the number of fields in your dataset schema.

Rate Limits

Records per request

Slemma supports up to 10000 records per request.

Language
Credentials
Click Try It! to start a request and see the response here!