Call PUT method to Append new records (rows) to a dataset by passing an array of objects with key + value representing a record in your dataset.
If you need to replace all data in your dataset, use POST method instead.

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

Response codes

Response content

Description

200 OK

{
"RowsAdded": 3
}

Everything worked correctly.

400 Bad Request

Incorrect value 'example_text_value' of field 'Num of Days'

The passed values don’t match the respective field types in the custom dataset, or the date format is incorrect.

400 Bad Request

Field 'Example_Field' not found

The passed field is not present in the dataset.

400 Bad Request

Body cannot be empty

The request body is empty.

400 Bad Request

Limit exceeded upload rows = 10000

The request body contains more than 10000 rows.

403 Forbidden

Access denied

Access to the dataset is denied.

404 Not Found

Object not found

Dataset not found.

🚧

Note

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

If you only specify a partial set of fields from the custom dataset, the query will still be executed but omitted fields will not be populated with data.

Rate Limits

Records per request

Slemma supports up to 10000 records per request.

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