Cache clearing by source Individual
There are scenarios where outdated information may be presented in the results of the consulted sources, in this case, it is possible to execute a call using the “nombreServicio”, “documento” and the “tipoDocumento” to clear the stored cache of the individual source and make the query go online (as long as the source queries online).
To do this, the following endpoint must be called with a method POST and in the header "Authorization" (authorization: basic) with the user's authentication credentials.
🔗 Endpoint available
- Cache Clearing: POSThttp://localhost:8080/ValidadorDatainnova/admin/GestionCacheService/borrarCacheDocumentoFuente
📦 JSON Structure Example
{
"tipoDocumento": "cc",
"documento": "111",
"nombreServicio": "DianRutService"
}
📋 Response (approximate time 30s - 60s)
{
"mensaje": "Se borro la cache del documento de manera correcta para la fuente DianRutService, ya puede consultar nuevamente."
}