API Lexi (1.0)
Download OpenAPI specification:Download
Rem Tools: contact@rem.tools
This is the API for Lexi for searching agreements
Search agreements
Search agreements
Authorizations:
ApiKeyAuth
Request Body schema: application/json
Query
query required | string Nombre de la persona a buscar en los acuerdos |
state | string Estado de México en el que se buscará |
Responses
Request samples
- Payload
Content type
application/json
{- "query": "string",
- "state": "string"
}
Response samples
- 200
- 400
- 422
- 500
Content type
application/json
[- {
- "case_number": "string",
- "court_id": "string",
- "court_name": "string",
- "court_room": "string",
- "date": "string",
- "district": "string",
- "parties": {
- "defendant": [
- "string"
], - "plaintiff": [
- "string"
], - "unknown": [
- "string"
]
}, - "ruling": "string",
- "score": 0,
- "secretariat": "string",
- "state_id": "string",
- "subject_matter": [
- "string"
], - "summary": "string"
}
]
Get agreement history
Get agreement history
Authorizations:
ApiKeyAuth
Request Body schema: application/json
Query
folio | string Folio del acuerdo a buscar en el historial |
state | string Estado de México en el que se buscará |
Responses
Request samples
- Payload
Content type
application/json
{- "folio": "string",
- "state": "string"
}
Response samples
- 200
- 400
- 422
- 500
Content type
application/json
[- {
- "case_number": "string",
- "court_id": "string",
- "court_name": "string",
- "court_room": "string",
- "date": "string",
- "district": "string",
- "parties": {
- "defendant": [
- "string"
], - "plaintiff": [
- "string"
], - "unknown": [
- "string"
]
}, - "ruling": "string",
- "score": 0,
- "secretariat": "string",
- "state_id": "string",
- "subject_matter": [
- "string"
], - "summary": "string"
}
]