TOTVS RM icon

TOTVS RM

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

Enrollment (Education) → Create Enrollment

AI-generated

Summary

Creates a new enrollment record in the TOTVS RM Education module (EduMatriculaData).

Inputs

  • codColigada — Company code override. Set to 0 to use the company code from the credential (default).
  • body (required) — JSON payload containing the enrollment fields to create. The required properties depend on the EduMatriculaData DataServer.
  • context — Additional RM context string (e.g., CODSISTEMA=S;CODUSUARIO=admin;CODFILIAL=1). If empty, the node builds a context using the company code (from codColigada or credential) and the filial from the credential.

Output shape

An array of objects, one per input item, each containing the created enrollment record as returned by the TOTVS RM REST endpoint.

If the request succeeds, the output JSON matches the structure of the created enrollment. Errors are surfaced as error fields when continueOnFail is enabled.

Examples

Example 1: Create a simple enrollment

Set resource to Enrollment (Education), operation to Create Enrollment, leave Company Code Override at 0, provide a JSON body with the enrollment fields, leave RM Context empty (or supply a custom context).

Links

Discussion