Sankhya icon

Sankhya

Integração completa com o ERP Sankhya — REST v1/v2 e Gateway

Actions137

Pessoal — RH (REST) → Listar Férias do Funcionário

AI-generated

Summary

Listar Férias do Funcionário fetches the vacation records for a specified employee using the Sankhya ERP REST API endpoint /v1/funcionarios/{id}/ferias.

Inputs

  • ID (required) — The unique identifier of the employee whose vacation records you want to retrieve.

Output shape

API response JSON containing the employee's vacation records as provided by the /v1/funcionarios/{id}/ferias endpoint.

The operation requires the employee ID parameter. It returns vacation data for that employee. Errors or issues will be thrown as SankhyaTechnicalError or SankhyaBusinessError as per API response.

Examples

Example 1: Retrieve vacations for employee with ID '12345'

Set the resource to 'Pessoal — RH (REST)', operation to 'Listar Férias do Funcionário', and provide the employee's ID as '12345'.

Links

Discussion