### Started process for Execution of Event : UPDATE_INCIDENT_NOTIFICATION ###


### Started processing for Update incident Event ###


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:21334


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Ticket Safety Alert has been updated


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:21334


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00107"},{"type":"text","text":"Safety Alert status updated to Assigned"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21334?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"786"},{"Key":"ApproverIds","Value":"[2161]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00015"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


### Started process for Execution of Event : NOTIFICATION_FOR_MOC_CREATION ###


# Calling SendNotificationForMocCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to MOC approvers


Sending MOC creation email to: xyz.p@osmosys.co


Initializing Email Service Client


Generating Email Request


New MOC Assigned

This is a test mode notification. Notification was not delivered to recipient.


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Sending MOC creation WhatsApp message to: 91123456789


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91123456789","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"testinguser portal"},{"type":"text","text":"M/APR/16J/NSM/25/00015"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/786?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"787"},{"Key":"ApproverIds","Value":"[1326]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00016"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


Sending MOC creation email to: bishal.m@osmosys.co


New MOC Assigned


Sending MOC creation WhatsApp message to: 917003236045


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917003236045","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"M/APR/16J/NSM/25/00016"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/787?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


### End Event Execution ###


### Start Notification Sender Program.cs Execution ###


### Calling ConfigureService.Configure() function ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1597"},{"Key":"ApproverName","Value":"Sayan Mondal"},{"Key":"WorkPermitId","Value":"308"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00101"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"23-Sep-2025 10:31:32 PM"},{"Key":"OrgId","Value":387}]}


### Started process for Execution of Event : WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION ###


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


Executing email notifications to WorkPermit Creator about the approval by an Approver


Sending WorkPermit Approver Clarification email to WorkPermit Creator: sayanm2807@gmail.com


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Sayan Mondal has Approved your Work Permit


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Executing whatsapp notifications to WorkPermit Creator about the approval by an Approver


Sending WhatsApp for WorkPermit to user: 1597


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_approved_inform_to","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"WP/TTK/COI/HOK/25/00101"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"23-Sep-2025 10:31:32 PM"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/308&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"788"},{"Key":"ApproverIds","Value":"[2209,2127]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00017"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


### Started process for Execution of Event : NOTIFICATION_FOR_MOC_CREATION ###


# Calling SendNotificationForMocCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to MOC approvers


Sending MOC creation email to: jayani.s@osmosys.co


New MOC Assigned


Sending MOC creation WhatsApp message to: 918810674693


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918810674693","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Jayani Sehgal"},{"type":"text","text":"M/APR/16J/NSM/25/00017"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/788?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Sending MOC creation email to: lakhan.b@osmosys.co


Initializing Email Service Client


Generating Email Request


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Sending MOC creation WhatsApp message to: 918885857714


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918885857714","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lakhan Baduree"},{"type":"text","text":"M/APR/16J/NSM/25/00017"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/788?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Notification Sender Program.cs Execution ###


### Calling ConfigureService.Configure() function ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"789"},{"Key":"ApproverIds","Value":"[1482]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00018"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


Sending MOC creation email to: kumarsamarjeet.19@gmail.com


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


New MOC Assigned


Sending MOC creation WhatsApp message to: 918249683426


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918249683426","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"M/APR/16J/NSM/25/00018"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/789?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"790"},{"Key":"ApproverIds","Value":"[2127]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00019"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


### Started process for Execution of Event : NOTIFICATION_FOR_MOC_CREATION ###


# Calling SendNotificationForMocCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to MOC approvers


Sending MOC creation email to: jayani.s@osmosys.co


Initializing Email Service Client


Generating Email Request


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Sending MOC creation WhatsApp message to: 918810674693


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918810674693","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Jayani Sehgal"},{"type":"text","text":"M/APR/16J/NSM/25/00019"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/790?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"791"},{"Key":"ApproverIds","Value":"[2127]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00020"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


New MOC Assigned


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918810674693","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Jayani Sehgal"},{"type":"text","text":"M/APR/16J/NSM/25/00020"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/791?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"792"},{"Key":"ApproverIds","Value":"[2209]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00021"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


Sending MOC creation email to: lakhan.b@osmosys.co


Sending MOC creation WhatsApp message to: 918885857714


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918885857714","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lakhan Baduree"},{"type":"text","text":"M/APR/16J/NSM/25/00021"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/792?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


### Started process for Execution of Event : NOTIFICATION_FOR_WORK_PERMIT_CREATION ###


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: rajkumar.p@osmosys.co


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 919160948627


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"WP/TTK/COI/HOK/25/00101"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/308&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending WorkPermit creation email to: sayanm2807@gmail.com


Sending WorkPermit creation WhatsApp message to: 918967697371


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"WP/TTK/COI/HOK/25/00101"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/308&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1597"},{"Key":"ApproverName","Value":"Sayan Mondal"},{"Key":"WorkPermitId","Value":"308"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00101"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"23-Sep-2025 11:20:23 PM"},{"Key":"OrgId","Value":387}]}


