curl --request GET \
--url http://localhost:3001/publication/read-movement/{id}/law-suit-prefill \
--header 'x-juridiq-api-key: <api-key>'import requests
url = "http://localhost:3001/publication/read-movement/{id}/law-suit-prefill"
headers = {"x-juridiq-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-juridiq-api-key': '<api-key>'}};
fetch('http://localhost:3001/publication/read-movement/{id}/law-suit-prefill', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "3001",
CURLOPT_URL => "http://localhost:3001/publication/read-movement/{id}/law-suit-prefill",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-juridiq-api-key: <api-key>"
],
]);
$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 := "http://localhost:3001/publication/read-movement/{id}/law-suit-prefill"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-juridiq-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://localhost:3001/publication/read-movement/{id}/law-suit-prefill")
.header("x-juridiq-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:3001/publication/read-movement/{id}/law-suit-prefill")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["x-juridiq-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"publicationMovementId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"processNumber": "<string>",
"persons": [
{
"name": "<string>",
"personOrigin": "Cliente",
"document": "<string>",
"poloLabel": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"opposingParties": [
{
"name": "<string>",
"personOrigin": "Cliente",
"document": "<string>",
"poloLabel": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"court": "<string>",
"courtBranch": "<string>",
"actionGroup": {
"name": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"typeAction": {
"name": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"lawSuitId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"existsInApi": false
}{
"message": "<string>",
"statusCode": 123,
"translateMessage": "<string>"
}Obter dados para criar processo a partir de uma movimentação de publicação
Lê as colunas da movimentação (processo, tribunal, órgão, partes quando o content for estruturado) e resolve pessoas já cadastradas no escritório. Serve para pré-preencher a criação de processo sem consultar API externa. O parâmetro id é o ID da movimentação (publication_movements), o mesmo usado em PATCH /publication/read-movement/:id — não o ID da publicação. Vale para qualquer provider; o content Juridiq DJEN é mais completo que o da Solucionare. Location Solucionare (estado - uf) não é interpretada como tribunal/vara. Não cria nem altera registros.
curl --request GET \
--url http://localhost:3001/publication/read-movement/{id}/law-suit-prefill \
--header 'x-juridiq-api-key: <api-key>'import requests
url = "http://localhost:3001/publication/read-movement/{id}/law-suit-prefill"
headers = {"x-juridiq-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-juridiq-api-key': '<api-key>'}};
fetch('http://localhost:3001/publication/read-movement/{id}/law-suit-prefill', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "3001",
CURLOPT_URL => "http://localhost:3001/publication/read-movement/{id}/law-suit-prefill",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-juridiq-api-key: <api-key>"
],
]);
$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 := "http://localhost:3001/publication/read-movement/{id}/law-suit-prefill"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-juridiq-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://localhost:3001/publication/read-movement/{id}/law-suit-prefill")
.header("x-juridiq-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:3001/publication/read-movement/{id}/law-suit-prefill")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["x-juridiq-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"publicationMovementId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"processNumber": "<string>",
"persons": [
{
"name": "<string>",
"personOrigin": "Cliente",
"document": "<string>",
"poloLabel": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"opposingParties": [
{
"name": "<string>",
"personOrigin": "Cliente",
"document": "<string>",
"poloLabel": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"court": "<string>",
"courtBranch": "<string>",
"actionGroup": {
"name": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"typeAction": {
"name": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"lawSuitId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"existsInApi": false
}{
"message": "<string>",
"statusCode": 123,
"translateMessage": "<string>"
}Authorizations
Chave de API do escritório (criada no painel). Envie o valor no header x-juridiq-api-key. A API aberta aplica rate limit por chave (veja a documentação de integradores).
Path Parameters
ID da movimentação de publicação
Response
Default Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
false 
