Criação de monitoramento
curl --request POST \
--url https://tracking.production.judit.io/tracking \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '
{
"fixed_time": false,
"search": {
"search_type": "cpf",
"search_key": "string"
}
}
'import requests
url = "https://tracking.production.judit.io/tracking"
payload = {
"fixed_time": False,
"search": {
"search_type": "cpf",
"search_key": "string"
}
}
headers = {
"api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({fixed_time: false, search: {search_type: 'cpf', search_key: 'string'}})
};
fetch('https://tracking.production.judit.io/tracking', 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://tracking.production.judit.io/tracking",
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([
'fixed_time' => false,
'search' => [
'search_type' => 'cpf',
'search_key' => 'string'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://tracking.production.judit.io/tracking"
payload := strings.NewReader("{\n \"fixed_time\": false,\n \"search\": {\n \"search_type\": \"cpf\",\n \"search_key\": \"string\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("api-key", "<api-key>")
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://tracking.production.judit.io/tracking")
.header("api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"fixed_time\": false,\n \"search\": {\n \"search_type\": \"cpf\",\n \"search_key\": \"string\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://tracking.production.judit.io/tracking")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"fixed_time\": false,\n \"search\": {\n \"search_type\": \"cpf\",\n \"search_key\": \"string\"\n }\n}"
response = http.request(request)
puts response.read_body{
"tracking_id": "<string>",
"user_id": "<string>",
"company_id": "<string>",
"status": "created",
"recurrence": 123,
"with_attachments": true,
"search": {
"search_type": "cpf",
"search_key": "<string>",
"on_demand": true,
"search_name": "<string>",
"response_type": "lawsuit",
"cache_ttl_in_days": 123,
"search_params": {
"full_lawsuit": true,
"should_search_branches": true,
"public_search": true,
"lawsuit_instance": 123,
"attachment_id": "<string>",
"attachment_extension": "<string>",
"filter": {
"side": "Passive",
"party_names": [
"<string>"
],
"party_documents": [
"<string>"
],
"distribution_date_gte": "2023-11-07T05:31:56Z",
"distribution_date_lte": "2023-11-07T05:31:56Z",
"last_step_date_gte": "2023-11-07T05:31:56Z",
"last_step_date_lte": "2023-11-07T05:31:56Z",
"tribunals": {
"keys": [
"<string>"
],
"not_equal": true
},
"classification_codes": {
"keys": [
"<string>"
],
"not_equal": true
},
"classification_names": {
"keys": [
"<string>"
],
"not_equal": true
},
"subject_codes": {
"contains": [
"<string>"
],
"not_contains": [
"<string>"
]
},
"subject_names": {
"contains": [
"<string>"
],
"not_contains": [
"<string>"
]
},
"amount_lte": 123,
"amount_gte": 123
},
"pagination": {
"page": 123,
"page_size": 123
},
"credential": {
"customer_key": "<string>"
}
}
},
"notification_emails": [
"<string>"
],
"tracked_items_count": 123,
"tracked_items_steps_count": 123,
"notification_filters": {
"step_terms": [
"<string>"
]
},
"callback_url": "<string>",
"tags": {},
"plan_config_type": "datalake_lawsuit_search",
"fixed_time": true,
"hour_range": 123,
"execution_minute": 123,
"created_at": "2023-11-07T05:31:56Z",
"request_id": "<string>",
"updating_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"paused_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z"
}{
"error": {
"name": "HttpUnauthorizedError",
"message": "UNAUTHORIZED",
"stack": "<string>",
"data": "User must be authenticated"
}
}{
"error": {
"name": "HttpForbiddenError",
"message": "FORBIDDEN",
"stack": "<string>",
"data": "Authenticated user is not authorized"
}
}{
"error": {
"name": "HttpInternalServerError",
"message": "INTERNAL_SERVER_ERROR",
"stack": "<string>",
"data": {
"message": "Database connection failed"
}
}
}Tracking · Monitoring
Create a tracking
This endpoint creates a lawsuit tracking by document (CPF, CNPJ, OAB) or CNJ code.
POST
/
tracking
Criação de monitoramento
curl --request POST \
--url https://tracking.production.judit.io/tracking \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '
{
"fixed_time": false,
"search": {
"search_type": "cpf",
"search_key": "string"
}
}
'import requests
url = "https://tracking.production.judit.io/tracking"
payload = {
"fixed_time": False,
"search": {
"search_type": "cpf",
"search_key": "string"
}
}
headers = {
"api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({fixed_time: false, search: {search_type: 'cpf', search_key: 'string'}})
};
fetch('https://tracking.production.judit.io/tracking', 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://tracking.production.judit.io/tracking",
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([
'fixed_time' => false,
'search' => [
'search_type' => 'cpf',
'search_key' => 'string'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://tracking.production.judit.io/tracking"
payload := strings.NewReader("{\n \"fixed_time\": false,\n \"search\": {\n \"search_type\": \"cpf\",\n \"search_key\": \"string\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("api-key", "<api-key>")
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://tracking.production.judit.io/tracking")
.header("api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"fixed_time\": false,\n \"search\": {\n \"search_type\": \"cpf\",\n \"search_key\": \"string\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://tracking.production.judit.io/tracking")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"fixed_time\": false,\n \"search\": {\n \"search_type\": \"cpf\",\n \"search_key\": \"string\"\n }\n}"
response = http.request(request)
puts response.read_body{
"tracking_id": "<string>",
"user_id": "<string>",
"company_id": "<string>",
"status": "created",
"recurrence": 123,
"with_attachments": true,
"search": {
"search_type": "cpf",
"search_key": "<string>",
"on_demand": true,
"search_name": "<string>",
"response_type": "lawsuit",
"cache_ttl_in_days": 123,
"search_params": {
"full_lawsuit": true,
"should_search_branches": true,
"public_search": true,
"lawsuit_instance": 123,
"attachment_id": "<string>",
"attachment_extension": "<string>",
"filter": {
"side": "Passive",
"party_names": [
"<string>"
],
"party_documents": [
"<string>"
],
"distribution_date_gte": "2023-11-07T05:31:56Z",
"distribution_date_lte": "2023-11-07T05:31:56Z",
"last_step_date_gte": "2023-11-07T05:31:56Z",
"last_step_date_lte": "2023-11-07T05:31:56Z",
"tribunals": {
"keys": [
"<string>"
],
"not_equal": true
},
"classification_codes": {
"keys": [
"<string>"
],
"not_equal": true
},
"classification_names": {
"keys": [
"<string>"
],
"not_equal": true
},
"subject_codes": {
"contains": [
"<string>"
],
"not_contains": [
"<string>"
]
},
"subject_names": {
"contains": [
"<string>"
],
"not_contains": [
"<string>"
]
},
"amount_lte": 123,
"amount_gte": 123
},
"pagination": {
"page": 123,
"page_size": 123
},
"credential": {
"customer_key": "<string>"
}
}
},
"notification_emails": [
"<string>"
],
"tracked_items_count": 123,
"tracked_items_steps_count": 123,
"notification_filters": {
"step_terms": [
"<string>"
]
},
"callback_url": "<string>",
"tags": {},
"plan_config_type": "datalake_lawsuit_search",
"fixed_time": true,
"hour_range": 123,
"execution_minute": 123,
"created_at": "2023-11-07T05:31:56Z",
"request_id": "<string>",
"updating_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"paused_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z"
}{
"error": {
"name": "HttpUnauthorizedError",
"message": "UNAUTHORIZED",
"stack": "<string>",
"data": "User must be authenticated"
}
}{
"error": {
"name": "HttpForbiddenError",
"message": "FORBIDDEN",
"stack": "<string>",
"data": "Authenticated user is not authorized"
}
}{
"error": {
"name": "HttpInternalServerError",
"message": "INTERNAL_SERVER_ERROR",
"stack": "<string>",
"data": {
"message": "Database connection failed"
}
}
}Authorizations
apiKeyAuthjwtAuth
API key for authentication
Body
application/json
Show child attributes
Show child attributes
Pattern:
^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Show child attributes
Show child attributes
Required range:
-9007199254740991 <= x <= 9007199254740991Required range:
-9007199254740991 <= x <= 9007199254740991Show child attributes
Show child attributes
Response
Successful response
Available options:
created, updating, updated, paused, deleted, suspended Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Available options:
datalake_lawsuit_search, download_attachment, download_full_lawsuit, download_execution_attachment, simple_lawsuit_search, simple_lawsuit_search_with_summary, complete_lawsuit_search, complete_lawsuit_search_with_summary, full_lawsuit_search, full_lawsuit_search_with_summary, simple_lawsuit_tracking, simple_lawsuit_tracking_fixed_time, complete_lawsuit_tracking, complete_lawsuit_tracking_fixed_time, full_lawsuit_tracking, full_lawsuit_tracking_fixed_time, simple_warrant_search, complete_warrant_search, simple_execution_search, complete_execution_search, binary_document_search, count_document_search, aggregate_document_search, simple_document_search, simple_document_search_with_summary, complete_document_search, complete_document_search_with_summary, complete_document_search_on_demand, complete_document_search_on_demand_with_summary, document_tracking, document_tracking_fixed_time, public_document_tracking, public_document_tracking_fixed_time, custom_search, custom_tracking, custom_tracking_fixed_time, communication_tracking, entity_person_search, entity_person_search_on_demand, entity_person_name_search, entity_person_name_search_on_demand, entity_company_search, entity_company_search_on_demand, complete_company_search_with_branches, complete_company_search_with_branches_on_demand, sanctions_lists_search, sync_complete_document_search, error Was this page helpful?