Records Management
Update Bulk Records
Update multiple existing records for an object. Every record must supply a non-null id. If any record is missing an id, or the record does not exist, the entire batch fails.
patch/api/bulk-update/{objectNames}/{recordId}/{childObjectName}
Request
- Base URL: https://api.reallysimplesystems.com
- URL: https://api.reallysimplesystems.com/api/bulk-update/{objectNames}/{recordId}/{childObjectName}
- Auth: HTTP bearer
Request body
Example request
{
"data": [
{
"id": 95,
"Name": "Updated Account Name"
},
{
"id": 96,
"OwnerId": 2
}
]
}Response
Records updated successfully.
Example response
{
"status": "success",
"message": "Records updated successfully.",
"data": [
{
"metadata": {
"url": "https://local.reallysimplesystems.com/api/account/95",
"list_url": "https://local.reallysimplesystems.com/api/accounts",
"parent": null,
"object_type": "record",
"record_type": "account"
},
"record": {
"id": 95,
"name": "Updated Account Name"
}
},
{
"metadata": {
"url": "https://local.reallysimplesystems.com/api/account/96",
"list_url": "https://local.reallysimplesystems.com/api/accounts",
"parent": null,
"object_type": "record",
"record_type": "account"
},
"record": {
"id": 96,
"ownerid": 2
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.