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


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


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":79560},{"Key":"AssignedToID","Value":2626}]}


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


### Started processing Assigned to Notification Event ###


# Calling SendNotificationToAssignedId function for all types of assigned to notification #


Generating report.


Converted to byte file


PDF generation successfull


Stopped Assigned To SMS as Org Level setting is set to false


Sending Assigned To Whatsapp for IncidentId:79560


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:79560


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/c36e5877-e612-3bb2-b524-be09d870a029


Ticket TW18OS

New ticket is assigned to you in the organisation Galecto Inc.

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


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 863.


Push notification was sent to device with id 4520.


App notification history inserted. HistoryId: 219134, UserId: 2626, NotificationType: INCIDENT_STATUS_UPDATE, ModuleId: 12, ReferenceId: 79560


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/344bc8d5-5a9b-3420-b59e-95bcf167a09d


Ticket TW18OS


Push notification was sent to device with id 5786.


Skipping notification history insertion for DeviceId: 5786, UserId: 2626. History is recorded only for the user's first active device.


### Ended processing Assigned to Notification Event ###


### End Event Execution ###


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


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


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[2620]"},{"Key":"InspectionUID","Value":"I/GLTO/GRR/HIC/26/00001"},{"Key":"Name","Value":"186"},{"Key":"Type","Value":"Housekeeping Inspection Checklist"},{"Key":"Organisation","Value":"Galecto Inc."},{"Key":"Site","Value":"Alanreed"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":" "},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Caroline Su"},{"Key":"CreatedOn","Value":"31-Mar-2026 09:49:25 AM"},{"Key":"OrganisationId","Value":211}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Executing email notifications to Users about inspection creation


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user2620


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001413","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Adyson Toribio"},{"type":"text","text":"I/GLTO/GRR/HIC/26/00001"},{"type":"text","text":"186"},{"type":"text","text":"Housekeeping Inspection Checklist"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Alanreed"},{"type":"text","text":" "},{"type":"text","text":" "},{"type":"text","text":"Inspection requested"},{"type":"text","text":"Caroline Su"},{"type":"text","text":"31-Mar-2026 09:49:25 AM"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing push notification body for inspection creation #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


### 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 user3775


Executing email notifications to Users about inspection update


# Preparing push notification body for inspection update #


# Checking for device existence #


# User device exists #


Sending push notification [NOTIFICATION_FOR_INSPECTION_UPDATE] to user: 3775


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/7e472e3d-6aa5-3aca-9ac2-6c17fcc68ac3


Pending Approval - Inspection UID: I/GLTO/GRR/HIC/26/00001

You have a pending signature for inspection I/GLTO/GRR/HIC/26/00001 at site Alanreed. Please review and sign.


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 945.


Push notification was sent to device with id 26445.


App notification history inserted. HistoryId: 219135, UserId: 3775, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14539


# Push notification sent #


App notification history inserted. HistoryId: 219136, UserId: 3775, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14539


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[2620]"},{"Key":"InspectionUID","Value":"I/GLTO/GRR/BCI/26/00001"},{"Key":"Name","Value":"147"},{"Key":"Type","Value":"Bar Cutting Inspection Checklist"},{"Key":"Organisation","Value":"Galecto Inc."},{"Key":"Site","Value":"Alanreed"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":" "},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Caroline Su"},{"Key":"CreatedOn","Value":"31-Mar-2026 10:52:24 AM"},{"Key":"OrganisationId","Value":211}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Executing email notifications to Users about inspection creation


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user2620


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001413","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Adyson Toribio"},{"type":"text","text":"I/GLTO/GRR/BCI/26/00001"},{"type":"text","text":"147"},{"type":"text","text":"Bar Cutting Inspection Checklist"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Alanreed"},{"type":"text","text":" "},{"type":"text","text":" "},{"type":"text","text":"Inspection requested"},{"type":"text","text":"Caroline Su"},{"type":"text","text":"31-Mar-2026 10:52:24 AM"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing push notification body for inspection creation #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


### 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 user3775


Executing email notifications to Users about inspection update


# Preparing push notification body for inspection update #


# Checking for device existence #


# User device exists #


Sending push notification [NOTIFICATION_FOR_INSPECTION_UPDATE] to user: 3775


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/7e472e3d-6aa5-3aca-9ac2-6c17fcc68ac3


Pending Approval - Inspection UID: I/GLTO/GRR/BCI/26/00001

You have a pending signature for inspection I/GLTO/GRR/BCI/26/00001 at site Alanreed. Please review and sign.


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 945.


Push notification was sent to device with id 26445.


App notification history inserted. HistoryId: 219137, UserId: 3775, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14543


# Push notification sent #


App notification history inserted. HistoryId: 219138, UserId: 3775, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14543


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForInspectionCreation function for whatsapp and email notification #


Executing email notifications to Inspection Completion


Sending Inspection Completion notification email to user: osm00132@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Flow Completed for I/KURA/FD1/WII/26/00007


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


--- Email response from Osmo-x is 201


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator11127


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:14548


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/1675c629-2df5-3f9e-ab12-e2fc3d26936e


Inspection Completed: Testing

Inspection Flow Completed for I/KURA/FD1/WII/26/00007 in the site Morgan's Point Resort


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 892.


Push notification was sent to device with id 26098.


App notification history inserted. HistoryId: 219139, UserId: 11127, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 14548


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForInspectionCreation function for whatsapp and email notification #


Executing email notifications to Inspection Completion


Sending Inspection Completion notification email to user: TITAGARH_BHA_SO@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Flow Completed for I/KURA/FD1/WII/26/00006


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


--- Email response from Osmo-x is 201


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator4206


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:14547


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/d167d3fa-161f-372d-aee5-c5fd4b2c8223


Inspection Completed: ghhjnn

Inspection Flow Completed for I/KURA/FD1/WII/26/00006 in the site Morgan's Point Resort


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 825.


Push notification was sent to device with id 26169.


App notification history inserted. HistoryId: 219140, UserId: 4206, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 14547


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/3e8d96a2-68b4-3bf6-b270-5d6a17be156a


Inspection Completed: ghhjnn


Push notification was sent to device with id 26171.


Skipping notification history insertion for DeviceId: 26171, UserId: 4206. History is recorded only for the user's first active device.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForInspectionCreation function for whatsapp and email notification #


Executing email notifications to Inspection Completion


Sending Inspection Completion notification email to user: osm00132@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Flow Completed for I/KURA/FD1/DII/26/00001


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


--- Email response from Osmo-x is 201


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator11127


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:14549


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/1675c629-2df5-3f9e-ab12-e2fc3d26936e


Inspection Completed: twst

Inspection Flow Completed for I/KURA/FD1/DII/26/00001 in the site Morgan's Point Resort


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 889.


Push notification was sent to device with id 26098.


App notification history inserted. HistoryId: 219141, UserId: 11127, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 14549


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":11127},{"Key":"InspectionUID","Value":"I/KURA/FD1/DII/26/00002"},{"Key":"Name","Value":"Polishing inspection"},{"Key":"Type","Value":"Daily Inspections"},{"Key":"Site","Value":"Morgan's Point Resort"},{"Key":"Status","Value":"Verified"},{"Key":"CreatedOn","Value":"31-Mar-2026 04:53:53 PM"},{"Key":"InspectionId","Value":"14550"},{"Key":"OrganisationId","Value":258}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and email notification #


Executing email notifications to Inspection Completion


Sending Inspection Completion notification email to user: osm00132@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Flow Completed for I/KURA/FD1/DII/26/00002


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


--- Email response from Osmo-x is 201


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator11127


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:14550


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/1675c629-2df5-3f9e-ab12-e2fc3d26936e


Inspection Completed: Polishing inspection

Inspection Flow Completed for I/KURA/FD1/DII/26/00002 in the site Morgan's Point Resort


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 905.


Push notification was sent to device with id 26098.


App notification history inserted. HistoryId: 219142, UserId: 11127, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 14550


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


# Preparing notification body #


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_ASSIGNEES","EventArgs":[{"Key":"UserIds","Value":"[4206,11127]"},{"Key":"InspectionUID","Value":"I/KURA/FD1/DII/26/00004"},{"Key":"Name","Value":"new assign to"},{"Key":"Type","Value":"Daily Inspections"},{"Key":"Site","Value":"Morgan's Point Resort"},{"Key":"Status","Value":"Planned"},{"Key":"CreatedBy","Value":"Deonta Soukup"},{"Key":"CreatedOn","Value":"31-Mar-2026 05:40:02 PM"},{"Key":"InspectionId","Value":"14553"},{"Key":"OrganisationId","Value":258}]}


Sending Inspection Assignee WhatsApp notification to user:11127


Osmo-x WhatsApp Message has been Sent


Sending Inspection Assignee creation email to user: osm00132@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Assigned: I/KURA/FD1/DII/26/00004 - A new inspection has been assigned to you


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


--- Email response from Osmo-x is 201


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:14553


Generating AWS SNS Request


Inspection Assigned: new assign to

Inspection with UID I/KURA/FD1/DII/26/00004 has been assigned to you in the site Morgan's Point Resort


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 914.


App notification history inserted. HistoryId: 219143, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14553


# Push notification sent #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/1675c629-2df5-3f9e-ab12-e2fc3d26936e


Inspection Assigned: new assign to


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


Push notification was sent to device with id 26098.


App notification history inserted. HistoryId: 219144, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14553


App notification history inserted. HistoryId: 219145, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14553


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":4206},{"Key":"InspectionUID","Value":"I/KURA/FD1/DII/26/00004"},{"Key":"Name","Value":"new assign to"},{"Key":"Type","Value":"Daily Inspections"},{"Key":"Site","Value":"Morgan's Point Resort"},{"Key":"Status","Value":"Verified"},{"Key":"CreatedOn","Value":"31-Mar-2026 05:40:02 PM"},{"Key":"InspectionId","Value":"14553"},{"Key":"OrganisationId","Value":258}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and email notification #


Executing email notifications to Inspection Completion


Sending Inspection Completion notification email to user: TITAGARH_BHA_SO@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Flow Completed for I/KURA/FD1/DII/26/00004


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


--- Email response from Osmo-x is 201


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator4206


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:14553


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/d167d3fa-161f-372d-aee5-c5fd4b2c8223


Inspection Completed: new assign to

Inspection Flow Completed for I/KURA/FD1/DII/26/00004 in the site Morgan's Point Resort


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 832.


Push notification was sent to device with id 26169.


App notification history inserted. HistoryId: 219146, UserId: 4206, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 14553


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/3e8d96a2-68b4-3bf6-b270-5d6a17be156a


Inspection Completed: new assign to


Push notification was sent to device with id 26171.


Skipping notification history insertion for DeviceId: 26171, UserId: 4206. History is recorded only for the user's first active device.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Sending Inspection Assignee WhatsApp notification to user:11127


Osmo-x WhatsApp Message has been Sent


Sending Inspection Assignee creation email to user: osm00132@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Assigned: I/KURA/FD1/WII/26/00009 - A new inspection has been assigned to you


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


--- Email response from Osmo-x is 201


Sending Inspection Assignee WhatsApp notification to user:11167


Sending Inspection Assignee creation email to user: osm03618@osmosys.co


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:14554


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/1675c629-2df5-3f9e-ab12-e2fc3d26936e


Inspection Assigned: Neww

Inspection with UID I/KURA/FD1/WII/26/00009 has been assigned to you in the site Morgan's Point Resort


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 905.


Push notification was sent to device with id 26098.


App notification history inserted. HistoryId: 219147, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14554


# Push notification sent #


Inspection Assigned: Neww


App notification history inserted. HistoryId: 219148, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14554


App notification history inserted. HistoryId: 219149, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14554


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_ASSIGNEES","EventArgs":[{"Key":"UserIds","Value":"[11127,11167]"},{"Key":"InspectionUID","Value":"I/KURA/FD1/WII/26/00010"},{"Key":"Name","Value":"new schedule"},{"Key":"Type","Value":"Weekly Inspections"},{"Key":"Site","Value":"Morgan's Point Resort"},{"Key":"Status","Value":"Planned"},{"Key":"CreatedBy","Value":"Deonta Soukup"},{"Key":"CreatedOn","Value":"31-Mar-2026 05:51:32 PM"},{"Key":"InspectionId","Value":"14555"},{"Key":"OrganisationId","Value":258}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Sending Inspection Assignee WhatsApp notification to user:11127


Osmo-x WhatsApp Message has been Sent


Sending Inspection Assignee creation email to user: osm00132@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Assigned: I/KURA/FD1/WII/26/00010 - A new inspection has been assigned to you


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


--- Email response from Osmo-x is 201


Sending Inspection Assignee WhatsApp notification to user:11167


Sending Inspection Assignee creation email to user: osm03618@osmosys.co


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:14555


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/1675c629-2df5-3f9e-ab12-e2fc3d26936e


Inspection Assigned: new schedule

Inspection with UID I/KURA/FD1/WII/26/00010 has been assigned to you in the site Morgan's Point Resort


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 913.


Push notification was sent to device with id 26098.


App notification history inserted. HistoryId: 219150, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14555


# Push notification sent #


Inspection Assigned: new schedule


App notification history inserted. HistoryId: 219151, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14555


App notification history inserted. HistoryId: 219152, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14555


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Osmo-x WhatsApp Message has been Sent


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Assigned: I/KURA/FD2/WII/26/00002 - A new inspection has been assigned to you


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


--- Email response from Osmo-x is 201


# Preparing notification body #


Sending Inspection Assignee WhatsApp notification to user:11127


Sending Inspection Assignee creation email to user: osm00132@osmosys.co


Inspection Assigned: I/KURA/FD1/WII/26/00012 - A new inspection has been assigned to you


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:14558


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/1675c629-2df5-3f9e-ab12-e2fc3d26936e


Inspection Assigned: nkanskas

Inspection with UID I/KURA/FD1/WII/26/00012 has been assigned to you in the site Morgan's Point Resort


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 909.


Push notification was sent to device with id 26098.


App notification history inserted. HistoryId: 219153, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14558


# Push notification sent #


Inspection Assigned: nkanskas


App notification history inserted. HistoryId: 219154, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14558


App notification history inserted. HistoryId: 219155, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14558


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Osmo-x WhatsApp Message has been Sent


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Assigned: I/KURA/FD1/WII/26/00013 - A new inspection has been assigned to you


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


--- Email response from Osmo-x is 201


Sending Inspection Assignee WhatsApp notification to user:11167


Sending Inspection Assignee creation email to user: osm03618@osmosys.co


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:14559


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/1675c629-2df5-3f9e-ab12-e2fc3d26936e


Inspection Assigned: sdxcxcx

Inspection with UID I/KURA/FD1/WII/26/00013 has been assigned to you in the site Morgan's Point Resort


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 908.


Push notification was sent to device with id 26098.


App notification history inserted. HistoryId: 219156, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14559


# Push notification sent #


Inspection Assigned: sdxcxcx


App notification history inserted. HistoryId: 219157, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14559


App notification history inserted. HistoryId: 219158, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14559


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Sending Inspection Assignee WhatsApp notification to user:11127


Osmo-x WhatsApp Message has been Sent


Sending Inspection Assignee creation email to user: osm00132@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Assigned: I/KURA/FD1/WII/26/00014 - A new inspection has been assigned to you


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


--- Email response from Osmo-x is 201


Sending Inspection Assignee WhatsApp notification to user:11167


Sending Inspection Assignee creation email to user: osm03618@osmosys.co


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:14560


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/1675c629-2df5-3f9e-ab12-e2fc3d26936e


Inspection Assigned: bsbdbd

Inspection with UID I/KURA/FD1/WII/26/00014 has been assigned to you in the site Morgan's Point Resort


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 907.


Push notification was sent to device with id 26098.


App notification history inserted. HistoryId: 219159, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14560


# Push notification sent #


Inspection Assigned: bsbdbd


App notification history inserted. HistoryId: 219160, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14560


App notification history inserted. HistoryId: 219161, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14560


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[10335]"},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-C/26/00001"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Chain Pulley Block Inspection Checklist"},{"Key":"Organisation","Value":"Galecto Inc."},{"Key":"Site","Value":"Alanreed"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"7124"},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Caroline Su"},{"Key":"CreatedOn","Value":"01-Apr-2026 11:29:23 AM"},{"Key":"OrganisationId","Value":211}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Executing email notifications to Users about inspection creation


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user10335


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000009646","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Fidelia Piatt"},{"type":"text","text":"I/GLTO/GRR/P-C/26/00001"},{"type":"text","text":"65"},{"type":"text","text":"P&M - Chain Pulley Block Inspection Checklist"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Alanreed"},{"type":"text","text":" "},{"type":"text","text":"7124"},{"type":"text","text":"Inspection requested"},{"type":"text","text":"Caroline Su"},{"type":"text","text":"01-Apr-2026 11:29:23 AM"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing push notification body for inspection creation #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 10335


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/26e53e20-aa26-3fc0-9166-8e7cad8c5291


Pending Approval - Inspection UID: I/GLTO/GRR/P-C/26/00001

You have a pending signature for inspection I/GLTO/GRR/P-C/26/00001 at site Alanreed. Please review and sign.


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 868.


Push notification was sent to device with id 15836.


App notification history inserted. HistoryId: 219162, UserId: 10335, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/f6deb4a1-e760-3088-8db2-05d9b9ff0757


Push notification was sent to device with id 16106.


Skipping notification history insertion for DeviceId: 16106, UserId: 10335. History is recorded only for the user's first active device.


App notification history inserted. HistoryId: 219163, UserId: 10335, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


# Checking for device existence #


# User device exists #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":9721},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-C/26/00001"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Chain Pulley Block Inspection Checklist"},{"Key":"Site","Value":"Alanreed"},{"Key":"Status","Value":"Checked"},{"Key":"CreatedOn","Value":"01-Apr-2026 11:29:23 AM"},{"Key":"InspectionId","Value":"14585"},{"Key":"OrganisationId","Value":211}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and email notification #


Executing email notifications to Inspection Completion


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator9721


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


Sending Assigned To Notification for Inspection Id:14585


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/7c6ee37d-406f-341c-8138-713d42140a99


Inspection Completed: 65

Inspection Flow Completed for I/GLTO/GRR/P-C/26/00001 in the site Alanreed


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 874.


Push notification was sent to device with id 25914.


App notification history inserted. HistoryId: 219164, UserId: 9721, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 14585


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Sending Inspection Assignee WhatsApp notification to user:11127


Error occurred while sending Osmo-x Whatsapp message.


System.Net.WebException: The remote server returned an error: (400) Bad Request.
   at System.Net.HttpWebRequest.GetResponse()
   at IncidentReporter.NotificationSender.Helpers.WhatsappHelper.SendOsmoXMessage(String apiBody) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\Helpers\WhatsappHelper.cs:line 250


Sending Inspection Assignee creation email to user: osm00132@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Assigned: I/KURA/FD1/DII/26/00001 - A new inspection has been assigned to you


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


--- Email response from Osmo-x is 201


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:14586


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/1675c629-2df5-3f9e-ab12-e2fc3d26936e


Inspection Assigned:

Inspection with UID I/KURA/FD1/DII/26/00001 has been assigned to you in the site Morgan's Point Resort


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 901.


Push notification was sent to device with id 26098.


App notification history inserted. HistoryId: 219165, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14586


# Push notification sent #


Inspection Assigned:


App notification history inserted. HistoryId: 219166, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14586


App notification history inserted. HistoryId: 219167, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 14586


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":1271},{"Key":"InspectionUID","Value":"I/TRS/FD1/DII/26/00074"},{"Key":"Name","Value":"Asset Scheduled Maintenance Inspection"},{"Key":"Type","Value":"Daily Inspections"},{"Key":"Site","Value":"Morgan's Point Resort"},{"Key":"Status","Value":"Verified"},{"Key":"CreatedOn","Value":"25-Mar-2026 05:00:02 PM"},{"Key":"InspectionId","Value":"14105"},{"Key":"OrganisationId","Value":258}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and email notification #


Executing email notifications to Inspection Completion


Executing sending notification to user through whatsapp for inspection completion


# Preparing notification body #


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[4014]"},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-A/26/00001"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Air Compressor Inspection Checklist"},{"Key":"Organisation","Value":"Galecto Inc."},{"Key":"Site","Value":"Alanreed"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"air compressor"},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Caroline Su"},{"Key":"CreatedOn","Value":"01-Apr-2026 08:40:52 PM"},{"Key":"OrganisationId","Value":211}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


