upsert
Create or update single or multiple records in a specified 4D dataclass with one API call.
Instructions
Create or update records in a 4D dataclass
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dataClass": "<dataClass>",
"body": "<body>"
},
"name": "upsert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Record data to create or update (object for single record, array for multiple) | |
| dataClass | Yes | Name of the dataclass |