Records Management

Update a specific record

Updates an existing record for the specified object type.

patch/api/{objectNames}/{recordId}

Request

  • Base URL: https://api.reallysimplesystems.com
  • URL: https://api.reallysimplesystems.com/api/{objectNames}/{recordId}
  • Auth: HTTP bearer

Request body

datastring required

The fields to update for the record. The fields should match the validation rules of the specified object.

Example request

{
  "data": "{\"name\": \"Updated Account Name\", \"ownerid\": \"1\"}"
}

Response

statusstring
messagestring

Example response

{
  "status": "success",
  "message": "Account updated successfully.",
  "data": {
    "metadata": {
      "url": "http://api.example.com/api/account/94",
      "list_url": "http://api.example.com/api/accounts",
      "parent": null,
      "object_type": "record",
      "record_type": "account"
    },
    "record": {
      "id": 94,
      "name": "Updated Account Name",
      "ownerid": 1,
      "updated_at": "2024-11-08T00:00:00.000000Z"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.