curl --request POST \
--url https://lawsuits.production.judit.io/requests/create \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '
{
"search": {
"search_type": "<string>",
"search_key": "<string>",
"search_params": {
"lawsuit_instance": 123,
"filter": {
"side": "<string>",
"distribution_date_gte": "<string>",
"amount_gte": 123,
"amount_lte": 123,
"tribunals": {
"keys": [
{}
],
"not_equal": true
},
"subject_codes": {
"keys": [
{}
],
"not_equal": true
},
"classification_codes": {
"keys": [
{}
],
"not_equal": true
},
"last_step_date_gte": "<string>",
"last_step_date_lte": "<string>",
"party_names": [
{}
],
"party_documents": [
{}
]
},
"create_complete_request": true
}
}
}
'{
"has_lawsuits": true,
"request_id": "00000000-0000-0000-0000-000000000001",
"response_data": []
}
Checks whether there are lawsuits associated with the provided document in our datalake.
curl --request POST \
--url https://lawsuits.production.judit.io/requests/create \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '
{
"search": {
"search_type": "<string>",
"search_key": "<string>",
"search_params": {
"lawsuit_instance": 123,
"filter": {
"side": "<string>",
"distribution_date_gte": "<string>",
"amount_gte": 123,
"amount_lte": 123,
"tribunals": {
"keys": [
{}
],
"not_equal": true
},
"subject_codes": {
"keys": [
{}
],
"not_equal": true
},
"classification_codes": {
"keys": [
{}
],
"not_equal": true
},
"last_step_date_gte": "<string>",
"last_step_date_lte": "<string>",
"party_names": [
{}
],
"party_documents": [
{}
]
},
"create_complete_request": true
}
}
}
'{
"has_lawsuits": true,
"request_id": "00000000-0000-0000-0000-000000000001",
"response_data": []
}
Show properties
cpf, cnpj, oab, lawsuit_cnj, or lawsuit_id.Show properties
Show properties
Passive or Active.true, a complete lawsuit request will also be created if at least one matching lawsuit is found.{
"has_lawsuits": true,
"request_id": "00000000-0000-0000-0000-000000000001",
"response_data": []
}
Was this page helpful?