### Started process for Execution of Event : WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION ###


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


Executing email notifications to WorkPermit Creator about the approval by an Approver


Sending WorkPermit Approver Clarification email to WorkPermit Creator: sayanm2807@gmail.com


Initializing Email Service Client


Generating Email Request


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Executing whatsapp notifications to WorkPermit Creator about the approval by an Approver


Sending WhatsApp for WorkPermit to user: 1597


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_approved_inform_to","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"WP/TTK/COI/HOK/25/00101"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"23-Sep-2025 11:20:23 PM"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/308&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"793"},{"Key":"ApproverIds","Value":"[1482]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00022"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


### Started process for Execution of Event : NOTIFICATION_FOR_MOC_CREATION ###


# Calling SendNotificationForMocCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to MOC approvers


Sending MOC creation email to: kumarsamarjeet.19@gmail.com


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


New MOC Assigned


Sending MOC creation WhatsApp message to: 918249683426


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918249683426","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"M/APR/16J/NSM/25/00022"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/793?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1597"},{"Key":"ApproverName","Value":"Raj Kumar Pativada"},{"Key":"WorkPermitId","Value":"308"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00101"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"23-Sep-2025 11:20:57 PM"},{"Key":"OrgId","Value":387}]}


### Started process for Execution of Event : WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION ###


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


Executing email notifications to WorkPermit Creator about the approval by an Approver


Sending WorkPermit Approver Clarification email to WorkPermit Creator: sayanm2807@gmail.com


Initializing Email Service Client


Generating Email Request


Raj Kumar Pativada has Approved your Work Permit


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Executing whatsapp notifications to WorkPermit Creator about the approval by an Approver


Sending WhatsApp for WorkPermit to user: 1597


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_approved_inform_to","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"WP/TTK/COI/HOK/25/00101"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"23-Sep-2025 11:20:57 PM"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/308&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"794"},{"Key":"ApproverIds","Value":"[2127]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00023"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


### Started process for Execution of Event : NOTIFICATION_FOR_MOC_CREATION ###


# Calling SendNotificationForMocCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to MOC approvers


Sending MOC creation email to: jayani.s@osmosys.co


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


New MOC Assigned


Sending MOC creation WhatsApp message to: 918810674693


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918810674693","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Jayani Sehgal"},{"type":"text","text":"M/APR/16J/NSM/25/00023"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/794?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"795"},{"Key":"ApproverIds","Value":"[2209]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00024"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


Sending MOC creation email to: lakhan.b@osmosys.co


Initializing Email Service Client


Generating Email Request


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Sending MOC creation WhatsApp message to: 918885857714


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918885857714","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lakhan Baduree"},{"type":"text","text":"M/APR/16J/NSM/25/00024"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/795?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"796"},{"Key":"ApproverIds","Value":"[2127]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00025"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918810674693","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Jayani Sehgal"},{"type":"text","text":"M/APR/16J/NSM/25/00025"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/796?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"797"},{"Key":"ApproverIds","Value":"[2127]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00026"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


New MOC Assigned


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918810674693","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Jayani Sehgal"},{"type":"text","text":"M/APR/16J/NSM/25/00026"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/797?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


### Start Notification Sender Program.cs Execution ###


### Calling ConfigureService.Configure() function ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"798"},{"Key":"ApproverIds","Value":"[2209]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00027"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


### Started process for Execution of Event : NOTIFICATION_FOR_MOC_CREATION ###


# Calling SendNotificationForMocCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to MOC approvers


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918885857714","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lakhan Baduree"},{"type":"text","text":"M/APR/16J/NSM/25/00027"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/798?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"799"},{"Key":"ApproverIds","Value":"[2127]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00028"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


Sending MOC creation email to: jayani.s@osmosys.co


New MOC Assigned


Sending MOC creation WhatsApp message to: 918810674693


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918810674693","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Jayani Sehgal"},{"type":"text","text":"M/APR/16J/NSM/25/00028"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/799?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"800"},{"Key":"ApproverIds","Value":"[1482]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00029"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


Sending MOC creation email to: kumarsamarjeet.19@gmail.com


Sending MOC creation WhatsApp message to: 918249683426


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918249683426","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"M/APR/16J/NSM/25/00029"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/800?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"801"},{"Key":"ApproverIds","Value":"[1482]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00030"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


Initializing Email Service Client


Generating Email Request


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918249683426","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"M/APR/16J/NSM/25/00030"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/801?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[2]"},{"Key":"InspectionUID","Value":"I/TTK/COI/ICT/25/00007"},{"Key":"Name","Value":"todays test"},{"Key":"Type","Value":"Inspection Checks Type"},{"Key":"Organisation","Value":"TTK Beta - QA"},{"Key":"Site","Value":"Coimbatore"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":""},{"Key":"Status","Value":"Draft"},{"Key":"CreatedBy","Value":"Sayan Mondal"},{"Key":"CreatedOn","Value":"23-Sep-2025 11:44:29 PM"}]}


