TOTVS RM icon

TOTVS RM

Interact with TOTVS ERP Linha RM — DataServer REST, native REST APIs, and automatic JWT authentication

DataServer (Generic) → Update Record

AI-generated

Summary

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.

Links

Discussion