Saltar al contenido principal
GET
/
v1
/
admin
/
orders
/
{id}
Obtener orden (admin)
curl --request GET \
  --url https://sisbajud.sandbox.lerian.net/v1/admin/orders/{id}
import requests

url = "https://sisbajud.sandbox.lerian.net/v1/admin/orders/{id}"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://sisbajud.sandbox.lerian.net/v1/admin/orders/{id}', 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://sisbajud.sandbox.lerian.net/v1/admin/orders/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://sisbajud.sandbox.lerian.net/v1/admin/orders/{id}"

req, _ := http.NewRequest("GET", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://sisbajud.sandbox.lerian.net/v1/admin/orders/{id}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://sisbajud.sandbox.lerian.net/v1/admin/orders/{id}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
{
  "chave_registro": "<string>",
  "codigo_resposta": "<string>",
  "connector_type": "<string>",
  "cpf_cnpj": "<string>",
  "created_at": "<string>",
  "data_hora_protocolo": "<string>",
  "escopo_ordem": "<string>",
  "id": "<string>",
  "juiz_solicitante": "<string>",
  "motivo_negativa": "<string>",
  "numero_processo": "<string>",
  "ordem_bloqueio_permanente": true,
  "retry_count": 123,
  "sla_deadline": "<string>",
  "status": "<string>",
  "tipo_ordem": "<string>",
  "updated_at": "<string>",
  "valor_bloqueado": "<string>",
  "valor_bloqueio_minimo": "<string>",
  "valor_desbloqueado": "<string>",
  "valor_remanescente": "<string>",
  "valor_solicitado": "<string>",
  "valor_transferido": "<string>"
}
{
"code": "<string>",
"details": {},
"message": "<string>",
"title": "<string>"
}
{
"code": "<string>",
"details": {},
"message": "<string>",
"title": "<string>"
}
{
"code": "<string>",
"details": {},
"message": "<string>",
"title": "<string>"
}
{
"code": "<string>",
"details": {},
"message": "<string>",
"title": "<string>"
}
{
"code": "<string>",
"details": {},
"message": "<string>",
"title": "<string>"
}

Parámetros de ruta

id
string
requerido

Judicial order id (UUID)

Respuesta

OK

chave_registro
string
codigo_resposta
string
connector_type
string
cpf_cnpj
string

Decrypted CRITICO fields. The query layer returns them in clear; the admin HTTP layer masks each one (replacing the value with a fixed redaction marker) unless the caller is authorized for cleartext access, so over the wire these may be cleartext OR masked depending on the caller's role.

created_at
string
data_hora_protocolo
string
escopo_ordem
string
id
string
juiz_solicitante
string
motivo_negativa
string
numero_processo
string
ordem_bloqueio_permanente
boolean
retry_count
integer
sla_deadline
string
status
string
tipo_ordem
string
updated_at
string
valor_bloqueado
string
valor_bloqueio_minimo
string
valor_desbloqueado
string
valor_remanescente
string
valor_solicitado
string
valor_transferido
string