Configuration missing: JSREPORT_API_KEY

System.InvalidOperationException: Configuration missing: JSREPORT_API_KEY
   at IncidentReporter.API.Helpers.JsReportUtils.<RenderPdfAsync>d__0.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\JsReportUtils.cs:line 31
--- 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.Helpers.PdfExportSwitchHelper.<TryRenderPdfViaJsReportAsync>d__0.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\PdfExportSwitchHelper.cs:line 64


System.IO.FileNotFoundException: Fallback PDF template missing. Expected HTML template path: D:\App-Data\iis\api-qa-staging.oqsha.com\api-qa-staging.oqsha.com\Templates/PDFs\264\WorkPermitV2\GenericWork\ExportWorkPermitV2.html
File name: 'D:\App-Data\iis\api-qa-staging.oqsha.com\api-qa-staging.oqsha.com\Templates/PDFs\264\WorkPermitV2\GenericWork\ExportWorkPermitV2.html'
   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\WorkPermitV2PDFHelper.cs:line 89
   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\WorkPermitV2PDFHelper.cs:line 0
--- 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.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\WorkPermitV2Bll.cs:line 1556


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?siteId=845&siteId=846&siteId=900


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=845&SiteId=846&SiteId=900


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones/Sites


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


Request Body : {"ZoneIds":[10]}


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Safety-Alerts/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Safety-Alerts/478


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=264&ModuleId=77&EntityId=478


Request Body : {"SiteId":[],"SearchTerm":"","SortingColumn":["Name"],"SortingOrder":["asc"],"PageNumber":1,"PageSize":1000}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/77/FileUpload


Queueing Safety Alert Timer Engine event. OrgId=264, ModuleId=77, AlertId=478, TriggerEvent=Open


Publishing Timer Engine events. EventCount=1, Endpoint=/api/timer-engine/events/bulk


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?siteId=845&siteId=846&siteId=900


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=845&SiteId=846&SiteId=900


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones/Sites


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Safety-Alerts/All


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


Request Body : {"ZoneIds":[10]}


Timer Engine events POST succeeded. Status: OK, Body: {"status":"Success","data":{"totalEventCount":1,"successfulEventCount":1,"failedEventCount":0,"matchedRuleCount":0,"createdQueueCount":0,"skippedQueueCount":0,"errors":[],"skippedReasons":[]},"message":"Timer event batch submitted successfully.","errors":null}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Safety-Alerts/478


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=264&ModuleId=77&EntityId=478


Request Body : {"SiteId":[],"SearchTerm":"","SortingColumn":["Name"],"SortingOrder":["asc"],"PageNumber":1,"PageSize":1000}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/77/FileUpload


Queueing Safety Alert Timer Engine event. OrgId=264, ModuleId=77, AlertId=478, TriggerEvent=Open


Publishing Timer Engine events. EventCount=1, Endpoint=/api/timer-engine/events/bulk


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?siteId=845&siteId=846&siteId=900


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=845&SiteId=846&SiteId=900


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones/Sites


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Safety-Alerts/All


Request Body : {"ZoneIds":[10]}


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


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


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


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Users/678/incidentsites


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Safety-Alerts/478


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


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=264&ModuleId=77&EntityId=478


Request Body : {"SiteId":[],"SearchTerm":"","SortingColumn":["Name"],"SortingOrder":["asc"],"PageNumber":1,"PageSize":1000}


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?siteId=845&siteId=846&siteId=900


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=845&SiteId=846&SiteId=900


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones/Sites


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


Request Body : {"ZoneIds":[10]}


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Safety-Alerts/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/77/FileUpload


Queueing Safety Alert Timer Engine event. OrgId=264, ModuleId=77, AlertId=478, TriggerEvent=Open


Publishing Timer Engine events. EventCount=1, Endpoint=/api/timer-engine/events/bulk


Timer Engine events POST succeeded. Status: OK, Body: {"status":"Success","data":{"totalEventCount":1,"successfulEventCount":1,"failedEventCount":0,"matchedRuleCount":0,"createdQueueCount":0,"skippedQueueCount":0,"errors":[],"skippedReasons":[]},"message":"Timer event batch submitted successfully.","errors":null}


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Safety-Alerts/478


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=264&ModuleId=77&EntityId=478


