Sankhya icon

Sankhya

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

Actions137

Pessoal — RH (REST) → Listar Contratos

AI-generated

Summary

List contracts associated with a specified employee by their ID using the Sankhya REST API under the Pessoal (HR) resource.

Inputs

  • ID (required) — The string identifier of the employee whose contracts you want to list.

Output shape

a JSON object containing the list of contracts related to the specified employee.

The operation calls the REST endpoint GET /v1/funcionarios/{id}/contratos and returns the contracts data as provided by Sankhya's API. Only the employee ID is required as an input.

Examples

Example 1: List contracts for employee with ID '12345'

Set resource to 'Pessoal — RH (REST)', operation to 'Listar Contratos', and ID to '12345'. Execute the node to retrieve all contracts associated with employee 12345.

Links

Discussion