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
Employees (HR) → Get by Badge
AI-generatedSummary
Fetch employee records from the TOTVS RM FopFuncData DataServer REST API using a badge number or SQL filter.
Inputs
- chapa — Badge number (CHAPA) of the employee.
- filter — Standard RM SQL filter to query records (e.g. CHAPA='000001').
- select — Comma-separated list of specific fields to return.
- codColigada — Company code override. Set to 0 to use the company code from credentials.
- context — Additional RM context string to override default credential settings.
Output shape
a single record or a list of items
Returns the parsed JSON record(s) returned by the FopFuncData DataServer.
Examples
Example 1: Fetch employee record by badge filter
Set SQL Filter to CHAPA='000001'
Example 2: Retrieve specific fields for an employee
Set SQL Filter to CHAPA='000001' and Select Fields to CHAPA,NOME,CODSECAO