### Started process for Execution of Event : NOTIFICATION_FOR_INSPECTION_CREATION ###


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user2


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919848676679","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Srinivas Medida"},{"type":"text","text":"I/TTK/COI/ICT/25/00007"},{"type":"text","text":"todays test"},{"type":"text","text":"Inspection Checks Type"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Coimbatore"},{"type":"text","text":" "},{"type":"text","text":""},{"type":"text","text":"Draft"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"23-Sep-2025 11:44:29 PM"}]}]}}}


Executing email notifications to Users about inspection creation


### Start Event Execution ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21333},{"Key":"IncidentHistoryId","Value":8766},{"Key":"IsTicketAssigned","Value":false}]}


### Started process for Execution of Event : UPDATE_INCIDENT_NOTIFICATION ###


### Started processing for Update incident Event ###


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:21333


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Ticket Ticket has been updated


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:21333


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/DCC/25/00017"},{"type":"text","text":"Comments are added as hi"},{"type":"text","text":"Ticket"},{"type":"text","text":" "},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Dancing Category"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/21333?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"916545654656546","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"sephali"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/DCC/25/00017"},{"type":"text","text":"Comments are added as hi"},{"type":"text","text":"Ticket"},{"type":"text","text":" "},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Dancing Category"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/21333?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"915566778899","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"a b"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/DCC/25/00017"},{"type":"text","text":"Comments are added as hi"},{"type":"text","text":"Ticket"},{"type":"text","text":" "},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Dancing Category"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/21333?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/DCC/25/00017"},{"type":"text","text":"Comments are added as hi"},{"type":"text","text":"Ticket"},{"type":"text","text":" "},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Dancing Category"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/21333?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[898]"},{"Key":"InspectionUID","Value":"I/APR/abd/ATI/25/00033"},{"Key":"Name","Value":"Osmosys Inspection NEW"},{"Key":"Type","Value":"Assigned to inspection"},{"Key":"Organisation","Value":"Aparna Constructions"},{"Key":"Site","Value":"Aparna New Site"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":""},{"Key":"Status","Value":"Draft"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"CreatedOn","Value":"23-Sep-2025 11:57:51 PM"}]}


