Skip to main content
GET
Download the rail's document for a contract

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Path Parameters

numero_contrato
string
required

Rail contract number (Manual 004 §2.2.2 p.18: Texto, 15).

Required string length: 1 - 15
Example:

"99999999999AN1"

Query Parameters

tipoArquivo
integer<int64>
required

Document selector, published domain 2..5 (Manual 004 §2.2.2 p.18). REQUIRED — there is no default.

Required range: 2 <= x <= 5
Example:

2

Response

The contract document, in the content type the rail declared.

The response is of type file.