[INSPECTION] No inspection reminders to process


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


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


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


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


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


Request Body : {"SiteId":[833],"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":833,"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-30T00:00:00Z","AssigneeIds":[11130],"Attachments":[]}],"SaveStatus":2,"CheckListData":[],"InspectionId":14441,"SectionId":1,"InvestigationId":null}


[CreateTask] Started for OrgId: 258


[CreateTask] Step 1 - Initial setup: 0ms


[CreateTask] Step 2 - Fetch organization: 1ms


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


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


[CreateTask] Step 6 - Begin transaction: 0ms


[CreateTask] Processing SiteId: 833


[CreateTask] Step 7 - Validate input for SiteId 833: 4ms


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


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


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


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


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


[CreateTask] Step 13 - Insert task into database (TaskId: 11098): 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: 204ms


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


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


[CreateTask] Total time for SiteId 833: 566ms


[CreateTask] Step 29 - Commit transaction: 10ms


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


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


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


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/Organisation/258/Modules


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


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


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


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


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


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


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


Request Body : {"SiteId":[]}


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


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/Organisations/258/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=833


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


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


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


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


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Training/Counts


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


Request Body : {"SiteId":["708"]}


Request Body : {"SiteIds":["708"],"FromDate":"2025-04-01","ToDate":"2026-03-30"}


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Divisions/Dropdown


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Incidents/Counts


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


Request URL : https://api-sandbox.oqsha.com/Organisations/248/KPI/PlantMaster/Sites/Counts


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Inspections/Counts


Request URL : https://api-sandbox.oqsha.com/Organisations/248/PermitToWork/All/Sites/Counts


Request URL : https://api-sandbox.oqsha.com/Organisations/248/IncidentManagement/Firs/Counts


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Courses/Counts


Request URL : https://api-sandbox.oqsha.com/Organisations/248/ManagementOfChangeList/Counts


Request Body : {"SiteIds":["708"],"FromDate":"2025-04-01","ToDate":"2026-03-30","CategoryId":[1637,1574,1575,1576]}


Request Body : {"SiteIds":["708"]}


Request Body : {"SiteIds":["708"],"FromDate":"2025-04-01","ToDate":"2026-03-30","CategoryId":[]}


Request Body : {"SiteIds":["708"],"FromDate":"2025-04-01","ToDate":"2026-03-30","AcmModuleId":46}


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


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Library/Categories


Request URL : https://api-sandbox.oqsha.com/Organisation/248/KPI/PlantMasterDropdown


Request URL : https://api-sandbox.oqsha.com/Organisation/248/Users/DropDown?ModuleName=Library


Request URL : https://api-sandbox.oqsha.com/Organisation/248/KPI/EmployeeMasterDropdown


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


Request Body : {"OrgId":248}


Request Body : {"OrgId":[248],"SiteId":["708"]}


Request URL : https://api-sandbox.oqsha.com/Organisation/248/KPI/PlantMaster/AverageRatings


Request Body : {"KpiId":[25,37,31,42,16],"SiteIds":["708"]}


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Incidents/Counts


Request Body : {"SiteIds":["708"],"FromDate":"2025-04-01","ToDate":"2026-03-30","CategoryId":[1574]}


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


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Training/Counts


Request Body : {"SiteId":["708"]}


Request Body : {"SiteIds":["708"],"FromDate":"2026-03-01","ToDate":"2026-03-30"}


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Divisions/Dropdown


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


Request URL : https://api-sandbox.oqsha.com/Organisations/248/KPI/PlantMaster/Sites/Counts


Request URL : https://api-sandbox.oqsha.com/Organisations/248/IncidentManagement/Firs/Counts


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Inspections/Counts


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Courses/Counts


Request URL : https://api-sandbox.oqsha.com/Organisations/248/ManagementOfChangeList/Counts


Request URL : https://api-sandbox.oqsha.com/Organisations/248/PermitToWork/All/Sites/Counts


Request Body : {"SiteIds":["708"],"FromDate":"2026-03-01","ToDate":"2026-03-30","AcmModuleId":46}


Request Body : {"SiteIds":["708"],"FromDate":"2026-03-01","ToDate":"2026-03-30","CategoryId":[]}


Request Body : {"SiteIds":["708"],"FromDate":"2026-03-01","ToDate":"2026-03-30","CategoryId":[1637,1574,1575,1576]}


Request Body : {"SiteIds":["708"]}


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Library/Categories


Request URL : https://api-sandbox.oqsha.com/Organisation/248/KPI/PlantMasterDropdown


Request URL : https://api-sandbox.oqsha.com/Organisation/248/Users/DropDown?ModuleName=Library


Request URL : https://api-sandbox.oqsha.com/Organisation/248/KPI/EmployeeMasterDropdown


Request Body : {"OrgId":248}


Request Body : {"OrgId":[248],"SiteId":["708"]}


Request URL : https://api-sandbox.oqsha.com/Organisation/248/KPI/PlantMaster/AverageRatings


Request Body : {"KpiId":[25,37,31,42,16],"SiteIds":["708"]}


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


Request Body : {"SiteIds":["708"],"FromDate":"2026-03-01","ToDate":"2026-03-30","CategoryId":[59,668,16,19,253,24,21,20,394,58,18,57,97,25,56,50,393,14,15,22]}


Request Body : {"SiteIds":["708"],"FromDate":"2026-03-01","ToDate":"2026-03-30","CategoryId":[23]}


Request Body : {"SiteIds":["708"],"FromDate":"2026-03-01","ToDate":"2026-03-30","CategoryId":[23,59]}


Request Body : {"SiteIds":["708"],"FromDate":"2026-03-01","ToDate":"2026-03-30","CategoryId":[23,59,668]}


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/Organisation/258/UserDetails


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


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/Assets/AssetTypes?orgId=258&SortingOrder=asc&SortingColumn=Name&userId=1202


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


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


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/Statuses


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


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


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


Request Body : {"SiteId":[]}


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


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


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


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/Organisation/258/Users/DropDown?ModuleName=Inspections&siteId=833&AssetTypeId=236&roleId=475&roleId=477


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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