### Started process for Execution of Event : NOTIFICATION_FOR_INSPECTION_CREATION ###


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user898


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"sephali kumari"},{"type":"text","text":"I/APR/abd/ATI/25/00033"},{"type":"text","text":"Osmosys Inspection NEW"},{"type":"text","text":"Assigned to inspection"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":""},{"type":"text","text":"Draft"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"23-Sep-2025 11:57:51 PM"}]}]}}}


Executing email notifications to Users about inspection creation


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_UPDATE","EventArgs":[{"Key":"StringIssuerIds","Value":"[898]"},{"Key":"InspectionUID","Value":"I/APR/abd/ATI/25/00033"},{"Key":"Name","Value":"Osmosys Inspection NEW"},{"Key":"Site","Value":"Aparna New Site"},{"Key":"InspectedBy","Value":"Raj Kumar Pativada"},{"Key":"InspectedOn","Value":"23-Sep-2025 11:57:51 PM"},{"Key":"InspectionId","Value":"1487"}]}


### Started process for Execution of Event : NOTIFICATION_FOR_INSPECTION_UPDATE ###


# Calling SendNotificationForInspectionUpdate function for whatsapp and push notification #


Sending notifications for inspection status update to associated user898


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_assigned_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"sephali kumari"},{"type":"text","text":"I/APR/abd/ATI/25/00033"},{"type":"text","text":"Osmosys Inspection NEW"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"23-Sep-2025 11:57:51 PM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/inspection/view/1487"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing email notifications to Users about inspection update


### Started process for Execution of Event : INCIDENT_SUBMITTED_NOTIFICATION ###


### Started processing for Incident Submitted Event ###


Executing email notifications to Incident Approvers about the Pending approval


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A new incident has been reported


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 1761


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_submitted_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"IMF/TTK/COI/FAO/25/00012"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"23-Sep-2025 06:00:00 AM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"NA"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/454"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_submitted_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"IMF/TTK/COI/TIT/25/00040"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"24-Sep-2025 06:00:00 AM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Having an incident"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/455"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[2]"},{"Key":"InspectionUID","Value":"I/TTK/COI/ICT/25/00008"},{"Key":"Name","Value":"QA inspection"},{"Key":"Type","Value":"Inspection Checks Type"},{"Key":"Organisation","Value":"TTK Beta - QA"},{"Key":"Site","Value":"Coimbatore"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":""},{"Key":"Status","Value":"Planned"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"CreatedOn","Value":"24-Sep-2025 12:32:33 AM"}]}


### Started process for Execution of Event : NOTIFICATION_FOR_INSPECTION_CREATION ###


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user2


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919848676679","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Srinivas Medida"},{"type":"text","text":"I/TTK/COI/ICT/25/00008"},{"type":"text","text":"QA inspection"},{"type":"text","text":"Inspection Checks Type"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Coimbatore"},{"type":"text","text":" "},{"type":"text","text":""},{"type":"text","text":"Planned"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"24-Sep-2025 12:32:33 AM"}]}]}}}


Executing email notifications to Users about inspection creation


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_ASSIGNEES","EventArgs":[{"Key":"UserIds","Value":"[1761]"},{"Key":"InspectionUID","Value":"I/TTK/COI/ICT/25/00008"},{"Key":"Name","Value":"QA inspection"},{"Key":"Type","Value":"Inspection Checks Type"},{"Key":"Site","Value":"Coimbatore"},{"Key":"Status","Value":"Planned"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"CreatedOn","Value":"24-Sep-2025 12:32:33 AM"},{"Key":"InspectionId","Value":"1488"}]}


### Started process for Execution of Event : NOTIFICATION_FOR_INSPECTION_ASSIGNEES ###


Sending notifications for inspection creation to associated user1761


Executing email notifications to Assignee Users about inspection creation


### Started process for Execution of Event : INCIDENT_SUBMITTED_NOTIFICATION ###


### Started processing for Incident Submitted Event ###


