TOTVS RM icon

TOTVS RM

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

Employees (HR) → Dismiss Employee

AI-generated

Summary

Dismiss an employee in the TOTVS RM Employee register by specifying their badge number and providing dismissal details as a JSON payload.

Inputs

  • Badge Number (CHAPA) (required) — The employee's badge number identifying the record to dismiss.
  • Company Code Override — Numeric code for the company to override the credential default; use 0 to apply the default company code from credentials.
  • Request Body (JSON) (required) — A JSON object containing dismissal details; required fields depend on the DataServer's expectations.
  • RM Context — Additional context string (e.g., system, user, branch codes); leave empty to use credential defaults.

Output shape

a list containing a single JSON object representing the API response to the dismissal request.

The output includes the parsed JSON response from the TOTVS RM API endpoint confirming or detailing the dismissal result. Multiple items input yields corresponding multiple output entries.

Examples

Example 1: Dismiss an employee with badge number '000001' by sending dismissal data

Set resource to 'Employees (HR)', operation to 'Dismiss Employee', enter '000001' as badge number, provide the dismissal details in JSON under Request Body, optionally set Company Code Override and RM Context.

Links

Discussion