# Preparing push notification body for inspection creation #


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[10206,5698,267]"},{"Key":"InspectionUID","Value":"I/CTOR/HYD/CFP/26/00001"},{"Key":"Name","Value":"n. m"},{"Key":"Type","Value":"Grinding Machine Checklist"},{"Key":"Organisation","Value":"Citius Oncology Inc."},{"Key":"Site","Value":"Garcon Point"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":" "},{"Key":"Status","Value":"Draft"},{"Key":"CreatedBy","Value":"Derek Boatman"},{"Key":"CreatedOn","Value":"01-Apr-2026 10:13:43 PM"},{"Key":"OrganisationId","Value":257}]}


Executing email notifications to Users about inspection creation


Sending Inspection creation email to user: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Inspection Created: I/CTOR/HYD/CFP/26/00001


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


--- Email response from Osmo-x is 201


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user267


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"I/CTOR/HYD/CFP/26/00001"},{"type":"text","text":"n. m"},{"type":"text","text":"Grinding Machine Checklist"},{"type":"text","text":"Citius Oncology Inc."},{"type":"text","text":"Garcon Point"},{"type":"text","text":" "},{"type":"text","text":" "},{"type":"text","text":"Draft"},{"type":"text","text":"Derek Boatman"},{"type":"text","text":"01-Apr-2026 10:13:43 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Inspection creation email to user: TITAGARH_BHA_DE@oqsha.com


Sending notifications for inspection creation to associated user5698


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912222222224","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"I/CTOR/HYD/CFP/26/00001"},{"type":"text","text":"n. m"},{"type":"text","text":"Grinding Machine Checklist"},{"type":"text","text":"Citius Oncology Inc."},{"type":"text","text":"Garcon Point"},{"type":"text","text":" "},{"type":"text","text":" "},{"type":"text","text":"Draft"},{"type":"text","text":"Derek Boatman"},{"type":"text","text":"01-Apr-2026 10:13:43 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


Sending Inspection creation email to user: osm04825@osmosys.co


Sending notifications for inspection creation to associated user10206


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"612000002147","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Terrill Eaton"},{"type":"text","text":"I/CTOR/HYD/CFP/26/00001"},{"type":"text","text":"n. m"},{"type":"text","text":"Grinding Machine Checklist"},{"type":"text","text":"Citius Oncology Inc."},{"type":"text","text":"Garcon Point"},{"type":"text","text":" "},{"type":"text","text":" "},{"type":"text","text":"Draft"},{"type":"text","text":"Derek Boatman"},{"type":"text","text":"01-Apr-2026 10:13:43 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 267


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


Pending Approval - Inspection UID: I/CTOR/HYD/CFP/26/00001

You have a pending signature for inspection I/CTOR/HYD/CFP/26/00001 at site Garcon Point. Please review and sign.


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 806.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 219168, UserId: 267, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


# Push notification sent #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 872.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 267


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 806.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 219169, UserId: 267, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 872.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 267


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 806.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 219170, UserId: 267, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 267


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 872.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[10206,5698,267]"},{"Key":"InspectionUID","Value":"I/CTOR/HYD/CFP/26/00002"},{"Key":"Name","Value":"nkjn"},{"Key":"Type","Value":"Grinding Machine Checklist"},{"Key":"Organisation","Value":"Citius Oncology Inc."},{"Key":"Site","Value":"Garcon Point"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":" "},{"Key":"Status","Value":"Draft"},{"Key":"CreatedBy","Value":"Derek Boatman"},{"Key":"CreatedOn","Value":"01-Apr-2026 10:20:22 PM"},{"Key":"OrganisationId","Value":257}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Executing email notifications to Users about inspection creation


