Skip to main content
POST
Suspender uma ou mais competências por pagamento antecipado

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Idempotency
string
obrigatório

Client-chosen idempotency key. REQUIRED: an absent key is 422, never a generated default.

Exemplo:

"idem-antecipacao-incluir-0001"

Parâmetros de caminho

numero_contrato
string
obrigatório

Rail contract number of an averbação belonging to the authenticated tenant.

Required string length: 2 - 15
Exemplo:

"1997123478"

Corpo

application/json
listaCompetencias
string[] | null
obrigatório

Competências to suspend by early payment, each yyyyMM. Must be non-empty, well-formed and free of duplicates; the rail's own UA additionally refuses any competência that is not strictly greater than its current payroll competência, or that falls outside the contract's programmed discount window.

Minimum array length: 1
Pattern: ^[0-9]{6}$
Exemplo:

Resposta

OK

contrato
string
obrigatório

The contract number the rail confirmed the operation against.

Exemplo:

"1997123478"

mensagem
string
obrigatório

The rail's own message.

Exemplo:

"Antecipacao de parcela realizada com sucesso"