Pushing Inspection creation event to NSQ


NotificationObject: {"EventName":"NOTIFICATION_FOR_INSPECTION_ASSIGNEES", "EventArgs":[{"Key":"UserIds", "Value":"[11139]"},{"Key":"InspectionUID", "Value":"I\/KURA\/FD2\/WII\/26\/00002"},{"Key":"Name", "Value":"mm"},{"Key":"Type", "Value":"Weekly Inspections"},{"Key":"Site", "Value":"Carson Valley"},{"Key":"Status", "Value":"Planned"},{"Key":"CreatedBy", "Value":"Derek Cope"},{"Key":"CreatedOn", "Value":"16-Jun-2026 03:15:21 PM"},{"Key":"InspectionId", "Value":"26041"},{"Key":"OrganisationId", "Value":258}]}


[INSPECTION] No inspection reminders to process


Audit log sent successfully.


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/InspectionType/All?SortingColumn=InspectionType&SortingOrder=asc&userId=10313


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Inspections


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/InspectionStatus


Request Body : {"OrgId":[258],"PageNumber":1,"PageLimit":10,"SearchTerm":"","SortingColumn":["InspectionStatus"],"SortingOrder":["desc"],"FromDate":"2026-06-08","ToDate":"2026-07-31"}


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Inspections&siteId=833&siteId=840&siteId=831&siteId=834


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/UserDetails


Request URL : https://api-qa-staging-2.oqsha.com/Assets/AssetTypes?OrgId=258&SortingOrder=asc&SortingColumn=Name


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/ProcessLists


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Inspection/26035/Comments


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Inspection/26035


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Statuses


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/TaskCategories/Dropdown


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/InspectionType/All?SortingColumn=InspectionType&SortingOrder=asc&siteId=831&userId=10313&ProcessId=139


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Tasks/List


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=831


Request Body : {"SiteId":[],"UserId":10313}


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Tasks&siteId=833&siteId=840&siteId=831&siteId=834


Request URL : https://api-qa-staging-2.oqsha.com/AppFilterUsers?Role=fieldStaff&OrgId=258


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Assets/Dropdown


Request Body : {"SiteId":831,"CompanyId":1670}


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Inspections&siteId=831&AcmModuleId=29&roleId=475&roleId=477


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/InspectionType/609


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/Inspection/26035/AssociatedTasks


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Module/29/Entity/26035/tasks


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/tasks?OrgId=258&SortingColumn=TaskTitle&SortingOrder=asc&siteId=831


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/InspectionType/All?SortingColumn=InspectionType&SortingOrder=asc&userId=10313


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Inspections


Request Body : {"OrgId":[258],"PageNumber":1,"PageLimit":10,"SearchTerm":"","SortingColumn":["InspectionStatus"],"SortingOrder":["desc"],"FromDate":"2026-06-08","ToDate":"2026-07-31"}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/InspectionStatus


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Inspections&siteId=833&siteId=840&siteId=831&siteId=834


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/AuditV2/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/Modules/99/Categories/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/262/Users/DropDown?siteId=841&siteId=871&siteId=872


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/Modules/99/Workflows/States/Types


Request Body : {"SiteIds":[841,871,872],"PageNumber":1,"PageLimit":1000,"UserId":267}


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/262/Users/DropDown?siteId=841


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/Modules/107/Workflows/States/Types


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/Modules/107/Categories/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=841


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/PreventiveMaintenance/All


Request Body : {"SiteIds":[841],"PageNumber":1,"PageLimit":1000,"UserId":267}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Modules/87/Categories


Sanitized JSON passed validation: {
  "Sections": [
    {
      "SectionId": 1,
      "SectionName": "New Section 1",
      "SectionType": "text",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 1,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "1_1",
          "Check": "New check 1",
          "Type": "text",
          "Value": null,
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {},
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "ContinuousTableOrientation": null,
            "Multiselect": false,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "ConditionalRulesMatchMode": "any",
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "AllowTaskAssociationV2": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "IsContinuousSectionTable": false,
      "MaxRows": null,
      "RequiredRows": 1,
      "ConditionalRules": [],
      "VisibilityRules": [],
      "AccessControlRules": []
    }
  ],
  "ActorContext": [],
  "DisplayAsColumnChecks": []
}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Modules/87/Categories/All


Request Body : {"SiteIds":[],"PageNumber":1,"PageLimit":10,"SortingColumn":["CreatedOn"],"SortingOrder":["desc"],"UserId":10313}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/InspectionType/All?SortingColumn=InspectionType&SortingOrder=asc&userId=10313


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/InspectionStatus


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Inspections&siteId=833&siteId=840&siteId=831&siteId=834


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Inspections


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/Modules/133/Categories/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/Modules/133/Workflows/States/Types


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=841&SiteId=871&SiteId=872


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/262/Users/DropDown?siteId=841&siteId=871&siteId=872


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/r4/All


Request Body : {"OrgId":[258],"PageNumber":1,"PageLimit":10,"SearchTerm":"","SortingColumn":["InspectionStatus"],"SortingOrder":["desc"],"FromDate":"2026-02-16","ToDate":"2026-02-23"}


Request Body : {"SiteIds":[841,871,872],"PageNumber":1,"PageLimit":1000,"UserId":267}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=833&SiteId=840&SiteId=831&SiteId=834


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/Users/DropDown?siteId=833&siteId=840&siteId=831&siteId=834


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/InspectionV2/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Modules/87/Workflows/States/Types


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Modules/87/Categories/All


Request Body : {"SiteIds":[833,840,831,834],"PageNumber":1,"PageLimit":1000,"UserId":10313}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Modules/87/Workflows/States/Startable