Sending Inspection creation email to user: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Inspection Created: I/CTOR/HYD/CFP/26/00002


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


--- Email response from Osmo-x is 201


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user267


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"I/CTOR/HYD/CFP/26/00002"},{"type":"text","text":"nkjn"},{"type":"text","text":"Grinding Machine Checklist"},{"type":"text","text":"Citius Oncology Inc."},{"type":"text","text":"Garcon Point"},{"type":"text","text":" "},{"type":"text","text":" "},{"type":"text","text":"Draft"},{"type":"text","text":"Derek Boatman"},{"type":"text","text":"01-Apr-2026 10:20:22 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Inspection creation email to user: TITAGARH_BHA_DE@oqsha.com


Sending notifications for inspection creation to associated user5698


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912222222224","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"I/CTOR/HYD/CFP/26/00002"},{"type":"text","text":"nkjn"},{"type":"text","text":"Grinding Machine Checklist"},{"type":"text","text":"Citius Oncology Inc."},{"type":"text","text":"Garcon Point"},{"type":"text","text":" "},{"type":"text","text":" "},{"type":"text","text":"Draft"},{"type":"text","text":"Derek Boatman"},{"type":"text","text":"01-Apr-2026 10:20:22 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


Sending Inspection creation email to user: osm04825@osmosys.co


Sending notifications for inspection creation to associated user10206


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"612000002147","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Terrill Eaton"},{"type":"text","text":"I/CTOR/HYD/CFP/26/00002"},{"type":"text","text":"nkjn"},{"type":"text","text":"Grinding Machine Checklist"},{"type":"text","text":"Citius Oncology Inc."},{"type":"text","text":"Garcon Point"},{"type":"text","text":" "},{"type":"text","text":" "},{"type":"text","text":"Draft"},{"type":"text","text":"Derek Boatman"},{"type":"text","text":"01-Apr-2026 10:20:22 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


# Preparing push notification body for inspection creation #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 267


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


Pending Approval - Inspection UID: I/CTOR/HYD/CFP/26/00002

You have a pending signature for inspection I/CTOR/HYD/CFP/26/00002 at site Garcon Point. Please review and sign.


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 806.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 219171, UserId: 267, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


# Push notification sent #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 872.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 267


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 806.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 219172, UserId: 267, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 872.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 267


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 806.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 219173, UserId: 267, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 267


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 872.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForInspectionCreation function for whatsapp and email notification #


Executing email notifications to Inspection Completion


Sending Inspection Completion notification email to user: TITAGARH_BHA_DE@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Flow Completed for I/CTOR/HYD/CFP/26/00002


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


--- Email response from Osmo-x is 201


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator5698


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[10206,5698,267]"},{"Key":"InspectionUID","Value":"I/CTOR/HYD/CFP/26/00003"},{"Key":"Name","Value":" ,m mpk,"},{"Key":"Type","Value":"Grinding Machine Checklist"},{"Key":"Organisation","Value":"Citius Oncology Inc."},{"Key":"Site","Value":"Garcon Point"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":" "},{"Key":"Status","Value":"Draft"},{"Key":"CreatedBy","Value":"Derek Boatman"},{"Key":"CreatedOn","Value":"01-Apr-2026 10:21:40 PM"},{"Key":"OrganisationId","Value":257}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Executing email notifications to Users about inspection creation


