Obtener Solicitud de Derecho
Obtener Solicitud de Derecho
POST /cl/consent_manager/get_rights_request
Devuelve el detalle auditable de una solicitud de derecho: objetivos, versión de Activity aplicada, eventos, resolución y efectos. Sólo lectura.
- URL de producción:
https://api.floid.app/cl/consent_manager/get_rights_request - URL de sandbox:
https://sandbox.floid.app/cl/consent_manager/get_rights_request
Headers requeridos
Authorization: Bearer {{TOKEN}}
Content-Type: application/json
Parámetros del body
| Campo | Tipo | Requerido | Descripción |
|---|---|---|---|
rights_request_id | string (UUID) | Sí | Caso a consultar. |
sandbox | boolean | No | true consulta el espacio sandbox. Por defecto false. |
Ejemplo
curl --location 'https://api.floid.app/cl/consent_manager/get_rights_request' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{TOKEN}}' \
--data '{ "rights_request_id": "9c1f4b2a-77de-4a10-9b33-1e2f3a4b5c6d" }'Respuesta exitosa (200)
{
"code": 200,
"message": "OK",
"caseid": "b3f1c2a4-9e77-4c31-8a10-2f6d5e7a1b90",
"data": {
"rights_request_id": "9c1f4b2a-77de-4a10-9b33-1e2f3a4b5c6d",
"status": "RESOLVED",
"subject_external_id": "customer-8293",
"who_code": "sujeto.cliente",
"right_code": "DELETE",
"applied_version_number": 3,
"activity_code": "marketing-redec",
"received_at": "2026-09-12T09:15:00.000Z",
"due_at": "2026-09-27T09:15:00.000Z",
"is_overdue": false,
"resolved_at": "2026-09-15T00:00:00.000Z",
"resolution_message": "Se elimina el tratamiento a solicitud del titular.",
"trace": { "operational_code": "rights-op-01", "business_reference": null },
"requester": { "name": "Juan Pérez", "channel": "email" },
"metadata": null,
"targets": [
{ "data_processing_id": "550e8400-e29b-41d4-a716-446655440000" }
],
"effects": [
{
"rights_request_effect_id": "7a6b5c4d-1122-4e33-9f44-556677889900",
"data_processing_id": "550e8400-e29b-41d4-a716-446655440000",
"effect_type": "CONSENT_REVOKED",
"data_processing_event_id": "e11a22bb-33cc-44dd-55ee-66ff77aa88bb"
}
],
"history": [
{
"event_id": "aa000001-0000-4000-8000-000000000001",
"event_type": "REQUEST_RECEIVED",
"occurred_at": "2026-09-12T09:15:00.000Z",
"received_at": "2026-09-12T09:15:00.000Z",
"payload": {
"who_code": "sujeto.cliente",
"right_code": "DELETE",
"data_processing_ids": ["550e8400-e29b-41d4-a716-446655440000"],
"applied_activity_version_number": 3,
"due_at": "2026-09-27T09:15:00.000Z"
}
},
{
"event_id": "aa000002-0000-4000-8000-000000000002",
"event_type": "REQUEST_EFFECT_EXECUTED",
"occurred_at": "2026-09-15T00:00:00.000Z",
"received_at": "2026-09-15T00:00:01.000Z",
"payload": {
"rights_request_effect_id": "7a6b5c4d-1122-4e33-9f44-556677889900",
"data_processing_id": "550e8400-e29b-41d4-a716-446655440000",
"effect_type": "CONSENT_REVOKED",
"data_processing_event_id": "e11a22bb-33cc-44dd-55ee-66ff77aa88bb"
}
},
{
"event_id": "aa000003-0000-4000-8000-000000000003",
"event_type": "REQUEST_RESOLVED",
"occurred_at": "2026-09-15T00:00:00.000Z",
"received_at": "2026-09-15T00:00:01.000Z",
"payload": { "resolution_message": "Se elimina el tratamiento a solicitud del titular.", "operational_code": null, "metadata": null, "effect_count": 1 }
}
]
}
}Estructura de data
data| Campo | Tipo | Descripción |
|---|---|---|
rights_request_id | string | Identificador público del caso. |
status | string | RECEIVED o RESOLVED. |
subject_external_id | string | Identificador del titular (eco en claro). |
who_code | string | Titular al que aplica la regla. |
right_code | string | Derecho solicitado. |
applied_version_number | number | Versión de la Activity cuya política se aplicó. |
activity_code | string | Código de la Activity aplicada. |
received_at | string (ISO 8601) | Momento de recepción. |
due_at | string (ISO 8601) | Vencimiento (null si la regla es en línea). |
is_overdue | boolean | true si venció y sigue RECEIVED. |
resolved_at | string (ISO 8601) | Momento de resolución (null si sigue abierto). |
resolution_message | string | Respuesta del responsable (null si sigue abierto). |
trace | object | { operational_code, business_reference }. |
requester | object | Datos de quien presentó la solicitud (null si no se informó). |
metadata | object | Metadatos libres (null si no se informó). |
targets | array | Tratamientos alcanzados: [{ data_processing_id }]. |
effects | array | Efectos ejecutados en la resolución (ver tabla). |
history | array | Eventos del caso (ver tabla). |
effects[]
effects[]| Campo | Tipo | Descripción |
|---|---|---|
rights_request_effect_id | string | Identificador público del efecto. |
data_processing_id | string | Tratamiento afectado. |
effect_type | string | CONSENT_REVOKED o PROCESSING_TERMINATED. |
data_processing_event_id | string | Evento generado en el tratamiento por el efecto. |
history[]
history[]| Campo | Tipo | Descripción |
|---|---|---|
event_id | string | Identificador público del evento del caso. |
event_type | string | REQUEST_RECEIVED, REQUEST_EFFECT_EXECUTED, REQUEST_RESOLVED. |
occurred_at | string (ISO 8601) | Momento del evento. |
received_at | string (ISO 8601) | Momento de recepción por Floid. |
payload | object | Contenido del evento (varía según event_type). |
Errores
| HTTP | error_code | Cuándo |
|---|---|---|
| 400 | RIGHTS_REQUEST_NOT_FOUND | Falta rights_request_id. |
| 404 | RIGHTS_REQUEST_NOT_FOUND | El caso no existe o no pertenece a tu cliente. |
| 500 | INTERNAL_ERROR | Error inesperado del servidor. |
Updated about 10 hours ago