Request Body : {"SiteIds":[833],"PageNumber":1,"PageLimit":1000,"UserId":10313}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Modules/87/Categories/168


Request Body : {"Dimensions":{"CategoryTypeId":168}}


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/UserDetails


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/InspectionStatus


Request URL : https://api-qa-staging-2.oqsha.com/Assets/AssetTypes?OrgId=258&SortingOrder=asc&SortingColumn=Name


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/ProcessLists


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Inspections&siteId=831&AcmModuleId=29&roleId=475&roleId=477


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/InspectionTypeDropDown?ProcessIds=139


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/InspectionType/609


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Inspections&siteId=831&AcmModuleId=29&roleId=475&roleId=477&categoryIds=609


Request URL : https://api-qa-staging-2.oqsha.com/Resources/app-language-eng?orgId=211


Request URL : https://api-qa-staging-2.oqsha.com/Languages


Request URL : https://api-qa-staging-2.oqsha.com/Modules/APIs


Request URL : https://api-qa-staging-2.oqsha.com/Incidents


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/211/TicketStatus/Counts


Request URL : https://api-qa-staging-2.oqsha.com/Modules/Version/All?Appversion=7.9.0


Request URL : https://api-qa-staging-2.oqsha.com/Users/12026/FieldStaffOrganisations/


Request URL : https://api-qa-staging-2.oqsha.com/Users/12026/Organisations/


Request URL : https://api-qa-staging-2.oqsha.com/Resources/app-language-eng


Request URL : https://api-qa-staging-2.oqsha.com/AppVersions?DeviceType=android&IsLatestVersion=true&IsOqsha=true


Request URL : https://api-qa-staging-2.oqsha.com/Countries


Request URL : https://api-qa-staging-2.oqsha.com/AppVersions?DeviceType=android&Version=5.12.0&IsOqsha=true


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/InspectionV2


Pushing inspection v2 create notification events to NSQ


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/PendingActionsNotifications


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=833&SiteId=840&SiteId=831&SiteId=834


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/Users/DropDown?siteId=833&siteId=840&siteId=831&siteId=834


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/InspectionV2/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Modules/87/Categories/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Modules/87/Workflows/States/Types


Request Body : {"SiteIds":[833,840,831,834],"PageNumber":1,"PageLimit":1000,"UserId":10313}


Request URL : https://api-qa-staging-2.oqsha.com/Otp


Request Body : {"CountryCode":"+91","MobileNumber":"2000001875"}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/InspectionType/All?SortingColumn=InspectionType&SortingOrder=asc&userId=10313


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Inspections


Request Body : {"OrgId":[258],"PageNumber":1,"PageLimit":10,"SearchTerm":"","SortingColumn":["InspectionStatus"],"SortingOrder":["desc"],"FromDate":"2026-06-08","ToDate":"2026-07-31"}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/InspectionStatus


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Inspections&siteId=833&siteId=840&siteId=831&siteId=834


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/InspectionV2/50


Request Body : {"SiteIds":[833],"PageNumber":1,"PageLimit":1000,"UserId":10313}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Modules/87/Workflows/Transitions/Available


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Modules/87/Workflows/States/Startable


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=833&SiteId=840&SiteId=831&SiteId=834


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/Users/DropDown?siteId=833&siteId=840&siteId=831&siteId=834


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/InspectionV2/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Modules/87/Categories/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Modules/87/Categories/168


Request Body : {"Dimensions":{"CategoryTypeId":168}}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/InspectionV2


Pushing inspection v2 create notification events to NSQ


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Modules/87/Workflows/States/Types


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/PendingActionsNotifications


Request Body : {"SiteIds":[833,840,831,834],"PageNumber":1,"PageLimit":1000,"UserId":10313}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/InspectionV2/51


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/InspectionV2/51/Export


System.IO.FileNotFoundException: Could not find file 'D:\App-Data\iis\api-qa-staging.oqsha.com\api-qa-staging.oqsha.com\Templates\ExportInspectionV2PDFTemplate.html'.
File name: 'D:\App-Data\iis\api-qa-staging.oqsha.com\api-qa-staging.oqsha.com\Templates\ExportInspectionV2PDFTemplate.html'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
   at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
   at InspectionV2PDFHelper.<ExportInspectionV2PDFAsync>d__1.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\InspectionV2PDFHelper.cs:line 82
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IncidentReporter.API.BLL.InspectionV2Bll.<ExportInspectionV2PDFAsync>d__8.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\InspectionV2Bll.cs:line 897


Request Body : {"SiteIds":[833],"PageNumber":1,"PageLimit":1000,"UserId":10313}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/InspectionV2/52


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Modules/87/Workflows/Transitions/Available


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=833&SiteId=840&SiteId=831&SiteId=834


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/Users/DropDown?siteId=833&siteId=840&siteId=831&siteId=834


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/InspectionV2/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Inspections


Request Body : {"OrgId":[258],"PageNumber":1,"PageLimit":10,"SearchTerm":"","SortingColumn":["InspectionStatus"],"SortingOrder":["desc"],"FromDate":"2026-06-08","ToDate":"2026-07-31"}


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/UserDetails


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/ProcessLists


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/InspectionStatus


Request URL : https://api-qa-staging-2.oqsha.com/Assets/AssetTypes?OrgId=258&SortingOrder=asc&SortingColumn=Name


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Inspections&siteId=833&AcmModuleId=29&roleId=475&roleId=477


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/InspectionTypeDropDown?ProcessIds=139


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/InspectionType/609


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Inspections&siteId=833&AcmModuleId=29&roleId=475&roleId=477&categoryIds=609


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/258/Inspection