Request Body : {"SiteId":[],"SearchTerm":"","SortingColumn":["Name"],"SortingOrder":["asc"],"PageNumber":1,"PageSize":1000}


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?siteId=845&siteId=846&siteId=900


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=845&SiteId=846&SiteId=900


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones/Sites


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


Request Body : {"ZoneIds":[10]}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Safety-Alerts/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/77/FileUpload


Queueing Safety Alert Timer Engine event. OrgId=264, ModuleId=77, AlertId=478, TriggerEvent=Open


Publishing Timer Engine events. EventCount=1, Endpoint=/api/timer-engine/events/bulk


Timer Engine events POST succeeded. Status: OK, Body: {"status":"Success","data":{"totalEventCount":1,"successfulEventCount":1,"failedEventCount":0,"matchedRuleCount":0,"createdQueueCount":0,"skippedQueueCount":0,"errors":[],"skippedReasons":[]},"message":"Timer event batch submitted successfully.","errors":null}


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Safety-Alerts/478


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=264&ModuleId=77&EntityId=478


Request Body : {"SiteId":[],"SearchTerm":"","SortingColumn":["Name"],"SortingOrder":["asc"],"PageNumber":1,"PageSize":1000}


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Resources/package-features-eng


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


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


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Dashboard/Organisations/264/SideMenu


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Reports/Dashboards


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Safety-Alerts/478


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


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


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


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


Request Body : {"SiteId":[],"SearchTerm":"","SortingColumn":["Name"],"SortingOrder":["asc"],"PageNumber":1,"PageSize":1000}


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=264&ModuleId=77&EntityId=478


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/77/FileUpload


Queueing Safety Alert Timer Engine event. OrgId=264, ModuleId=77, AlertId=478, TriggerEvent=Open


Publishing Timer Engine events. EventCount=1, Endpoint=/api/timer-engine/events/bulk


Timer Engine events POST succeeded. Status: OK, Body: {"status":"Success","data":{"totalEventCount":1,"successfulEventCount":1,"failedEventCount":0,"matchedRuleCount":0,"createdQueueCount":0,"skippedQueueCount":0,"errors":[],"skippedReasons":[]},"message":"Timer event batch submitted successfully.","errors":null}


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?siteId=845&siteId=846&siteId=900


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=845&SiteId=846&SiteId=900


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones/Sites


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Safety-Alerts/All


Request Body : {"ZoneIds":[10]}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Safety-Alerts/478


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=264&ModuleId=77&EntityId=478


Request Body : {"SiteId":[],"SearchTerm":"","SortingColumn":["Name"],"SortingOrder":["asc"],"PageNumber":1,"PageSize":1000}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/77/FileUpload


Queueing Safety Alert Timer Engine event. OrgId=264, ModuleId=77, AlertId=478, TriggerEvent=Open


Publishing Timer Engine events. EventCount=1, Endpoint=/api/timer-engine/events/bulk


Timer Engine events POST succeeded. Status: OK, Body: {"status":"Success","data":{"totalEventCount":1,"successfulEventCount":1,"failedEventCount":0,"matchedRuleCount":0,"createdQueueCount":0,"skippedQueueCount":0,"errors":[],"skippedReasons":[]},"message":"Timer event batch submitted successfully.","errors":null}


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?siteId=845&siteId=846&siteId=900


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=845&SiteId=846&SiteId=900


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones/Sites


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Safety-Alerts/All


Request Body : {"ZoneIds":[10]}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Safety-Alerts/478


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=264&ModuleId=77&EntityId=478


Request Body : {"SiteId":[],"SearchTerm":"","SortingColumn":["Name"],"SortingOrder":["asc"],"PageNumber":1,"PageSize":1000}


Request URL : https://api-qa-staging-2.oqsha.com/logs/2025-09-14_exception.ndjson


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/248/Departments?SiteId=705&SiteId=706&SiteId=707&SiteId=708&SiteId=709&SiteId=744&SortingColumn=Name&SortingOrder=Asc


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


Request URL : http://api-qa-staging-2.oqsha.com/Templates/PDFs/68/{PssrPortalUrl}/


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Resources/package-features-eng


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


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Dashboard/Organisations/264/SideMenu


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Reports/Dashboards


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones/Sites