Sending Inspection creation email to user: TTK_Admin@oqsha.com


Initializing Email Service Client


Generating Email Request


New Inspection Created: I/CTOR/HYD/CFP/26/00003


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


--- Email response from Osmo-x is 201


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user267


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"I/CTOR/HYD/CFP/26/00003"},{"type":"text","text":" ,m mpk,"},{"type":"text","text":"Grinding Machine Checklist"},{"type":"text","text":"Citius Oncology Inc."},{"type":"text","text":"Garcon Point"},{"type":"text","text":" "},{"type":"text","text":" "},{"type":"text","text":"Draft"},{"type":"text","text":"Derek Boatman"},{"type":"text","text":"01-Apr-2026 10:21:40 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Inspection creation email to user: TITAGARH_BHA_DE@oqsha.com


Sending notifications for inspection creation to associated user5698


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912222222224","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"I/CTOR/HYD/CFP/26/00003"},{"type":"text","text":" ,m mpk,"},{"type":"text","text":"Grinding Machine Checklist"},{"type":"text","text":"Citius Oncology Inc."},{"type":"text","text":"Garcon Point"},{"type":"text","text":" "},{"type":"text","text":" "},{"type":"text","text":"Draft"},{"type":"text","text":"Derek Boatman"},{"type":"text","text":"01-Apr-2026 10:21:40 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


Sending Inspection creation email to user: osm04825@osmosys.co


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


Reading and binding data to Email Template


Sending notifications for inspection creation to associated user10206


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"612000002147","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Terrill Eaton"},{"type":"text","text":"I/CTOR/HYD/CFP/26/00003"},{"type":"text","text":" ,m mpk,"},{"type":"text","text":"Grinding Machine Checklist"},{"type":"text","text":"Citius Oncology Inc."},{"type":"text","text":"Garcon Point"},{"type":"text","text":" "},{"type":"text","text":" "},{"type":"text","text":"Draft"},{"type":"text","text":"Derek Boatman"},{"type":"text","text":"01-Apr-2026 10:21:40 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


# Preparing push notification body for inspection creation #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 267


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


Pending Approval - Inspection UID: I/CTOR/HYD/CFP/26/00003

You have a pending signature for inspection I/CTOR/HYD/CFP/26/00003 at site Garcon Point. Please review and sign.


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 806.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 219174, UserId: 267, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


# Push notification sent #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 872.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 267


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 806.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 219175, UserId: 267, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 872.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 267


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 806.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 219176, UserId: 267, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 267


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 872.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":5698},{"Key":"InspectionUID","Value":"I/CTOR/HYD/CFP/26/00003"},{"Key":"Name","Value":" ,m mpk,"},{"Key":"Type","Value":"Grinding Machine Checklist"},{"Key":"Site","Value":"Garcon Point"},{"Key":"Status","Value":"Draft"},{"Key":"CreatedOn","Value":"01-Apr-2026 10:21:40 PM"},{"Key":"InspectionId","Value":"14591"},{"Key":"OrganisationId","Value":257}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and email notification #


Executing email notifications to Inspection Completion


Sending Inspection Completion notification email to user: TITAGARH_BHA_DE@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Flow Completed for I/CTOR/HYD/CFP/26/00003


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


--- Email response from Osmo-x is 201


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator5698


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[10206,5698,267]"},{"Key":"InspectionUID","Value":"I/CTOR/HYD/CFP/26/00004"},{"Key":"Name","Value":"asdf"},{"Key":"Type","Value":"Grinding Machine Checklist"},{"Key":"Organisation","Value":"Citius Oncology Inc."},{"Key":"Site","Value":"Garcon Point"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":" "},{"Key":"Status","Value":"Draft"},{"Key":"CreatedBy","Value":"Derek Boatman"},{"Key":"CreatedOn","Value":"01-Apr-2026 10:36:02 PM"},{"Key":"OrganisationId","Value":257}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Executing email notifications to Users about inspection creation


