Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000709","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":"Kyan Jin"},{"type":"text","text":"I/WNW/JPM/EI(/26/00001"},{"type":"text","text":"Inspection test"},{"type":"text","text":"Ambulance Checklist"},{"type":"text","text":"Meiwu Technology Company Limited"},{"type":"text","text":"Animas"},{"type":"text","text":" "},{"type":"text","text":"Ambulance - h"},{"type":"text","text":"Planned"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"15-May-2026 10:55:21 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: 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/WNW/JPM/EI(/26/00001

You have a pending signature for inspection I/WNW/JPM/EI(/26/00001 at site Animas. Please review and sign.

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 798.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 223105, 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 864.


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 798.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 223106, 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 864.


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 798.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 223107, 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 864.


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.


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 4416


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/f7d7391a-56df-3148-b417-81e16a03877f


--- 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 864.


Push notification was sent to device with id 25822.


App notification history inserted. HistoryId: 223108, UserId: 4416, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


# Push notification sent #


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


App notification history inserted. HistoryId: 223109, UserId: 4416, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


### 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:267


Osmo-x WhatsApp Message has been Sent


Sending Inspection Assignee 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


Inspection Assigned: I/WNW/JPM/EI(/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 #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:25612


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


Inspection Assigned: Inspection test

Inspection with UID I/WNW/JPM/EI(/26/00001 has been assigned to you in the site Animas


--- 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 834.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 223110, UserId: 267, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 25612


# 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


Inspection Assigned: Inspection test


--- 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 900.


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 #


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.


# Push notification sent #


Sending Assigned To Notification for Inspection Id:25612


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


Inspection Assigned: Inspection test


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


--- 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 834.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 223111, UserId: 267, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 25612


# Checking for device existence #


# User device exists #


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 900.


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 #


Sending Assigned To Notification for Inspection Id:25612


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


Inspection Assigned: Inspection test


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.


# Checking for device existence #


# User device exists #


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.


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


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


Inspection Assigned: Inspection test


--- 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 834.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 223112, UserId: 267, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 25612


# Push notification sent #


Sending Assigned To Notification for Inspection Id:25612


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 900.


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


--- 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.


Generating AWS SNS Request


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


Inspection Assigned: Inspection test


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.


# Push notification sent #


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":"[10360]"},{"Key":"InspectionUID","Value":"I/WNW/JPM/EI(/26/00002"},{"Key":"Name","Value":"Ambulance Inspection"},{"Key":"Type","Value":"Ambulance Checklist"},{"Key":"Organisation","Value":"Meiwu Technology Company Limited"},{"Key":"Site","Value":"Animas"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"Ambulance - h"},{"Key":"Status","Value":"Inspected"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"CreatedOn","Value":"15-May-2026 12:54:32 PM"},{"Key":"OrganisationId","Value":256}]}


### 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: osm01528@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Inspection Created: I/WNW/JPM/EI(/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 user10360


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005511","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":"Sing Blackmore"},{"type":"text","text":"I/WNW/JPM/EI(/26/00002"},{"type":"text","text":"Ambulance Inspection"},{"type":"text","text":"Ambulance Checklist"},{"type":"text","text":"Meiwu Technology Company Limited"},{"type":"text","text":"Animas"},{"type":"text","text":" "},{"type":"text","text":"Ambulance - h"},{"type":"text","text":"Inspected"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"15-May-2026 12:54:32 PM"},{"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) #


### End Event Execution ###


### Start Event Execution ###


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


Executing email notifications to Users about inspection update


Sending Inspection update email to user: osm01528@osmosys.co


Initializing Email Service Client


Generating Email Request


Inspection Update: I/WNW/JPM/EI(/26/00002


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


--- Email response from Osmo-x is 201


# Preparing push notification body for inspection update #


### 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: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Inspection Flow Completed for I/WNW/JPM/EI(/26/00002


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator267


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:25613


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


Inspection Completed: Ambulance Inspection

Inspection Flow Completed for I/WNW/JPM/EI(/26/00002 in the site Animas


--- 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 823.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 223113, UserId: 267, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 25613


# 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 889.


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 Assigned To Notification for Inspection Id:25613


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 #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[10360]"},{"Key":"InspectionUID","Value":"I/WNW/JPM/CVC/26/00001"},{"Key":"Name","Value":"Concrete Vibrator Inspection"},{"Key":"Type","Value":"Concrete Vibrator Checklist"},{"Key":"Organisation","Value":"Meiwu Technology Company Limited"},{"Key":"Site","Value":"Animas"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"Concrete Vibrator - 282concrete"},{"Key":"Status","Value":"Inspected"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"CreatedOn","Value":"15-May-2026 12:57:23 PM"},{"Key":"OrganisationId","Value":256}]}


### 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: osm01528@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Inspection Created: I/WNW/JPM/CVC/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 user10360


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005511","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":"Sing Blackmore"},{"type":"text","text":"I/WNW/JPM/CVC/26/00001"},{"type":"text","text":"Concrete Vibrator Inspection"},{"type":"text","text":"Concrete Vibrator Checklist"},{"type":"text","text":"Meiwu Technology Company Limited"},{"type":"text","text":"Animas"},{"type":"text","text":" "},{"type":"text","text":"Concrete Vibrator - 282concrete"},{"type":"text","text":"Inspected"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"15-May-2026 12:57:23 PM"},{"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) #


### End Event Execution ###


### Start Event Execution ###


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


Executing email notifications to Users about inspection update


Sending Inspection update email to user: osm01528@osmosys.co


Initializing Email Service Client


Generating Email Request


Inspection Update: I/WNW/JPM/CVC/26/00001


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


--- Email response from Osmo-x is 201


# Preparing push notification body for inspection update #


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":267},{"Key":"InspectionUID","Value":"I/WNW/JPM/CVC/26/00001"},{"Key":"Name","Value":"Concrete Vibrator Inspection"},{"Key":"Type","Value":"Concrete Vibrator Checklist"},{"Key":"Site","Value":"Animas"},{"Key":"Status","Value":"Verified"},{"Key":"CreatedOn","Value":"15-May-2026 12:57:23 PM"},{"Key":"InspectionId","Value":"25614"},{"Key":"OrganisationId","Value":256}]}


### 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: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Inspection Flow Completed for I/WNW/JPM/CVC/26/00001


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator267


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:25614


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


Inspection Completed: Concrete Vibrator Inspection

Inspection Flow Completed for I/WNW/JPM/CVC/26/00001 in the site Animas


--- 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 831.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 223114, UserId: 267, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 25614


# 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 897.


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 Assigned To Notification for Inspection Id:25614


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 #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[10360]"},{"Key":"InspectionUID","Value":"I/WNW/JPM/CMC/26/00001"},{"Key":"Name","Value":"Cutting machine inspection"},{"Key":"Type","Value":"Cutting Machine Checklist"},{"Key":"Organisation","Value":"Meiwu Technology Company Limited"},{"Key":"Site","Value":"Animas"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"Cutting Machine - cutting"},{"Key":"Status","Value":"Inspected"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"CreatedOn","Value":"15-May-2026 01:02:54 PM"},{"Key":"OrganisationId","Value":256}]}


### 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: osm01528@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Inspection Created: I/WNW/JPM/CMC/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 user10360


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005511","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":"Sing Blackmore"},{"type":"text","text":"I/WNW/JPM/CMC/26/00001"},{"type":"text","text":"Cutting machine inspection"},{"type":"text","text":"Cutting Machine Checklist"},{"type":"text","text":"Meiwu Technology Company Limited"},{"type":"text","text":"Animas"},{"type":"text","text":" "},{"type":"text","text":"Cutting Machine - cutting"},{"type":"text","text":"Inspected"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"15-May-2026 01:02:54 PM"},{"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) #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":267},{"Key":"InspectionUID","Value":"I/WNW/JPM/CMC/26/00001"},{"Key":"Name","Value":"Cutting machine inspection"},{"Key":"Type","Value":"Cutting Machine Checklist"},{"Key":"Site","Value":"Animas"},{"Key":"Status","Value":"Verified"},{"Key":"CreatedOn","Value":"15-May-2026 01:02:54 PM"},{"Key":"InspectionId","Value":"25615"},{"Key":"OrganisationId","Value":256}]}


### 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: TTK_Admin@oqsha.com


Initializing Email Service Client


Generating Email Request


Inspection Flow Completed for I/WNW/JPM/CMC/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 initiator267


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:25615


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


Inspection Completed: Cutting machine inspection

Inspection Flow Completed for I/WNW/JPM/CMC/26/00001 in the site Animas


--- 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 829.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 223115, UserId: 267, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 25615


# 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 895.


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 Assigned To Notification for Inspection Id:25615


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 #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[10360]"},{"Key":"InspectionUID","Value":"I/WNW/MN8/EDI/26/00001"},{"Key":"Name","Value":"Electrical DB inspection"},{"Key":"Type","Value":"Electrical DB Checklist"},{"Key":"Organisation","Value":"Meiwu Technology Company Limited"},{"Key":"Site","Value":"Austin"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"Electrical Equipment - dbinsp"},{"Key":"Status","Value":"Inspected"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"CreatedOn","Value":"15-May-2026 01:11:46 PM"},{"Key":"OrganisationId","Value":256}]}


### 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: osm01528@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Inspection Created: I/WNW/MN8/EDI/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 user10360


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005511","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":"Sing Blackmore"},{"type":"text","text":"I/WNW/MN8/EDI/26/00001"},{"type":"text","text":"Electrical DB inspection"},{"type":"text","text":"Electrical DB Checklist"},{"type":"text","text":"Meiwu Technology Company Limited"},{"type":"text","text":"Austin"},{"type":"text","text":" "},{"type":"text","text":"Electrical Equipment - dbinsp"},{"type":"text","text":"Inspected"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"15-May-2026 01:11:46 PM"},{"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) #


### End Event Execution ###


### Start Event Execution ###


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


Executing email notifications to Users about inspection update


Sending Inspection update email to user: osm01528@osmosys.co


Initializing Email Service Client


Generating Email Request


Inspection Update: I/WNW/MN8/EDI/26/00001


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


--- Email response from Osmo-x is 201


# Preparing push notification body for inspection update #


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":267},{"Key":"InspectionUID","Value":"I/WNW/MN8/EDI/26/00001"},{"Key":"Name","Value":"Electrical DB inspection"},{"Key":"Type","Value":"Electrical DB Checklist"},{"Key":"Site","Value":"Austin"},{"Key":"Status","Value":"Verified"},{"Key":"CreatedOn","Value":"15-May-2026 01:11:46 PM"},{"Key":"InspectionId","Value":"25617"},{"Key":"OrganisationId","Value":256}]}


### 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: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Inspection Flow Completed for I/WNW/MN8/EDI/26/00001


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator267


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:25617


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


Inspection Completed: Electrical DB inspection

Inspection Flow Completed for I/WNW/MN8/EDI/26/00001 in the site Austin


--- 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 827.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 223116, UserId: 267, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 25617


# 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 893.


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 Assigned To Notification for Inspection Id:25617


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 #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[10360]"},{"Key":"InspectionUID","Value":"I/WNW/MOR/FEI/26/00001"},{"Key":"Name","Value":"Fire Extinguisher Inspection"},{"Key":"Type","Value":"Fire Extinguisher Inspection Checklist"},{"Key":"Organisation","Value":"Meiwu Technology Company Limited"},{"Key":"Site","Value":"Blencoe"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"Fire Extinguisher - FIre"},{"Key":"Status","Value":"Inspected"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"CreatedOn","Value":"15-May-2026 01:21:01 PM"},{"Key":"OrganisationId","Value":256}]}


### 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: osm01528@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Inspection Created: I/WNW/MOR/FEI/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 user10360


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005511","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":"Sing Blackmore"},{"type":"text","text":"I/WNW/MOR/FEI/26/00001"},{"type":"text","text":"Fire Extinguisher Inspection"},{"type":"text","text":"Fire Extinguisher Inspection Checklist"},{"type":"text","text":"Meiwu Technology Company Limited"},{"type":"text","text":"Blencoe"},{"type":"text","text":" "},{"type":"text","text":"Fire Extinguisher - FIre"},{"type":"text","text":"Inspected"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"15-May-2026 01:21:01 PM"},{"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) #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":267},{"Key":"InspectionUID","Value":"I/WNW/MOR/FEI/26/00001"},{"Key":"Name","Value":"Fire Extinguisher Inspection"},{"Key":"Type","Value":"Fire Extinguisher Inspection Checklist"},{"Key":"Site","Value":"Blencoe"},{"Key":"Status","Value":"Verified"},{"Key":"CreatedOn","Value":"15-May-2026 01:21:01 PM"},{"Key":"InspectionId","Value":"25618"},{"Key":"OrganisationId","Value":256}]}


### 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: TTK_Admin@oqsha.com


Initializing Email Service Client


Generating Email Request


Inspection Flow Completed for I/WNW/MOR/FEI/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 initiator267


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:25618


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


Inspection Completed: Fire Extinguisher Inspection

Inspection Flow Completed for I/WNW/MOR/FEI/26/00001 in the site Blencoe


--- 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 26487.


App notification history inserted. HistoryId: 223117, UserId: 267, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 25618


# 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 898.


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 Assigned To Notification for Inspection Id:25618


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 #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[10360]"},{"Key":"InspectionUID","Value":"I/WNW/FED/GCS/26/00001"},{"Key":"Name","Value":"Gas cutting inspection"},{"Key":"Type","Value":"Gas Cutting Set Checklist"},{"Key":"Organisation","Value":"Meiwu Technology Company Limited"},{"Key":"Site","Value":"Campbell Station"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"Gas Cutting Machine - gas"},{"Key":"Status","Value":"Inspected"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"CreatedOn","Value":"15-May-2026 01:41:16 PM"},{"Key":"OrganisationId","Value":256}]}


### 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: osm01528@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Inspection Created: I/WNW/FED/GCS/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 user10360


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005511","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":"Sing Blackmore"},{"type":"text","text":"I/WNW/FED/GCS/26/00001"},{"type":"text","text":"Gas cutting inspection"},{"type":"text","text":"Gas Cutting Set Checklist"},{"type":"text","text":"Meiwu Technology Company Limited"},{"type":"text","text":"Campbell Station"},{"type":"text","text":" "},{"type":"text","text":"Gas Cutting Machine - gas"},{"type":"text","text":"Inspected"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"15-May-2026 01:41:16 PM"},{"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) #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_UPDATE","EventArgs":[{"Key":"StringIssuerIds","Value":"[10360]"},{"Key":"InspectionUID","Value":"I/WNW/FED/GCS/26/00001"},{"Key":"Name","Value":"Gas cutting inspection"},{"Key":"Site","Value":"Campbell Station"},{"Key":"InspectedBy","Value":"Hebert Eaton"},{"Key":"InspectedOn","Value":"15-May-2026 01:41:16 PM"},{"Key":"InspectionId","Value":"25620"},{"Key":"OrganisationId","Value":256}]}


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


Executing email notifications to Users about inspection update


Sending Inspection update email to user: osm01528@osmosys.co


Initializing Email Service Client


Generating Email Request


Inspection Update: I/WNW/FED/GCS/26/00001


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


--- Email response from Osmo-x is 201


# Preparing push notification body for inspection update #


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":267},{"Key":"InspectionUID","Value":"I/WNW/FED/GCS/26/00001"},{"Key":"Name","Value":"Gas cutting inspection"},{"Key":"Type","Value":"Gas Cutting Set Checklist"},{"Key":"Site","Value":"Campbell Station"},{"Key":"Status","Value":"Verified"},{"Key":"CreatedOn","Value":"15-May-2026 01:41:16 PM"},{"Key":"InspectionId","Value":"25620"},{"Key":"OrganisationId","Value":256}]}


### 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: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Inspection Flow Completed for I/WNW/FED/GCS/26/00001


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator267


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:25620


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


Inspection Completed: Gas cutting inspection

Inspection Flow Completed for I/WNW/FED/GCS/26/00001 in the site Campbell Station


--- 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 835.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 223118, UserId: 267, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 25620


# 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 901.


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 Assigned To Notification for Inspection Id:25620


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 #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[3582]"},{"Key":"InspectionUID","Value":"I/GLTO/APA/P-C/26/00001"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Concrete Pump Inspection Checklist"},{"Key":"Organisation","Value":"Galecto Inc."},{"Key":"Site","Value":"Bowers"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"concrete pump"},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Renard Whatley"},{"Key":"CreatedOn","Value":"15-May-2026 01:47:45 PM"},{"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 user3582


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002017","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":"Toddy Chesnut"},{"type":"text","text":"I/GLTO/APA/P-C/26/00001"},{"type":"text","text":"65"},{"type":"text","text":"P&M - Concrete Pump Inspection Checklist"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Bowers"},{"type":"text","text":" "},{"type":"text","text":"concrete pump"},{"type":"text","text":"Inspection requested"},{"type":"text","text":"Renard Whatley"},{"type":"text","text":"15-May-2026 01:47:45 PM"},{"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: 3582


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/38a20e7c-5af3-389d-9a53-ddefb4f6c201


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

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


--- 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 866.


Push notification was sent to device with id 4608.


App notification history inserted. HistoryId: 223119, UserId: 3582, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/d88386f7-997d-39b8-a78a-25481f1617b9


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


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


Push notification was sent to device with id 6009.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/8d303f41-a559-3353-9cf2-de3162f36640


Push notification was sent to device with id 7961.


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


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/23810e3c-7107-37e0-b0bd-5cac1d29c7e6


Push notification was sent to device with id 9865.


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 3582


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/4f5c85c1-3aab-3b33-bdbc-92f50fbd57b4


--- 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 866.


Push notification was sent to device with id 10210.


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


# Push notification sent #


Endpoint:


Validation Failed

Either "target" or "topicArn" must be provided, but not both.


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


Push notification failed to send to a device 11858.


# Push notification did not send #


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


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/38a20e7c-5af3-389d-9a53-ddefb4f6c201


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


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


Push notification was sent to device with id 4608.


App notification history inserted. HistoryId: 223120, UserId: 3582, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/d88386f7-997d-39b8-a78a-25481f1617b9


Push notification was sent to device with id 6009.


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


# Push notification sent #


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 3582


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/8d303f41-a559-3353-9cf2-de3162f36640


--- 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 866.


Push notification was sent to device with id 7961.


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


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/23810e3c-7107-37e0-b0bd-5cac1d29c7e6


Push notification was sent to device with id 9865.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/4f5c85c1-3aab-3b33-bdbc-92f50fbd57b4


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


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


Push notification was sent to device with id 10210.


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


# Push notification sent #


Endpoint:


Validation Failed


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


Push notification failed to send to a device 11858.


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[10360]"},{"Key":"InspectionUID","Value":"I/WNW/SYN/CFP/26/00001"},{"Key":"Name","Value":"Grinding inspection"},{"Key":"Type","Value":"Grinding Machine Checklist"},{"Key":"Organisation","Value":"Meiwu Technology Company Limited"},{"Key":"Site","Value":"Bothell East"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"Grinding Machine - grind"},{"Key":"Status","Value":"Inspected"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"CreatedOn","Value":"15-May-2026 01:50:34 PM"},{"Key":"OrganisationId","Value":256}]}


### 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: osm01528@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Inspection Created: I/WNW/SYN/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 user10360


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005511","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":"Sing Blackmore"},{"type":"text","text":"I/WNW/SYN/CFP/26/00001"},{"type":"text","text":"Grinding inspection"},{"type":"text","text":"Grinding Machine Checklist"},{"type":"text","text":"Meiwu Technology Company Limited"},{"type":"text","text":"Bothell East"},{"type":"text","text":" "},{"type":"text","text":"Grinding Machine - grind"},{"type":"text","text":"Inspected"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"15-May-2026 01:50:34 PM"},{"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) #


### End Event Execution ###


### Start Event Execution ###


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


Executing email notifications to Users about inspection update


Sending Inspection update email to user: osm01528@osmosys.co


Initializing Email Service Client


Generating Email Request


Inspection Update: I/WNW/SYN/CFP/26/00001


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


--- Email response from Osmo-x is 201


# Preparing push notification body for inspection update #


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":267},{"Key":"InspectionUID","Value":"I/WNW/SYN/CFP/26/00001"},{"Key":"Name","Value":"Grinding inspection"},{"Key":"Type","Value":"Grinding Machine Checklist"},{"Key":"Site","Value":"Bothell East"},{"Key":"Status","Value":"Verified"},{"Key":"CreatedOn","Value":"15-May-2026 01:50:34 PM"},{"Key":"InspectionId","Value":"25622"},{"Key":"OrganisationId","Value":256}]}


### 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: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Inspection Flow Completed for I/WNW/SYN/CFP/26/00001


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator267


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:25622


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


Inspection Completed: Grinding inspection

Inspection Flow Completed for I/WNW/SYN/CFP/26/00001 in the site Bothell East


--- 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 828.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 223121, UserId: 267, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 25622


# 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 894.


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 Assigned To Notification for Inspection Id:25622


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 #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[10360]"},{"Key":"InspectionUID","Value":"I/WNW/END/LCC/26/00001"},{"Key":"Name","Value":"Ladder Inspection"},{"Key":"Type","Value":"Ladder Checklist"},{"Key":"Organisation","Value":"Meiwu Technology Company Limited"},{"Key":"Site","Value":"De Land"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"Ladder - Ladder"},{"Key":"Status","Value":"Inspected"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"CreatedOn","Value":"15-May-2026 01:56:03 PM"},{"Key":"OrganisationId","Value":256}]}


### 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: osm01528@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Inspection Created: I/WNW/END/LCC/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 user10360


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005511","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":"Sing Blackmore"},{"type":"text","text":"I/WNW/END/LCC/26/00001"},{"type":"text","text":"Ladder Inspection"},{"type":"text","text":"Ladder Checklist"},{"type":"text","text":"Meiwu Technology Company Limited"},{"type":"text","text":"De Land"},{"type":"text","text":" "},{"type":"text","text":"Ladder - Ladder"},{"type":"text","text":"Inspected"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"15-May-2026 01:56:03 PM"},{"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) #


### End Event Execution ###


### Start Event Execution ###


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


Executing email notifications to Users about inspection update


Sending Inspection update email to user: osm01528@osmosys.co


Initializing Email Service Client


Generating Email Request


Inspection Update: I/WNW/END/LCC/26/00001


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


--- Email response from Osmo-x is 201


# Preparing push notification body for inspection update #


### 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: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Inspection Flow Completed for I/WNW/END/LCC/26/00001


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator267


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:25624


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


Inspection Completed: Ladder Inspection

Inspection Flow Completed for I/WNW/END/LCC/26/00001 in the site De Land


--- 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 821.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 223122, UserId: 267, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 25624


# 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


Inspection Completed: Ladder Inspection


--- 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 887.


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 #


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.


Sending Assigned To Notification for Inspection Id:25624


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 #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[10360]"},{"Key":"InspectionUID","Value":"I/WNW/BAR/EII/26/00001"},{"Key":"Name","Value":" Checklist for Pick & Carry Crane"},{"Key":"Type","Value":"Checklist for Pick & Carry Crane"},{"Key":"Organisation","Value":"Meiwu Technology Company Limited"},{"Key":"Site","Value":"Fletcher"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":" "},{"Key":"Status","Value":"Inspected"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"CreatedOn","Value":"15-May-2026 01:59:11 PM"},{"Key":"OrganisationId","Value":256}]}


### 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: osm01528@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Inspection Created: I/WNW/BAR/EII/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 user10360


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005511","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":"Sing Blackmore"},{"type":"text","text":"I/WNW/BAR/EII/26/00001"},{"type":"text","text":" Checklist for Pick & Carry Crane"},{"type":"text","text":"Checklist for Pick & Carry Crane"},{"type":"text","text":"Meiwu Technology Company Limited"},{"type":"text","text":"Fletcher"},{"type":"text","text":" "},{"type":"text","text":" "},{"type":"text","text":"Inspected"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"15-May-2026 01:59:11 PM"},{"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) #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_UPDATE","EventArgs":[{"Key":"StringIssuerIds","Value":"[10360]"},{"Key":"InspectionUID","Value":"I/WNW/BAR/EII/26/00001"},{"Key":"Name","Value":" Checklist for Pick & Carry Crane"},{"Key":"Site","Value":"Fletcher"},{"Key":"InspectedBy","Value":"Hebert Eaton"},{"Key":"InspectedOn","Value":"15-May-2026 01:59:11 PM"},{"Key":"InspectionId","Value":"25625"},{"Key":"OrganisationId","Value":256}]}


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005511","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_assigned_template_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sing Blackmore"},{"type":"text","text":"I/WNW/BAR/EII/26/00001"},{"type":"text","text":" Checklist for Pick & Carry Crane"},{"type":"text","text":"Fletcher"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"15-May-2026 01:59:11 PM"},{"type":"text","text":"https://oqsha.com/#/inspection/view/25625?dlType=viewInspection&orgID=256"},{"type":"text","text":"Oqsha Team"}]}]}}}