Request Body : {"ZoneIds":[10]}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Training/Counts


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


Request Body : {"SiteIds":[845,846,900],"FromDate":"2026-04-01","ToDate":"2026-07-30"}


Request Body : {"SiteId":[845,846,900],"UserId":267}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Divisions/Dropdown


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/KPI/PlantMaster/Sites/Counts


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/IncidentManagement/Firs/Counts


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/ManagementOfChangeList/Counts


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/PermitToWork/All/Sites/Counts


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Courses/Counts


Request Body : {"SiteIds":[845,846,900],"FromDate":"2026-04-01","ToDate":"2026-07-30","CategoryId":[]}


Request Body : {"SiteIds":[845,846,900]}


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=845&SiteId=846&SiteId=900


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


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


Request Body : {"PageNumber":1,"PageLimit":1000,"UserId":267}


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones/Sites


Request Body : {"ZoneIds":[10]}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/All


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=264&ModuleId=85&EntityId=477


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/AccessControl/Roles


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/477


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=845&departmentId=262&isActive=true


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


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


Request Body : {"SiteId":[845],"SearchTerm":"","SortingColumn":["Name"],"SortingOrder":["asc"],"PageNumber":1,"PageSize":1000}


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=845&isActive=true


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/FileUpload


Work Permit V2 Notification Count from State Router: 0


Work Permit V2 ActorContext from State Router: System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.List`1[System.Int32]]


Trigger config check for Module: Work Permit V2, TriggerEvent: record_updated, CategoryId: 177 returned: False


Queueing Work Permit V2 Timer Engine event. OrgId=264, ModuleId=85, WorkPermitId=477, TriggerEvent=Requested


Publishing Timer Engine events. EventCount=1, Endpoint=/api/timer-engine/events/bulk


Timer Engine events POST succeeded. Status: OK, Body: {"status":"Success","data":{"totalEventCount":1,"successfulEventCount":1,"failedEventCount":0,"matchedRuleCount":0,"createdQueueCount":0,"skippedQueueCount":0,"errors":[],"skippedReasons":[]},"message":"Timer event batch submitted successfully.","errors":null}


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=845&SiteId=846&SiteId=900


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


Request Body : {"PageNumber":1,"PageLimit":1000,"UserId":267}


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones/Sites


Request Body : {"ZoneIds":[10]}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/All


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=264&ModuleId=85&EntityId=477


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/477


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/AccessControl/Roles


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=845&departmentId=262&isActive=true


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


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


Request Body : {"SiteId":[845],"SearchTerm":"","SortingColumn":["Name"],"SortingOrder":["asc"],"PageNumber":1,"PageSize":1000}


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=845&isActive=true


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Resources/package-features-eng


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


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Dashboard/Organisations/264/SideMenu


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Reports/Dashboards


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones/Sites


Request Body : {"ZoneIds":[10]}


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Training/Counts


Request Body : {"SiteId":[845,846,900],"UserId":267}


Request Body : {"SiteIds":[845,846,900],"FromDate":"2026-04-01","ToDate":"2026-07-30"}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Divisions/Dropdown


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Courses/Counts


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/IncidentManagement/Firs/Counts


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/KPI/PlantMaster/Sites/Counts


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/PermitToWork/All/Sites/Counts


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/ManagementOfChangeList/Counts


Request Body : {"SiteIds":[845,846,900],"FromDate":"2026-04-01","ToDate":"2026-07-30","CategoryId":[]}


Request Body : {"SiteIds":[845,846,900]}


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=845&SiteId=846&SiteId=900


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


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


Request Body : {"PageNumber":1,"PageLimit":1000,"UserId":267}


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/Zones/Sites


Request Body : {"ZoneIds":[10]}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/All


Request URL : https://api-qa-staging-2.oqsha.com/Transition-History?orgId=264&ModuleId=85&EntityId=477


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/477


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/AccessControl/Roles


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=845&departmentId=262&isActive=true


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


Request Body : {"SiteId":[845],"SearchTerm":"","SortingColumn":["Name"],"SortingOrder":["asc"],"PageNumber":1,"PageSize":1000}


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&siteId=845&isActive=true


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/264/WorkPermitV2/477/Export