curl --request POST \
--url https://api.example.com/contrato/parcela/consultar-detalhes \
--header 'Content-Type: application/json' \
--data '
{
"NumeroContrato": 123,
"NroParcelas": [
0
]
}
'import requests
url = "https://api.example.com/contrato/parcela/consultar-detalhes"
payload = {
"NumeroContrato": 123,
"NroParcelas": [0]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({NumeroContrato: 123, NroParcelas: [0]})
};
fetch('https://api.example.com/contrato/parcela/consultar-detalhes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/contrato/parcela/consultar-detalhes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'NumeroContrato' => 123,
'NroParcelas' => [
0
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/contrato/parcela/consultar-detalhes"
payload := strings.NewReader("{\n \"NumeroContrato\": 123,\n \"NroParcelas\": [\n 0\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/contrato/parcela/consultar-detalhes")
.header("Content-Type", "application/json")
.body("{\n \"NumeroContrato\": 123,\n \"NroParcelas\": [\n 0\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/contrato/parcela/consultar-detalhes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"NumeroContrato\": 123,\n \"NroParcelas\": [\n 0\n ]\n}"
response = http.request(request)
puts response.read_body{
"NumeroProposta": 123,
"DtInclusao": "<string>",
"SituacaoAgenda": 123,
"DescricaoSituacaoAgenda": "<string>",
"NomeCliente": "<string>",
"NomeEmpresa": "<string>",
"VlrFinanciado": 123,
"SituacaoProposta": 123,
"DtCancelamento": "<string>",
"DtLiquidacao": "<string>",
"DocumentoFederalCliente": "<string>",
"EcCliente": "<string>",
"VlrRetencaoDiarioAprox": 123,
"VlrTotalPago": 123,
"QtdeParcelas": 123,
"DescricaoTipoContrato": "<string>"
}{
"ErrorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ErrorCode": "<string>",
"ErrorCampo": "<string>",
"Error": "<string>",
"Origem": "<string>"
}{
"ErrorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ErrorCode": "<string>",
"ErrorCampo": "<string>",
"Error": "<string>",
"Origem": "<string>"
}{
"ErrorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ErrorCode": "<string>",
"ErrorCampo": "<string>",
"Error": "<string>",
"Origem": "<string>"
}{
"Erro": "<string>"
}{
"ErrorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ErrorCode": "<string>",
"ErrorCampo": "<string>",
"Error": "<string>",
"Origem": "<string>"
}{
"Erro": "<string>"
}{
"Erro": "<string>"
}13 - Consultar Detalhes
Retorna as informações detalhadas do contrato consignado e do vínculo empregatício relativos a uma determinada parcela (ou parcelas) de um trabalhador.
curl --request POST \
--url https://api.example.com/contrato/parcela/consultar-detalhes \
--header 'Content-Type: application/json' \
--data '
{
"NumeroContrato": 123,
"NroParcelas": [
0
]
}
'import requests
url = "https://api.example.com/contrato/parcela/consultar-detalhes"
payload = {
"NumeroContrato": 123,
"NroParcelas": [0]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({NumeroContrato: 123, NroParcelas: [0]})
};
fetch('https://api.example.com/contrato/parcela/consultar-detalhes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/contrato/parcela/consultar-detalhes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'NumeroContrato' => 123,
'NroParcelas' => [
0
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/contrato/parcela/consultar-detalhes"
payload := strings.NewReader("{\n \"NumeroContrato\": 123,\n \"NroParcelas\": [\n 0\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/contrato/parcela/consultar-detalhes")
.header("Content-Type", "application/json")
.body("{\n \"NumeroContrato\": 123,\n \"NroParcelas\": [\n 0\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/contrato/parcela/consultar-detalhes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"NumeroContrato\": 123,\n \"NroParcelas\": [\n 0\n ]\n}"
response = http.request(request)
puts response.read_body{
"NumeroProposta": 123,
"DtInclusao": "<string>",
"SituacaoAgenda": 123,
"DescricaoSituacaoAgenda": "<string>",
"NomeCliente": "<string>",
"NomeEmpresa": "<string>",
"VlrFinanciado": 123,
"SituacaoProposta": 123,
"DtCancelamento": "<string>",
"DtLiquidacao": "<string>",
"DocumentoFederalCliente": "<string>",
"EcCliente": "<string>",
"VlrRetencaoDiarioAprox": 123,
"VlrTotalPago": 123,
"QtdeParcelas": 123,
"DescricaoTipoContrato": "<string>"
}{
"ErrorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ErrorCode": "<string>",
"ErrorCampo": "<string>",
"Error": "<string>",
"Origem": "<string>"
}{
"ErrorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ErrorCode": "<string>",
"ErrorCampo": "<string>",
"Error": "<string>",
"Origem": "<string>"
}{
"ErrorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ErrorCode": "<string>",
"ErrorCampo": "<string>",
"Error": "<string>",
"Origem": "<string>"
}{
"Erro": "<string>"
}{
"ErrorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ErrorCode": "<string>",
"ErrorCampo": "<string>",
"Error": "<string>",
"Origem": "<string>"
}{
"Erro": "<string>"
}{
"Erro": "<string>"
}Corpo
Resposta
OK
Número da proposta/contrato.
Data de inclusão do contrato (ISO 8601).
Código da situação da agenda (cronograma).
Descrição da situação da agenda.
Nome do cliente (trabalhador).
Nome do empregador.
Valor financiado (liberado) no contrato.
Código da situação atual do contrato.
Data de cancelamento, se o contrato foi cancelado.
Data de liquidação, se o contrato foi totalmente liquidado.
CPF do cliente (trabalhador).
Estado civil do cliente (pode ser nulo).
Valor de retenção diária aproximado (se aplicável).
Valor total já pago (se houver).
Quantidade total de parcelas do contrato.
Descrição do tipo de contrato (se houver).
Esta página foi útil?

