Sankhya icon

Sankhya

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

Actions137

Pessoal — RH (REST) → Listar Afastamentos

AI-generated

Summary

Retrieve a list of afastamentos (employee leaves) for a specified employee using the REST API.

Inputs

  • ID (required) — The identifier of the employee whose afastamentos are to be listed.

Output shape

a JSON object representing the afastamentos of the specified employee

This operation requires the 'ID' of the employee and returns afastamentos via a GET request to the REST endpoint '/v1/funcionarios/{id}/afastamentos'. The response contains all afastamentos records associated with that employee.

Examples

Example 1: List afastamentos for employee with ID '1234'

Set Resource to 'Pessoal — RH (REST)', Operation to 'Listar Afastamentos', and provide '1234' as the ID parameter.

Links

Discussion