{"Timestamp":"2026-09-17T04:56:58.2502919+00:00","Level":"Information","Data":{"EventId":285690698},"Message":"Notification event with message ID 1852e815b96c3000 received: {\"TemplateId\":19,\"EventType\":\"work_permit_v2.action_required\",\"Channel\":3,\"Version\":1,\"Subject\":\"\",\"Recipients\":{\"ToRecipients\":[\"+915555559620\"],\"CcRecipients\":null},\"Variables\":{\"Id\":\"963\",\"Uid\":\"WP/NEVEU/IRON/GAW/26/00001\",\"OrganisationId\":\"264\",\"organisation_id\":\"264\",\"SiteId\":\"845\",\"site_id\":\"845\",\"DueDate\":\"\",\"due_date\":\"\",\"StartDate\":\"9/17/2026 12:30:00 AM\",\"start_date\":\"9/17/2026 12:30:00 AM\",\"EndDate\":\"9/16/2026 6:30:00 PM\",\"end_date\":\"9/16/2026 6:30:00 PM\",\"WorkPermitState\":\"Requested\",\"work_permit_state\":\"Requested\",\"WorkPermitStateTypeId\":\"218\",\"work_permit_state_type_id\":\"218\",\"CreatedOn\":\"9/17/2026 4:56:35 AM\",\"created_on\":\"9/17/2026 4:56:35 AM\",\"ModifiedOn\":\"9/17/2026 4:56:35 AM\",\"modified_on\":\"9/17/2026 4:56:35 AM\",\"CreatedBy\":\"Giselle Angle\",\"created_by\":\"678\",\"ModifiedBy\":\"678\",\"modified_by\":\"678\",\"Status\":\"Requested\",\"EntityType\":\"work_permit_v2\",\"entityType\":\"work_permit_v2\",\"EventType\":\"\",\"eventType\":\"\",\"TemplateId\":\"19\",\"templateId\":\"19\",\"id\":\"963\",\"UID\":\"WP/NEVEU/IRON/GAW/26/00001\",\"uid\":\"WP/NEVEU/IRON/GAW/26/00001\",\"createdOn\":\"9/17/2026 4:56:35 AM\",\"CategoryId\":\"177\",\"categoryId\":\"177\",\"organisationId\":\"264\",\"siteId\":\"845\",\"Description\":\"\",\"description\":\"\",\"status\":\"Requested\",\"State\":\"Requested\",\"state\":\"Requested\",\"CreatedById\":\"678\",\"createdById\":\"678\",\"ReportedById\":\"\",\"reportedById\":\"\",\"InitiatedById\":\"\",\"initiatedById\":\"\",\"CategoryName\":\"Gas Area Work Permit\",\"categoryName\":\"Gas Area Work Permit\",\"OrganisationName\":\"Neveu\",\"organisationName\":\"Neveu\",\"SiteName\":\"Beaverdam\",\"siteName\":\"Beaverdam\",\"createdBy\":\"Giselle Angle\",\"ReportedBy\":\"Giselle Angle\",\"reportedBy\":\"Giselle Angle\",\"InitiatedBy\":\"Giselle Angle\",\"initiatedBy\":\"Giselle Angle\",\"DisplayName\":\"Becky Benz\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/963?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\",\"categoryNames\":\"Gas Area Work Permit\",\"workPermitType\":\"Gas Area Work Permit\",\"UserName\":\"Becky Benz\",\"userName\":\"Becky Benz\"},\"AttachmentUrl\":null,\"AttachmentFilename\":null}"}

{"Timestamp":"2026-09-17T04:56:58.2529221+00:00","Level":"Information","Data":{"EventId":2854975046},"Message":"Started dispatching notification for message ID 1852e815b96c3000"}

{"Timestamp":"2026-09-17T04:56:58.2529593+00:00","Level":"Information","Data":{"EventId":4091525018},"Message":"Looking up template for message ID 1852e815b96c3000"}

{"Timestamp":"2026-09-17T04:56:58.2559156+00:00","Level":"Information","Data":{"EventId":1058644153},"Message":"Found template ID 19 for message ID 1852e815b96c3000"}

{"Timestamp":"2026-09-17T04:56:58.2559473+00:00","Level":"Information","Data":{"EventId":3895159934},"Message":"Searching for sender for message ID 1852e815b96c3000"}

{"Timestamp":"2026-09-17T04:56:58.2559559+00:00","Level":"Information","Data":{"EventId":2191417796},"Message":"WhatsappChannel: Preparing dispatch. EntityType=work_permit_v2, EventType=work_permit_v2.action_required, Recipients=1"}

{"Timestamp":"2026-09-17T04:56:58.2559607+00:00","Level":"Information","Data":{"EventId":4194523077},"Message":"WhatsappChannel: Template validation - DONE."}

{"Timestamp":"2026-09-17T04:56:58.2559671+00:00","Level":"Information","Data":{"EventId":1447056617},"Message":"WhatsappChannel: Resolve parameters - DONE."}

{"Timestamp":"2026-09-17T04:56:58.2559702+00:00","Level":"Information","Data":{"EventId":2815105104},"Message":"WhatsappChannel: Sending to receivers - IN PROGRESS."}

{"Timestamp":"2026-09-17T04:56:58.2559856+00:00","Level":"Information","Data":{"EventId":1551652284},"Message":"WhatsappChannel: Sending to +915555559620. Template=oqsha_work_permit_v2_action_required, Namespace=d8bcb6bd_2ab2_439c_9d9e_947501266c77"}

{"Timestamp":"2026-09-17T04:56:58.2560616+00:00","Level":"Information","Data":{"EventId":1806308095},"Message":"WhatsappChannel: Whatsapp payload {\"ProviderId\":48,\"Data\":{\"To\":\"915555559620\",\"Type\":\"template\",\"Template\":{\"Namespace\":\"d8bcb6bd_2ab2_439c_9d9e_947501266c77\",\"Name\":\"oqsha_work_permit_v2_action_required\",\"Language\":{\"Policy\":\"deterministic\",\"Code\":\"en\"},\"Components\":[{\"Type\":\"body\",\"Parameters\":[{\"Type\":\"text\",\"Text\":\"Becky Benz\",\"Document\":null},{\"Type\":\"text\",\"Text\":\"Neveu\",\"Document\":null},{\"Type\":\"text\",\"Text\":\"WP/NEVEU/IRON/GAW/26/00001\",\"Document\":null},{\"Type\":\"text\",\"Text\":\"Giselle Angle\",\"Document\":null},{\"Type\":\"text\",\"Text\":\"Beaverdam\",\"Document\":null},{\"Type\":\"text\",\"Text\":\"Gas Area Work Permit\",\"Document\":null},{\"Type\":\"text\",\"Text\":\"Requested\",\"Document\":null},{\"Type\":\"text\",\"Text\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/963?dlType=viewWorkPermitV2\",\"Document\":null},{\"Type\":\"text\",\"Text\":\"OQSHA Team\",\"Document\":null}]}]},\"messaging_product\":\"whatsapp\"}."}

{"Timestamp":"2026-09-17T04:56:58.3134449+00:00","Level":"Information","Data":{"EventId":3459630558},"Message":"WhatsappChannel: Dispatched successfully to +915555559620. StatusCode=201"}

{"Timestamp":"2026-09-17T04:56:58.3135035+00:00","Level":"Information","Data":{"EventId":2004494335},"Message":"Notification dispatched successfully for message ID 1852e815b96c3000"}

