Resgata icon

Resgata

Integracao completa com a API Resgata para gestao de credito consignado

Proposta → [CLT] Criar Contrato

AI-generated

Summary

Create a CLT employment contract proposal by submitting a protocol number and a Bankerize simulation ID to Resgata API, optionally specifying a timeout for the operation.

Inputs

  • Numero De Protocolo (required) — The protocol number of the customer service process connected to the proposal.
  • ID Da Simulacao Bankerize (required) — The Bankerize simulation ID associated with this contract proposal.
  • Options — Optional settings including a timeout in seconds to wait for the operation to complete, defaulting to 300 seconds.

Output shape

A single JSON object representing the created CLT employment contract proposal response from the Resgata API.

The response shape depends on the Resgata API. The operation includes support for a customizable timeout to allow waiting for asynchronous processing or webhook events before returning.

Examples

Example 1: Create a new employment contract proposal for a customer using known protocol number and Bankerize simulation ID, with a 5-minute timeout to allow for webhook processing.

Set 'Numero De Protocolo' to the existing protocol number, 'ID Da Simulacao Bankerize' to the simulation ID from Bankerize, and optionally adjust 'Timeout (Segundos)'.

Discussion