Executing email notifications to Users about inspection update


Sending Inspection update email to user: osm01528@osmosys.co


Initializing Email Service Client


Generating Email Request


Inspection Update: I/WNW/BAR/EII/26/00001


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


--- Email response from Osmo-x is 201


# Preparing push notification body for inspection update #


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":267},{"Key":"InspectionUID","Value":"I/WNW/BAR/EII/26/00001"},{"Key":"Name","Value":" Checklist for Pick & Carry Crane"},{"Key":"Type","Value":"Checklist for Pick & Carry Crane"},{"Key":"Site","Value":"Fletcher"},{"Key":"Status","Value":"Verified"},{"Key":"CreatedOn","Value":"15-May-2026 01:59:11 PM"},{"Key":"InspectionId","Value":"25625"},{"Key":"OrganisationId","Value":256}]}


### 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: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Inspection Flow Completed for I/WNW/BAR/EII/26/00001


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator267


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_completion_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"I/WNW/BAR/EII/26/00001"},{"type":"text","text":" Checklist for Pick & Carry Crane"},{"type":"text","text":"Checklist for Pick & Carry Crane"},{"type":"text","text":"Fletcher"},{"type":"text","text":"15-May-2026 01:59:11 PM"},{"type":"text","text":"Verified"},{"type":"text","text":"https://oqsha.com/#/inspection/view/25625?dlType=viewInspection&orgID=256"},{"type":"text","text":"Oqsha Team"}]}]}}}


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:25625


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


