Judicial
Este endpoint permite extraer información judicial asociada a un RUT.
Detalle de API
Request
- URL:
integration/helper/judicial/{rut}
- Método:
GET
Parámetros
rut
(requerido): El RUT del cual se desea extraer la información. Formato del rut "12345678-9".
Ejemplo request con curl
curl -X 'GET' \
'https://prod.api.thesheriff.cl/api/v1/integration/helper/judicial/12345678-9' \
-H 'accept: application/json' \
-H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9EjemploDeToken123' \
-H 'x-client-identifier: SheriffSecureClient-v1'
Response
Success
- Status code: 200
- Example Body:
Error
{
"success": true,
"data": {
"rut": "12345678-9",
"civil": [
{
"estado": "tramitación",
"estadoCausa": "Sin Archivar",
"etapa": "Embargo",
"fechaIngreso": "2022-03-02T00:00:00.000Z",
"link": "http://link.com",
"linkPdf": "http://link.com",
"linkEbook": "http://link.com",
"litigantes": [
{
"rut": "12345678-9",
"nombre": "Juan Perez",
"sujeto": "DDO",
"persona": "N"
}
],
"proc": "Cumplimiento Laboral",
"rol": "C-01-02",
"tribunal": "Jdo. Cob. Laboral y Previsional de Santiago"
}
],
"cobranza": [
{
"estado": "tramitación",
"estadoCausa": "Sin Archivar",
"etapa": "Embargo",
"fechaIngreso": "2022-03-02T00:00:00.000Z",
"link": "http://link.com",
"linkPdf": "http://link.com",
"linkEbook": "http://link.com",
"monto": "",
"linkMonto": "http://link.com",
"litigantes": [
{
"rut": "12345678-9",
"nombre": "Juan Perez",
"sujeto": "DDO",
"persona": "N"
}
],
"proc": "Cumplimiento Laboral",
"rit": "C-01-02",
"tribunal": "Jdo. Cob. Laboral y Previsional de Santiago"
}
],
"laboral": [
{
"estado": "tramitación",
"estadoCausa": "Sin Archivar",
"etapa": "Embargo",
"fechaIngreso": "2022-03-02T00:00:00.000Z",
"link": "http://link.com",
"linkPdf": "http://link.com",
"linkEbook": "http://link.com",
"litigantes": [
{
"rut": "12345678-9",
"nombre": "Juan Perez",
"sujeto": "DDO",
"persona": "N"
}
],
"proc": "Cumplimiento Laboral",
"rit": "C-01-02",
"tribunal": "Jdo. Cob. Laboral y Previsional de Santiago"
}
]
}
} - Status code: 400
- Error: Data enviada es incorrecta o inexistente.
- Status code: 401
- Error: No autorizado.
- Status code: 404
- Error: Data no encontrada.
- Status code: 500
- Error: Server error