Sending Inspection creation email to user: TTK_Admin@oqsha.com


Initializing Email Service Client


Generating Email Request


New Inspection Created: I/CTOR/HYD/CFP/26/00004


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


--- Email response from Osmo-x is 201


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user267


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"I/CTOR/HYD/CFP/26/00004"},{"type":"text","text":"asdf"},{"type":"text","text":"Grinding Machine Checklist"},{"type":"text","text":"Citius Oncology Inc."},{"type":"text","text":"Garcon Point"},{"type":"text","text":" "},{"type":"text","text":" "},{"type":"text","text":"Draft"},{"type":"text","text":"Derek Boatman"},{"type":"text","text":"01-Apr-2026 10:36:02 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Inspection creation email to user: TITAGARH_BHA_DE@oqsha.com


Sending notifications for inspection creation to associated user5698


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912222222224","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"I/CTOR/HYD/CFP/26/00004"},{"type":"text","text":"asdf"},{"type":"text","text":"Grinding Machine Checklist"},{"type":"text","text":"Citius Oncology Inc."},{"type":"text","text":"Garcon Point"},{"type":"text","text":" "},{"type":"text","text":" "},{"type":"text","text":"Draft"},{"type":"text","text":"Derek Boatman"},{"type":"text","text":"01-Apr-2026 10:36:02 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


Sending Inspection creation email to user: osm04825@osmosys.co


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


Reading and binding data to Email Template


Sending notifications for inspection creation to associated user10206


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"612000002147","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Terrill Eaton"},{"type":"text","text":"I/CTOR/HYD/CFP/26/00004"},{"type":"text","text":"asdf"},{"type":"text","text":"Grinding Machine Checklist"},{"type":"text","text":"Citius Oncology Inc."},{"type":"text","text":"Garcon Point"},{"type":"text","text":" "},{"type":"text","text":" "},{"type":"text","text":"Draft"},{"type":"text","text":"Derek Boatman"},{"type":"text","text":"01-Apr-2026 10:36:02 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


# Preparing push notification body for inspection creation #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 267


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


Pending Approval - Inspection UID: I/CTOR/HYD/CFP/26/00004

You have a pending signature for inspection I/CTOR/HYD/CFP/26/00004 at site Garcon Point. Please review and sign.


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 806.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 219177, UserId: 267, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


# Push notification sent #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 872.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 267


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 806.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 219178, UserId: 267, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 872.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 267


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 806.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 219179, UserId: 267, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 267


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is 201


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 872.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForInspectionCreation function for whatsapp and email notification #


Executing email notifications to Inspection Completion


Sending Inspection Completion notification email to user: TITAGARH_BHA_DE@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request