Executing email notifications to Incident Approvers about the Pending approval


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A new incident has been reported


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 1761


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_submitted_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"IMF/TTK/HOS/TIT/25/00002"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"24-Sep-2025 06:00:00 AM"},{"type":"text","text":"Hosur"},{"type":"text","text":"NA"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/456"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


### Started process for Execution of Event : ADD_APP_USER_WITH_CONSENT ###


### Started Event for Add App User Consent Whatsapp ###


Twilio WhatsApp Message has been Sent


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"803"},{"Key":"ApproverIds","Value":"[2127]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00032"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


### Started process for Execution of Event : NOTIFICATION_FOR_MOC_CREATION ###


# Calling SendNotificationForMocCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to MOC approvers


Sending MOC creation email to: jayani.s@osmosys.co


Initializing Email Service Client


Generating Email Request


New MOC Assigned


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Sending MOC creation WhatsApp message to: 918810674693


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918810674693","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Jayani Sehgal"},{"type":"text","text":"M/APR/16J/NSM/25/00032"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/803?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ADD_APP_USER_WITH_CONSENT","EventArgs":[{"Key":"DisplayName","Value":"Testing consent twsr"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":""},{"Key":"UserId","Value":"2556"},{"Key":"OrgId","Value":"387"},{"Key":"Email","Value":""},{"Key":"MobileNumber","Value":"+918958884846"}]}


Twilio WhatsApp Message has been Sent


Message : {"EventName":"ADD_APP_USER_WITH_CONSENT","EventArgs":[{"Key":"DisplayName","Value":"Test user"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":""},{"Key":"UserId","Value":"2557"},{"Key":"OrgId","Value":"387"},{"Key":"Email","Value":""},{"Key":"MobileNumber","Value":"+91895884846"}]}


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"804"},{"Key":"ApproverIds","Value":"[1482]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00033"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


Sending MOC creation email to: kumarsamarjeet.19@gmail.com


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New MOC Assigned


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Sending MOC creation WhatsApp message to: 918249683426


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918249683426","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"M/APR/16J/NSM/25/00033"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/804?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"805"},{"Key":"ApproverIds","Value":"[2209]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00034"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


Sending MOC creation email to: lakhan.b@osmosys.co


Sending MOC creation WhatsApp message to: 918885857714


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918885857714","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lakhan Baduree"},{"type":"text","text":"M/APR/16J/NSM/25/00034"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/805?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"806"},{"Key":"ApproverIds","Value":"[1482]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00035"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


### Started process for Execution of Event : NOTIFICATION_FOR_MOC_CREATION ###


# Calling SendNotificationForMocCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to MOC approvers


Initializing Email Service Client


Generating Email Request


New MOC Assigned


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918249683426","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"M/APR/16J/NSM/25/00035"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/806?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"807"},{"Key":"ApproverIds","Value":"[2209]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00036"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918885857714","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lakhan Baduree"},{"type":"text","text":"M/APR/16J/NSM/25/00036"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/807?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"808"},{"Key":"ApproverIds","Value":"[1482]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00037"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


Sending MOC creation email to: kumarsamarjeet.19@gmail.com


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Sending MOC creation WhatsApp message to: 918249683426


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918249683426","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"M/APR/16J/NSM/25/00037"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/808?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


### Started process for Execution of Event : INCIDENT_SUBMITTED_NOTIFICATION ###


### Started processing for Incident Submitted Event ###


Executing email notifications to Incident Approvers about the Pending approval


Initializing Email Service Client


Generating Email Request


A new incident has been reported


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 898


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_submitted_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"sephali kumari"},{"type":"text","text":"IMF/TTK/COI/FAO/25/00013"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"24-Sep-2025 12:00:00 AM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"NA"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/459"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_submitted_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"sephali kumari"},{"type":"text","text":"IMF/TTK/COI/FAO/25/00014"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"24-Sep-2025 12:00:00 AM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"test signature 24th sept"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/460"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Started process for Execution of Event : INVESTIGATION_SUBMITTED_NOTIFICATION ###


### Started processing for Investigation Submitted Event ###


Executing email notifications to Investigation Approvers about the Pending approval


You have been assigned to investigate an incident {0} IMF/TTK/COI/TIT/25/00040


Executing whatsapp notifications to Investigation Approvers about the Pending approval


Sending WhatsApp for Investigation Approval to User: 1761


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_investigation_submission_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"IMF/TTK/COI/TIT/25/00040"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"24-Sep-2025 06:00:00 AM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Having an incident"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-investigation/view/188"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Ended processing Investigation Submitted Event ###


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A new incident has been reported


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_submitted_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"sephali kumari"},{"type":"text","text":"IMF/TTK/COI/IAP/25/00023"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"24-Sep-2025 12:00:00 AM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Test pending with me"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/461"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Notification Sender Program.cs Execution ###


### Calling ConfigureService.Configure() function ###


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Raj Kumar Pativada"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Delhi, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, TTK PWA, Ttk Pwa Site, Venkatanarasimharajuvaripeta"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"rajkumar.p@osmosys.co"}]}


### Started process for Execution of Event : Update_USER ###


### Started Event for Update User Email ###


Calling Send Email Function for Update User Email


Your OQSHA Access Has Been Updated


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Raj Kumar Pativada"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":"9160948627"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Delhi, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, TTK PWA, Ttk Pwa Site, Venkatanarasimharajuvaripeta"},{"Key":"Email","Value":"rajkumar.p@osmosys.co"},{"Key":"MobileNumber","Value":"+919160948627"}]}


### Started process for Execution of Event : Update_APP_USER ###


### Started Event for Update App User Email ###


Initializing Email Service Client


Generating Email Request


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Message : {"EventName":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[61399]"},{"Key":"BatchId","Value":6455}]}


### Started process for Execution of Event : WHATSAPP_TO_BATCH_PARTICIPANTS ###


# Calling SendNotificationToBatchParticipants function for  whatsapp notification #


Executing completed course notification function to batch participants


Executing planned/Inprogress notification function to batch participants


Sending notification to batch participant for planned and in progress status1


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_planned_batch_latest_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TR1"},{"type":"text","text":"Core Safety & Health Trainings"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"0 Week(s) 0 Day(s) 5 Hour(s)"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"September 24, 2025  12:05:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/batches/view/387/397/6455?dlType=viewBatch"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


### Started process for Execution of Event : INCIDENT_SUBMITTED_NOTIFICATION ###


### Started processing for Incident Submitted Event ###


Executing email notifications to Incident Approvers about the Pending approval


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A new incident has been reported


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 898


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_submitted_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"sephali kumari"},{"type":"text","text":"IMF/TTK/COI/IAP/25/00024"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"24-Sep-2025 12:00:00 AM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"NA"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/462"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Ended processing Incident Submitted Event ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Raj Kumar Pativada"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Delhi, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, TTK PWA, Ttk Pwa Site, Venkatanarasimharajuvaripeta"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"rajkumar.p@osmosys.co"}]}


### Started process for Execution of Event : Update_USER ###


### Started Event for Update User Email ###


Calling Send Email Function for Update User Email


Your OQSHA Access Has Been Updated


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Raj Kumar Pativada"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":"9160948627"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Delhi, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, TTK PWA, Ttk Pwa Site, Venkatanarasimharajuvaripeta"},{"Key":"Email","Value":"rajkumar.p@osmosys.co"},{"Key":"MobileNumber","Value":"+919160948627"}]}


### Started process for Execution of Event : Update_APP_USER ###


### Started Event for Update App User Email ###


Initializing Email Service Client


Generating Email Request


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Message : {"EventName":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[61400]"},{"Key":"BatchId","Value":6456}]}


### Started process for Execution of Event : WHATSAPP_TO_BATCH_PARTICIPANTS ###


# Calling SendNotificationToBatchParticipants function for  whatsapp notification #


Executing completed course notification function to batch participants


Executing planned/Inprogress notification function to batch participants


Sending notification to batch participant for planned and in progress status1


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_planned_batch_latest_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TR1"},{"type":"text","text":"Flutter online"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"2 Week(s) 2 Day(s) 2 Hour(s)"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"September 24, 2025  11:53:00 AM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/batches/view/310/96/6456?dlType=viewBatch"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[61401]"},{"Key":"BatchId","Value":6457}]}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_planned_batch_latest_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"NEWEST BATCH"},{"type":"text","text":"NEWST COURSE"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"0 Week(s) 0 Day(s) 2 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"September 24, 2025  11:59:00 AM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/batches/view/310/429/6457?dlType=viewBatch"}]}]}}}


Message : {"EventName":"ADD_APP_USER_WITH_CONSENT","EventArgs":[{"Key":"DisplayName","Value":"Test Userse"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":""},{"Key":"UserId","Value":"2558"},{"Key":"OrgId","Value":"387"},{"Key":"Email","Value":""},{"Key":"MobileNumber","Value":"+918958884846"}]}


### Started process for Execution of Event : ADD_APP_USER_WITH_CONSENT ###


### Started Event for Add App User Consent Whatsapp ###


Twilio WhatsApp Message has been Sent


Message : {"EventName":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[61402]"},{"Key":"BatchId","Value":6458}]}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_planned_batch_latest_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Nofaulty"},{"type":"text","text":"NEWST COURSE"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"0 Week(s) 0 Day(s) 2 Hour(s)"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"September 24, 2025  12:09:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/batches/view/310/429/6458?dlType=viewBatch"}]}]}}}


### Start Notification Sender Program.cs Execution ###


### Calling ConfigureService.Configure() function ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[2]"},{"Key":"InspectionUID","Value":"I/TTK/COI/ICT/25/00009"},{"Key":"Name","Value":"Inspection at 24th Sept"},{"Key":"Type","Value":"Inspection Checks Type"},{"Key":"Organisation","Value":"TTK Beta - QA"},{"Key":"Site","Value":"Coimbatore"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":""},{"Key":"Status","Value":"Draft"},{"Key":"CreatedBy","Value":"Lalit Aditya Kola"},{"Key":"CreatedOn","Value":"24-Sep-2025 12:18:09 PM"},{"Key":"OrganisationId","Value":387}]}


### Started process for Execution of Event : NOTIFICATION_FOR_INSPECTION_CREATION ###