https://support.gutandhealth.com/public/api/v1/ticket

Query Metrics

59 Database Queries
31 Different statements
32.26 ms Query time
4 Invalid entities

Grouped Statements

Show all queries

Time Count Info
7.64 ms
(23.67%)
2
UPDATE uv_ticket SET agent_id = ?, updated_at = ? WHERE id = ?
Parameters:
[
  1
  "2026-04-02 08:04:15"
  2307
]
5.08 ms
(15.74%)
2
SELECT u0_.id AS id_0, u0_.name AS name_1, u0_.description AS description_2, u0_.conditions AS conditions_3, u0_.actions AS actions_4, u0_.sort_order AS sort_order_5, u0_.is_predefind AS is_predefind_6, u0_.status AS status_7, u0_.date_added AS date_added_8, u0_.date_updated AS date_updated_9 FROM uv_workflow u0_ LEFT JOIN uv_workflow_events u1_ ON u0_.id = u1_.workflow_id WHERE u0_.status = ? AND u0_.is_predefind = ? AND u1_.event = ? ORDER BY u0_.sort_order ASC
Parameters:
[
  1
  1
  "uvdesk.customer.created"
]
2.66 ms
(8.26%)
7
"COMMIT"
Parameters:
[]
2.23 ms
(6.90%)
7
SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.logo AS logo_4, t0.theme_color AS theme_color_5, t0.favicon AS favicon_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.is_active AS is_active_9, t0.timezone AS timezone_10, t0.timeformat AS timeformat_11 FROM uv_website t0 WHERE t0.code = ? LIMIT 1
Parameters:
[
  "knowledgebase"
]
1.57 ms
(4.88%)
1
SELECT u0_.email AS email_0 FROM uv_api_access_credentials u1_ LEFT JOIN uv_user u0_ ON u1_.user_id = u0_.id WHERE u1_.token = ? AND u1_.is_enabled = 1
Parameters:
[
  "KVTKPATJ9NYABQGFGKBMFLF9QROE07ERDMJGR61Q86MEQGPZDKAORJFGV5VG4X18"
]
1.36 ms
(4.22%)
1
SELECT u0_.message_id AS message_id_0 FROM uv_thread u0_ WHERE u0_.created_by = ? ORDER BY u0_.id DESC LIMIT 1
Parameters:
[
  "agent"
]
1.30 ms
(4.03%)
7
"START TRANSACTION"
Parameters:
[]
1.02 ms
(3.17%)
3
SELECT t0.id AS id_1, t0.email AS email_2, t0.proxy_id AS proxy_id_3, t0.password AS password_4, t0.first_name AS first_name_5, t0.last_name AS last_name_6, t0.is_enabled AS is_enabled_7, t0.verification_code AS verification_code_8, t0.timezone AS timezone_9, t0.timeformat AS timeformat_10 FROM uv_user t0 WHERE t0.email = ? LIMIT 1
Parameters:
[
  "damodara.kripa.bvg@gmail.com"
]
0.99 ms
(3.08%)
1
INSERT INTO uv_user (email, proxy_id, password, first_name, last_name, is_enabled, verification_code, timezone, timeformat) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => "damodara.kripa.bvg@gmail.com"
  2 => null
  3 => null
  4 => "Dmitri"
  5 => "Anfilatov"
  6 => 1
  7 => null
  8 => "Asia/Kolkata"
  9 => "m-d-y G:i"
]
0.77 ms
(2.38%)
3
SELECT t0.id AS id_1, t0.name AS name_2, t0.subject AS subject_3, t0.message AS message_4, t0.template_type AS template_type_5, t0.is_predefined AS is_predefined_6, t0.user_id AS user_id_7 FROM uv_email_templates t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "8"
]
0.72 ms
(2.23%)
1
SELECT u0_.id AS id_0, u0_.email AS email_1, u0_.proxy_id AS proxy_id_2, u0_.password AS password_3, u0_.first_name AS first_name_4, u0_.last_name AS last_name_5, u0_.is_enabled AS is_enabled_6, u0_.verification_code AS verification_code_7, u0_.timezone AS timezone_8, u0_.timeformat AS timeformat_9, u1_.id AS id_10, u1_.source AS source_11, u1_.skype_id AS skype_id_12, u1_.contact_number AS contact_number_13, u1_.designation AS designation_14, u1_.signature AS signature_15, u1_.profile_image_path AS profile_image_path_16, u1_.created_at AS created_at_17, u1_.updated_at AS updated_at_18, u1_.is_active AS is_active_19, u1_.is_verified AS is_verified_20, u1_.is_starred AS is_starred_21, u1_.ticket_access_level AS ticket_access_level_22, u1_.user_id AS user_id_23, u1_.supportRole_id AS supportRole_id_24 FROM uv_user u0_ LEFT JOIN uv_user_instance u1_ ON (u0_.id = u1_.user_id) LEFT JOIN uv_support_role u2_ ON u1_.supportRole_id = u2_.id WHERE u0_.email = ? AND u1_.is_active = ? AND (u2_.id = ? OR u2_.id = ? OR u2_.id = ?) LIMIT 1
Parameters:
[
  "amith@fembuddy.com"
  1
  1
  2
  3
]
0.67 ms
(2.07%)
3
SELECT t0.id AS id_1, t0.source AS source_2, t0.message_id AS message_id_3, t0.thread_type AS thread_type_4, t0.created_by AS created_by_5, t0.cc AS cc_6, t0.bcc AS bcc_7, t0.reply_to AS reply_to_8, t0.delivery_status AS delivery_status_9, t0.is_locked AS is_locked_10, t0.is_bookmarked AS is_bookmarked_11, t0.message AS message_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.agent_viewed_at AS agent_viewed_at_15, t0.customer_viewed_at AS customer_viewed_at_16, t0.ticket_id AS ticket_id_17, t0.user_id AS user_id_18 FROM uv_thread t0 WHERE t0.ticket_id = ?
Parameters:
[
  2307
]
0.55 ms
(1.71%)
1
UPDATE uv_user SET verification_code = ? WHERE id = ?
Parameters:
[
  "a0ccphassFeAAY8QXdGIKceMnu6Ukrmk"
  2201
]
0.52 ms
(1.62%)
1
SELECT t0.id AS id_1, t0.code AS code_2, t0.description AS description_3 FROM uv_support_role t0 WHERE t0.id = ?
Parameters:
[
  1
]
0.50 ms
(1.56%)
1
INSERT INTO uv_ticket (source, mailbox_email, subject, reference_ids, is_new, is_replied, is_reply_enabled, is_starred, is_trashed, is_agent_viewed, is_agent_custom_viewed, is_customer_viewed, created_at, updated_at, status_id, priority_id, type_id, customer_id, agent_id, group_id, subGroup_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => "api"
  2 => null
  3 => "Gut wellness club"
  4 => null
  5 => 1
  6 => 0
  7 => 1
  8 => 0
  9 => 0
  10 => 0
  11 => 0
  12 => 0
  13 => "2026-04-02 08:04:15"
  14 => "2026-04-02 08:04:15"
  15 => 1
  16 => 1
  17 => 1
  18 => 2201
  19 => null
  20 => null
  21 => null
]
0.45 ms
(1.40%)
2
SELECT t0.id AS id_1, t0.source AS source_2, t0.skype_id AS skype_id_3, t0.contact_number AS contact_number_4, t0.designation AS designation_5, t0.signature AS signature_6, t0.profile_image_path AS profile_image_path_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.is_active AS is_active_10, t0.is_verified AS is_verified_11, t0.is_starred AS is_starred_12, t0.ticket_access_level AS ticket_access_level_13, t0.user_id AS user_id_14, t0.supportRole_id AS supportRole_id_15 FROM uv_user_instance t0 WHERE t0.user_id = ?
Parameters:
[
  1
]
0.45 ms
(1.39%)
2
SELECT t0.id AS id_1, t0.name AS name_2, t0.path AS path_3, t0.content_type AS content_type_4, t0.size AS size_5, t0.content_id AS content_id_6, t0.file_system AS file_system_7, t0.thread_id AS thread_id_8 FROM uv_ticket_attachments t0 WHERE t0.thread_id = ?
Parameters:
[
  3518
]
0.38 ms
(1.17%)
1
SELECT u0_.id AS id_0, u0_.source AS source_1, u0_.message_id AS message_id_2, u0_.thread_type AS thread_type_3, u0_.created_by AS created_by_4, u0_.cc AS cc_5, u0_.bcc AS bcc_6, u0_.reply_to AS reply_to_7, u0_.delivery_status AS delivery_status_8, u0_.is_locked AS is_locked_9, u0_.is_bookmarked AS is_bookmarked_10, u0_.message AS message_11, u0_.created_at AS created_at_12, u0_.updated_at AS updated_at_13, u0_.agent_viewed_at AS agent_viewed_at_14, u0_.customer_viewed_at AS customer_viewed_at_15, u0_.ticket_id AS ticket_id_16, u0_.user_id AS user_id_17 FROM uv_thread u0_ WHERE u0_.ticket_id = ? ORDER BY u0_.id DESC LIMIT 1
Parameters:
[
  2307
]
0.37 ms
(1.16%)
1
UPDATE uv_ticket SET reference_ids = ?, is_replied = ?, updated_at = ? WHERE id = ?
Parameters:
[
  " <me538n1mzak4b55n9s93@localhost>"
  0
  "2026-04-02 08:04:15"
  2307
]
0.34 ms
(1.07%)
1
SELECT t0.id AS id_1, t0.email AS email_2, t0.proxy_id AS proxy_id_3, t0.password AS password_4, t0.first_name AS first_name_5, t0.last_name AS last_name_6, t0.is_enabled AS is_enabled_7, t0.verification_code AS verification_code_8, t0.timezone AS timezone_9, t0.timeformat AS timeformat_10 FROM uv_user t0 WHERE t0.id = ?
Parameters:
[
  "16"
]
0.31 ms
(0.96%)
1
SELECT t0.id AS id_1, t0.code AS code_2, t0.description AS description_3, t0.color_code AS color_code_4 FROM uv_ticket_priority t0 WHERE t0.code = ? LIMIT 1
Parameters:
[
  "low"
]
0.30 ms
(0.92%)
1
SELECT t0.id AS id_1, t0.code AS code_2, t0.description AS description_3, t0.is_active AS is_active_4 FROM uv_ticket_type t0 WHERE t0.code = ? LIMIT 1
Parameters:
[
  "support"
]
0.28 ms
(0.87%)
1
SELECT t0.id AS id_1, t0.code AS code_2, t0.description AS description_3, t0.color_code AS color_code_4, t0.sort_order AS sort_order_5 FROM uv_ticket_status t0 WHERE t0.code = ? LIMIT 1
Parameters:
[
  "open"
]
0.28 ms
(0.86%)
1
SELECT t0.id AS id_1, t0.source AS source_2, t0.mailbox_email AS mailbox_email_3, t0.subject AS subject_4, t0.reference_ids AS reference_ids_5, t0.is_new AS is_new_6, t0.is_replied AS is_replied_7, t0.is_reply_enabled AS is_reply_enabled_8, t0.is_starred AS is_starred_9, t0.is_trashed AS is_trashed_10, t0.is_agent_viewed AS is_agent_viewed_11, t0.is_agent_custom_viewed AS is_agent_custom_viewed_12, t0.is_customer_viewed AS is_customer_viewed_13, t0.created_at AS created_at_14, t0.updated_at AS updated_at_15, t0.status_id AS status_id_16, t0.priority_id AS priority_id_17, t0.type_id AS type_id_18, t0.customer_id AS customer_id_19, t0.agent_id AS agent_id_20, t0.group_id AS group_id_21, t0.subGroup_id AS subGroup_id_22 FROM uv_ticket t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  2307
]
0.27 ms
(0.82%)
1
INSERT INTO uv_thread (source, message_id, thread_type, created_by, cc, bcc, reply_to, delivery_status, is_locked, is_bookmarked, message, created_at, updated_at, agent_viewed_at, customer_viewed_at, ticket_id, user_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => "api"
  2 => "<me538n1mzak4b55n9s93@localhost>"
  3 => "create"
  4 => "customer"
  5 => "N;"
  6 => "N;"
  7 => "N;"
  8 => null
  9 => 0
  10 => 0
  11 => "Hello"
  12 => "2026-04-02 08:04:15"
  13 => "2026-04-02 08:04:15"
  14 => null
  15 => null
  16 => 2307
  17 => 2201
]
0.23 ms
(0.72%)
1
INSERT INTO agent_activity (agent_name, customer_name, thread_type, created_at, agent_id, ticket_id) VALUES (?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => "agent"
  2 => "Dmitri Anfilatov"
  3 => "create"
  4 => "2026-04-02 08:04:15"
  5 => 2201
  6 => 2307
]
0.22 ms
(0.69%)
1
SELECT t0.id AS id_1, t0.code AS code_2, t0.description AS description_3 FROM uv_support_role t0 WHERE t0.code = ? LIMIT 1
Parameters:
[
  "ROLE_CUSTOMER"
]
0.21 ms
(0.66%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.token AS token_3, t0.created_on AS created_on_4, t0.is_enabled AS is_enabled_5, t0.is_expired AS is_expired_6, t0.user_id AS user_id_7 FROM uv_api_access_credentials t0 WHERE t0.user_id = ? AND t0.token = ? LIMIT 1
Parameters:
[
  1
  "KVTKPATJ9NYABQGFGKBMFLF9QROE07ERDMJGR61Q86MEQGPZDKAORJFGV5VG4X18"
]
0.21 ms
(0.64%)
1
INSERT INTO uv_user_instance (source, skype_id, contact_number, designation, signature, profile_image_path, created_at, updated_at, is_active, is_verified, is_starred, ticket_access_level, user_id, supportRole_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => "api"
  2 => null
  3 => null
  4 => null
  5 => null
  6 => null
  7 => "2026-04-02 08:04:15"
  8 => "2026-04-02 08:04:15"
  9 => 1
  10 => 0
  11 => 0
  12 => null
  13 => 2201
  14 => 4
]
0.20 ms
(0.61%)
1
SELECT t0.id AS id_1, t0.email AS email_2, t0.proxy_id AS proxy_id_3, t0.password AS password_4, t0.first_name AS first_name_5, t0.last_name AS last_name_6, t0.is_enabled AS is_enabled_7, t0.verification_code AS verification_code_8, t0.timezone AS timezone_9, t0.timeformat AS timeformat_10 FROM uv_user t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  1
]
0.17 ms
(0.54%)
1
SELECT u0_.email AS email_0 FROM uv_user u0_ WHERE u0_.id = ?
Parameters:
[
  "5"
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

Class Mapping errors
Webkul\UVDesk\ApiBundle\Entity\ApiAccessCredential No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\User No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\UserInstance No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportRole No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\EmailTemplates No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\SavedFilters No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportPrivilege No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportTeam No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportGroup No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\Website No errors.
Webkul\UVDesk\AutomationBundle\Entity\Workflow
  • The mappings Webkul\UVDesk\AutomationBundle\Entity\Workflow#workflowEvents and Webkul\UVDesk\AutomationBundle\Entity\WorkflowEvents#workflow are inconsistent with each other.
Webkul\UVDesk\AutomationBundle\Entity\WorkflowEvents
  • The association Webkul\UVDesk\AutomationBundle\Entity\WorkflowEvents#workflow refers to the inverse side field Webkul\UVDesk\AutomationBundle\Entity\Workflow#WorkflowEvents which does not exist.
Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketType No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketStatus No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketPriority No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\Ticket
  • The association Webkul\UVDesk\CoreFrameworkBundle\Entity\Ticket#supportGroup refers to the inverse side field Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportGroup#tickets which does not exist.
Webkul\UVDesk\CoreFrameworkBundle\Entity\Thread No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketRating No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\Tag
  • The field Webkul\UVDesk\CoreFrameworkBundle\Entity\Tag#tickets is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Webkul\UVDesk\CoreFrameworkBundle\Entity\Ticket#supportTags does not contain the required 'inversedBy="tickets"' attribute.
Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportLabel No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\AgentActivity No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\Attachment No errors.