Sankhya icon

Sankhya

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

Actions137

Pessoal — RH (REST) → Listar Ocorrências (Global)

AI-generated

Summary

Retrieve a paginated list of all occurrences (ocorrências) from the HR module via the Sankhya REST API.

Inputs

  • Página — The page number to retrieve, starting at 0. Defaults to 0 if not specified.

Output shape

a JSON object representing a page of occurrences from the HR module

The operation supports pagination through the 'page' parameter. The returned data is directly fetched from the REST endpoint /v1/pessoal/ocorrencias?page={page} and is expected to be a JSON object containing occurrence records. The operation requires valid Sankhya API credentials. Errors will be raised for HTTP failures or business logic errors as per the Sankhya API conventions.

Examples

Example 1: List the first page of occurrences

Set resource to 'Pessoal — RH (REST)', operation to 'Listar Ocorrências (Global)', and Página to 0 or leave blank.

Links

Discussion