TOTVS RM icon

TOTVS RM

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

DataServer (Generic) → Create Record

AI-generated

Summary

Create a new record in a specified DataServer using a JSON payload with optional company code override and RM context.

Inputs

  • DataServer Name (required) — Provide the exact name of the DataServer where the record will be created (e.g., FopFuncData, TMovData, FisNfData). Use the 'List Available DataServers' operation to discover valid options.
  • Company Code Override — Optionally override the company code; default is 0 to use the company code from the credentials.
  • Request Body (JSON) (required) — The JSON payload containing the data for the new record. Required fields vary depending on the chosen DataServer.
  • RM Context — Additional RM context string (e.g., 'CODSISTEMA=S;CODUSUARIO=admin;CODFILIAL=1'). Leave empty to use context defaults from the credentials.

Output shape

a list of JSON objects representing the created record(s)

Returns the parsed JSON response from the TOTVS RM DataServer after creation. If multiple records are created in a batch input, each result is output as a separate item. Errors can be returned per item if 'continueOnFail' is enabled.

Links

Discussion