Sankhya icon

Sankhya

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

Actions137

Pessoal — RH (REST) → Buscar Requisição de Admissão

AI-generated

Summary

Retrieve a specific employee admission request by its ID from the Sankhya ERP Pessoal RH REST API using either version v1 or v2 of the endpoint.

Inputs

  • ID (required) — The unique identifier of the admission request to fetch.
  • Versão do Endpoint — Select between version 'v1' or 'v2' of the admission request REST endpoint; defaults to 'v1'.

Output shape

The full JSON response of the admission request corresponding to the given ID, as returned by the Sankhya REST API for the specified version.

The output contains the data returned by the GET request to the /{version}/funcionarios/admissao/{id} endpoint. Errors are thrown for unsuccessful API responses or business errors within the Sankhya system.

Examples

Example 1: Fetch admission request #123 using v1

Set 'resource' to 'Pessoal — RH (REST)', 'operation' to 'Buscar Requisição de Admissão', 'ID' to '123', and 'Versão do Endpoint' to 'v1'.

Example 2: Fetch admission request #456 using v2

Set 'resource' to 'Pessoal — RH (REST)', 'operation' to 'Buscar Requisição de Admissão', 'ID' to '456', and 'Versão do Endpoint' to 'v2'.

Links

Discussion