[INSPECTION] No inspection reminders to process


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Company/All?&IsActive=1


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Statuses


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Users/10313


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Tasks&siteId=840


Request URL : https://api-sandbox.oqsha.com/Organisations/258/TaskCategories/Dropdown


Request Body : {"SiteId":[840],"Source":"User"}


Request URL : https://api-sandbox.oqsha.com/Organisations/258


Request Body : {"SiteId":[]}


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Tasks/List


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Tasks


Request Body : {"SiteId":840,"SiteIds":null,"TaskStatus":376,"TaskCategoryId":null,"AssetIds":[],"RemindersConfig":[],"TaskDetails":[{"TaskDescription":"Test - Bay-A (Sand Yard area) - 2.Electrical boards are closed and no cables on floor.","Priority":2,"DueDate":"2026-03-31T00:00:00Z","AssigneeIds":[11612],"Attachments":[]}],"SaveStatus":2,"CheckListData":[],"InspectionId":14439,"SectionId":1,"InvestigationId":null}


[CreateTask] Started for OrgId: 258


[CreateTask] Step 1 - Initial setup: 0ms


[CreateTask] Step 2 - Fetch organization: 2ms


[CreateTask] Step 3 - Get task module ID: 1ms


[CreateTask] Step 4 - Fetch organization preferences: 2ms


[CreateTask] Step 6 - Begin transaction: 1ms


[CreateTask] Processing SiteId: 840


[CreateTask] Step 7 - Validate input for SiteId 840: 1ms


[CreateTask] Step 8 - Create task object: 0ms


[CreateTask] Step 9 - Fetch site and module details: 0ms


[CreateTask] Step 10 - Determine task category: 8ms


[CreateTask] Step 11 - Get task category short code: 2ms


[CreateTask] Step 12 - Generate task UID: 9ms


[CreateTask] Step 13 - Insert task into database (TaskId: 11094): 3ms


[CreateTask] Step 14 - Associate PSSR: 0ms


[CreateTask] Step 15 - Parse task association flag: 0ms


[CreateTask] Step 16 - Associate MOC: 0ms


[CreateTask] Step 17 - Associate Audit: 0ms


[CreateTask] Step 18 - Associate HIRA: 0ms


[CreateTask] Step 19 - Associate Investigation: 0ms


[CreateTask] Step 20 - Associate Ticket: 0ms


[CreateTask] Step 21 - Process checklist data: 0ms


[CreateTask] Step 22 - Insert assignees: 0ms


[CreateTask] Step 23 - Process asset IDs: 0ms


[CreateTask] Step 25 - Process child task details: 203ms


[CreateTask] Step 26 - Send assignee notifications: 33ms


[CreateTask] Step 28 - Fetch assignees and log audit: 75ms


[CreateTask] Total time for SiteId 840: 529ms


[CreateTask] Step 29 - Commit transaction: 24ms


[CreateTask] Step 30 - Send status update emails: 4ms


[CreateTask] Completed successfully for OrgId: 258. Total execution time: 569ms


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Inspection/14439


System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.API.BLL.InspectionsBLL.<UpdateInspectionDetails>d__28.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\InspectionsBLL.cs:line 2696


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Users/10313


Request URL : https://api-sandbox.oqsha.com/Organisation/258/UserDetails


Request URL : https://api-sandbox.oqsha.com/Organisations/258


Request URL : https://api-sandbox.oqsha.com/Assets/AssetTypes?orgId=258&SortingOrder=asc&SortingColumn=Name&userId=10313


Request URL : https://api-sandbox.oqsha.com/Organisations/258/InspectionStatus


Request URL : https://api-sandbox.oqsha.com/Organisations/258/ProcessLists


Request URL : https://api-sandbox.oqsha.com/Languages


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Modules


Request URL : https://api-sandbox.oqsha.com/Organisations/258/PendingActionsNotifications


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Inspection/14439


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Inspection/14439/Comments


Request URL : https://api-sandbox.oqsha.com/AccessControl/Modules/258


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Statuses


Request URL : https://api-sandbox.oqsha.com/Organisations/258/TaskCategories/Dropdown


Request Body : {"SiteId":[]}


Request URL : https://api-sandbox.oqsha.com/Organisation/258/InspectionType/All?SortingColumn=InspectionType&SortingOrder=asc&siteId=840&AssetTypeId=236


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=840


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Assets/Dropdown


Request Body : {"AssetTypeId":236,"SiteId":840,"CompanyId":1670}


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Tasks/List


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Inspections&siteId=840&AssetTypeId=236&roleId=475&roleId=477


Request URL : https://api-sandbox.oqsha.com/Organisations/258/InspectionType/610


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Module/29/Entity/14439/tasks


Request URL : https://api-sandbox.oqsha.com/Organisations/258/tasks?OrgId=258&SortingColumn=TaskTitle&SortingOrder=asc&siteId=840


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Inspection/14439/AssociatedTasks


Request URL : https://api-sandbox.oqsha.com/Organisation/258/UserDetails


Request URL : https://api-sandbox.oqsha.com/Organisations/258


Request URL : https://api-sandbox.oqsha.com/Assets/AssetTypes?orgId=258&SortingOrder=asc&SortingColumn=Name&userId=10313


Request URL : https://api-sandbox.oqsha.com/Organisations/258/InspectionStatus


Request URL : https://api-sandbox.oqsha.com/Organisations/258/ProcessLists


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Inspections&siteId=840&roleId=475&roleId=477


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=840


Request URL : https://api-sandbox.oqsha.com/Organisation/258/InspectionType/All?SortingColumn=InspectionType&SortingOrder=asc&siteId=840&AssetTypeId=236


Request URL : https://api-sandbox.oqsha.com/Resources/eng?orgId=258


Request URL : https://api-sandbox.oqsha.com/AccessControl/Modules/258


Request URL : https://api-sandbox.oqsha.com/Resources/package-features-eng


Request URL : https://api-sandbox.oqsha.com/Health


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Users/1202


Request URL : https://api-sandbox.oqsha.com/Countries


Request URL : https://api-sandbox.oqsha.com/Organisations/258/WorkPermit/Statuses


Request URL : https://api-sandbox.oqsha.com/Organisations/258/WorkPermit/1216


Request URL : https://api-sandbox.oqsha.com/Organisation/258/AccessControl/Roles


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Work Permit


Request URL : https://api-sandbox.oqsha.com/Organisations/258


Request URL : https://api-sandbox.oqsha.com/Organisations/258/WorkPermit/1216/History


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Departments?siteId=833


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Users/Dropdown?departmentId=242


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Modules


Request URL : https://api-sandbox.oqsha.com/Organisations/258/PendingActionsNotifications


Request URL : https://api-sandbox.oqsha.com/Languages


Request URL : https://api-sandbox.oqsha.com/Organisations/258/WorkPermit/Category/47?categoryType=Closure


Request URL : https://api-sandbox.oqsha.com/Organisations/258/WorkPermit/Category/1?categoryType=Extension


Request URL : https://api-sandbox.oqsha.com/Organisations/258/WorkPermit/ShiftTimings


Request URL : https://api-sandbox.oqsha.com/AccessControl/Modules/258


Request URL : https://api-sandbox.oqsha.com/Organisations/258/WorkPermit/Categories


Request Body : {"SortingColumn":["CategoryName"],"SortingOrder":["asc"],"SiteId":[833]}


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Users/Dropdown?siteId=833&departmentId=242


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Work Permit&SiteId=833


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Inspection