curl --request POST \
--url https://lawsuits.production.judit.io/requests/count \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '
{
"search": {
"search_type": "<string>",
"search_key": "<string>",
"response_type": "<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": [
{}
]
},
"credential": {
"customer_key": "<string>"
}
}
}
}
'{
"total": 2
}
Returns the number of lawsuits in our datalake that match the provided criteria.
curl --request POST \
--url https://lawsuits.production.judit.io/requests/count \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '
{
"search": {
"search_type": "<string>",
"search_key": "<string>",
"response_type": "<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": [
{}
]
},
"credential": {
"customer_key": "<string>"
}
}
}
}
'{
"total": 2
}
Show properties
cpf, cnpj, oab, lawsuit_cnj, or lawsuit_id.lawsuit, parties, attachments, step, or lawsuits.Show properties
Show properties
Passive or Active.{
"total": 2
}
Was this page helpful?