Inspection Completed:  Checklist for Pick & Carry Crane

Inspection Flow Completed for I/WNW/BAR/EII/26/00001 in the site Fletcher


--- 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 838.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 223123, UserId: 267, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 25625


# 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 904.


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 Assigned To Notification for Inspection Id:25625


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 #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[10360]"},{"Key":"InspectionUID","Value":"I/WNW/HIL/WCC/26/00001"},{"Key":"Name","Value":" Wood Cutter Checklist"},{"Key":"Type","Value":"Wood Cutter Checklist"},{"Key":"Organisation","Value":"Meiwu Technology Company Limited"},{"Key":"Site","Value":"Ellinger"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"Default - Wood Cutter Checklist"},{"Key":"Status","Value":"Inspected"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"CreatedOn","Value":"15-May-2026 02:06:13 PM"},{"Key":"OrganisationId","Value":256}]}


### 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: osm01528@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Inspection Created: I/WNW/HIL/WCC/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 user10360


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005511","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":"Sing Blackmore"},{"type":"text","text":"I/WNW/HIL/WCC/26/00001"},{"type":"text","text":" Wood Cutter Checklist"},{"type":"text","text":"Wood Cutter Checklist"},{"type":"text","text":"Meiwu Technology Company Limited"},{"type":"text","text":"Ellinger"},{"type":"text","text":" "},{"type":"text","text":"Default - Wood Cutter Checklist"},{"type":"text","text":"Inspected"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"15-May-2026 02:06:13 PM"},{"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) #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_UPDATE","EventArgs":[{"Key":"StringIssuerIds","Value":"[10360]"},{"Key":"InspectionUID","Value":"I/WNW/HIL/WCC/26/00001"},{"Key":"Name","Value":" Wood Cutter Checklist"},{"Key":"Site","Value":"Ellinger"},{"Key":"InspectedBy","Value":"Hebert Eaton"},{"Key":"InspectedOn","Value":"15-May-2026 02:06:13 PM"},{"Key":"InspectionId","Value":"25628"},{"Key":"OrganisationId","Value":256}]}


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


Executing email notifications to Users about inspection update


Sending Inspection update email to user: osm01528@osmosys.co


Initializing Email Service Client


Generating Email Request


Inspection Update: I/WNW/HIL/WCC/26/00001


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


--- Email response from Osmo-x is 201


# Preparing push notification body for inspection update #


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":267},{"Key":"InspectionUID","Value":"I/WNW/HIL/WCC/26/00001"},{"Key":"Name","Value":" Wood Cutter Checklist"},{"Key":"Type","Value":"Wood Cutter Checklist"},{"Key":"Site","Value":"Ellinger"},{"Key":"Status","Value":"Verified"},{"Key":"CreatedOn","Value":"15-May-2026 02:06:13 PM"},{"Key":"InspectionId","Value":"25628"},{"Key":"OrganisationId","Value":256}]}


### 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: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Inspection Flow Completed for I/WNW/HIL/WCC/26/00001


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator267


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:25628


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


Inspection Completed:  Wood Cutter Checklist

Inspection Flow Completed for I/WNW/HIL/WCC/26/00001 in the site Ellinger


--- 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 827.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 223124, UserId: 267, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 25628


# 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 893.


Push notification was sent to device with id 26737.