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) → Create Record
AI-generatedSummary
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.
