Actions41
- ── Framework ── Actions
- DataServer (Generic) Actions
- Employees (HR) Actions
- Payroll Actions
- Invoice (Stock) Actions
- Stock Movement Actions
- Accounts Payable/Receivable Actions
- Accounting Entry Actions
- Customers / Suppliers Actions
- Users Actions
- Companies Actions
- Enrollment (Education) Actions
DataServer (Generic) → Update Record
AI-generatedSummary
Update an existing record in a specified TOTVS RM DataServer by providing the DataServer name, the record's primary key, and a JSON payload with the updated fields.
Inputs
- DataServer Name (required) — Exact name of the DataServer to update, e.g., FopFuncData, TMovData, or FisNfData.
- Record ID (required) — Primary key identifier of the record to update.
- Request Body (JSON) (required) — JSON object containing the fields and values to update in the record; required fields depend on the specific DataServer schema.
- Company Code Override — Optional numeric company code; set to 0 to use the credential's configured company code.
- RM Context — Optional additional RM context string (e.g., 'CODSISTEMA=S;CODUSUARIO=admin;CODFILIAL=1'); if empty, defaults from credentials are used.
Output shape
a list containing the JSON response object from the DataServer update operation
The returned data is parsed JSON response from the REST API update call. If multiple items are processed, each item's output is paired accordingly. Errors can be returned per item if 'continueOnFail' is enabled.
