POST http://publite-joel.servicelevelmanagement.co.uk/api/recipient/generate-unsubscribe-link

Query Metrics

18 Database Queries
14 Different statements
32.23 ms Query time
0 Invalid entities

Queries

Group similar statements

default connection

# Time Info
1 5.44 ms
SELECT t0.id AS id_1, t0.api_key AS api_key_2, t0.created_at AS created_at_3, t0.last_used_at AS last_used_at_4, t0.tenant_user_id AS tenant_user_id_5, t0.tenant_db_config_id AS tenant_db_config_id_6 FROM tenant_api_key t0 WHERE t0.api_key = ? LIMIT 1
Parameters:
[
  "7698a68238a20b789118ec4251d5a3b0"
]
2 0.29 ms
"START TRANSACTION"
Parameters:
[]
3 0.98 ms
UPDATE tenant_api_key SET last_used_at = ? WHERE id = ?
Parameters:
[
  "2026-01-22 21:28:23"
  6
]
4 1.47 ms
"COMMIT"
Parameters:
[]
5 3.93 ms
SELECT t0.id AS id_1, t0.driver_type AS driver_type_2, t0.db_name AS db_name_3, t0.db_user_name AS db_user_name_4, t0.db_password AS db_password_5, t0.db_host AS db_host_6, t0.db_port AS db_port_7, t0.database_status AS database_status_8 FROM tenant_db_config t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "4"
]
6 1.28 ms
SELECT t0.id AS id_1, t0.driver_type AS driver_type_2, t0.db_name AS db_name_3, t0.db_user_name AS db_user_name_4, t0.db_password AS db_password_5, t0.db_host AS db_host_6, t0.db_port AS db_port_7, t0.database_status AS database_status_8 FROM tenant_db_config t0 WHERE t0.id = ?
Parameters:
[
  4
]
7 0.53 ms
SELECT t0.id AS id_1, t0.api_key AS api_key_2, t0.created_at AS created_at_3, t0.last_used_at AS last_used_at_4, t0.tenant_user_id AS tenant_user_id_5, t0.tenant_db_config_id AS tenant_db_config_id_6 FROM tenant_api_key t0 WHERE t0.api_key = ? LIMIT 1
Parameters:
[
  "7698a68238a20b789118ec4251d5a3b0"
]
8 0.49 ms
SELECT t0.id AS id_1, t0.api_key AS api_key_2, t0.created_at AS created_at_3, t0.last_used_at AS last_used_at_4, t0.tenant_user_id AS tenant_user_id_5, t0.tenant_db_config_id AS tenant_db_config_id_6 FROM tenant_api_key t0 WHERE t0.api_key = ? LIMIT 1
Parameters:
[
  "7698a68238a20b789118ec4251d5a3b0"
]
9 3.13 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t5.id AS id_6, t5.secret AS secret_7, t5.backup_codes AS backup_codes_8, t5.enabled AS enabled_9, t5.created_at AS created_at_10, t5.enabled_at AS enabled_at_11, t5.last_used_at AS last_used_at_12, t5.tenant_user_id AS tenant_user_id_13 FROM tenant_user t0 LEFT JOIN tenant_user_authenticator t5 ON t5.tenant_user_id = t0.id WHERE t0.id = ?
Parameters:
[
  1
]
10 0.86 ms
SELECT NEXTVAL('api_logs_id_seq')
Parameters:
[]
11 0.26 ms
"START TRANSACTION"
Parameters:
[]
12 1.48 ms
INSERT INTO api_logs (id, timestamp, username, action, details, request_data, response_data, ip_address, user_agent, tenant_db_config_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  50349
  "2026-01-22 21:28:23"
  "[email protected]"
  "POST /api/recipient/generate-unsubscribe-link (200)"
  "API call completed in 28.51ms with status 200"
  "{"body":{"email":"[email protected]","department":"Benefits","reference":"BENS010504"}}"
  null
  "192.168.3.178"
  "Symfony HttpClient/Curl"
  4
]
13 1.04 ms
"COMMIT"
Parameters:
[]

tenant connection

# Time Info
1 6.93 ms
SELECT t0.id AS id_1, t0.uuid AS uuid_2, t0.name AS name_3, t0.email AS email_4, t0.password AS password_5, t0.meta AS meta_6, t0.enable AS enable_7, t0.telephone AS telephone_8, t0.enrollment_token AS enrollment_token_9, t0.unsubscribe_token AS unsubscribe_token_10, t0.confirmation_postcode AS confirmation_postcode_11, t0.confirmation_type AS confirmation_type_12, t0.one_time_code AS one_time_code_13, t0.deleted_at AS deleted_at_14, t0.address AS address_15, t0.version AS version_16, t0.source AS source_17, t0.last_synced_at AS last_synced_at_18, t0.updated_at AS updated_at_19, t0.source_id AS source_id_20 FROM recipient t0 WHERE t0.email = ? LIMIT 1
Parameters:
[
  "[email protected]"
]
2 1.53 ms
SELECT t0.id AS id_1, t0.key AS key_2, t0.value AS value_3, t0.unsubscribed_at AS unsubscribed_at_4, t0.recipient_id AS recipient_id_5 FROM recipient_reference t0 WHERE t0.value = ? AND t0.key = ? AND t0.recipient_id = ? LIMIT 1
Parameters:
[
  "BENS010504"
  "Benefits"
  10504
]
3 0.26 ms
"START TRANSACTION"
Parameters:
[]
4 0.98 ms
UPDATE recipient SET unsubscribe_token = ?, updated_at = ? WHERE id = ?
Parameters:
[
  "e5cb8f837b8699041e1888e2fa795acd"
  "2026-01-22 21:28:23"
  10504
]
5 1.35 ms
"COMMIT"
Parameters:
[]

Database Connections

Name Service
tenant doctrine.dbal.tenant_connection
default doctrine.dbal.default_connection

Entity Managers

Name Service
tenant doctrine.orm.tenant_entity_manager
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

tenant entity manager

Class Mapping errors
App\Entity\Tenant\Recipient No errors.
App\Entity\Tenant\Document No errors.
App\Entity\Tenant\AccessLog No errors.
App\Entity\Tenant\RecipientReference No errors.

default entity manager

Class Mapping errors
App\Entity\Main\TenantApiKey No errors.
App\Entity\Main\TenantUser No errors.
App\Entity\Main\TenantDbConfig No errors.
App\Entity\Main\TenantHostname No errors.
App\Entity\Main\TenantUserAuthenticator No errors.
App\Entity\Main\ApiLog No errors.