Request URL : https://api-sandbox.oqsha.com/Organisations/264/Modules/113/Categories/All


Request Body : {"SiteIds":[],"PageNumber":1,"PageLimit":10,"UserId":678}


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


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Modules/113/Workflows/States/Types


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


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Modules/113/Categories/107


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/87/FileUpload


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


Pushing inspection v2 create notification events to NSQ


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/87/Categories/All


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/87/Workflows/States/Types


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/262/InspectionV2/All


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Departments?SiteIds=845&SiteIds=846


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


Request Body : {"OrgId":[264],"PageNumber":1,"PageLimit":10,"SortingColumn":["CreatedOn"],"SortingOrder":["desc"],"SearchTerm":""}


Request URL : https://api-sandbox.oqsha.com/Organisations/262/InspectionV2/26


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/87/Workflows/Transitions/Available


Request Body : {"CurrentEntityState":"Draft","ActorContext":{},"EntityId":26}


Request URL : https://api-sandbox.oqsha.com/Transition-History?orgId=262&ModuleId=87&EntityId=26


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


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Modules/113/Workflows/States/Types


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Modules/113/Workflows/States


Request Body : {}


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Modules/113/Categories/Dropdown


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/87/Categories/All


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/87/Workflows/States/Types


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/262/InspectionV2/All


Request Body : {"CurrentEntityState":"Submitted","ActorContext":{},"EntityId":26}


Request Body : {"CurrentEntityState":"Partially Approved","ActorContext":{},"EntityId":26}


Request Body : {"CurrentEntityState":"Approved","ActorContext":{},"EntityId":26}


Request URL : https://api-sandbox.oqsha.com/Organisations/262/InspectionV2/26/Export


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Modules/113/Categories/All


Request Body : {"SiteIds":[],"PageNumber":1,"PageLimit":10,"UserId":678}


Request Body : {"Names":["Draft"]}


Request Body : {"Names":["Submitted"]}


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


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


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


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/264/Users/678


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


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Departments?SiteIds=845&SiteIds=846


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Reports/Dashboards


Request URL : https://api-sandbox.oqsha.com/Organisation/264/PortalUsers


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


Request Body : {"OrgId":[264],"PageNumber":1,"PageLimit":10,"SortingColumn":["CreatedOn"],"SortingOrder":["desc"],"SearchTerm":""}


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


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Roles/496/Comments


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Modules/113/Workflows


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Modules/113/Workflows/States


Request Body : {}


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


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


Request Body : {"OrgId":[256],"PageNumber":1,"PageLimit":1,"StartDate":"2026-05-22","EndDate":"2026-05-22","SearchTerm":"","SortingColumn":["CreatedOn"],"SortingOrder":["desc"]}


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Modules/113/Categories/All


Request Body : {"SiteIds":[],"PageNumber":1,"PageLimit":10,"UserId":678}


Request URL : https://api-sandbox.oqsha.com/Organisations/256/Divisions?userId=267&userTypeId=1


Request URL : https://api-sandbox.oqsha.com/Organisations/256/Divisions/List


Request Body : {"OrgId":[256],"SiteId":[],"UserId":267,"SearchTerm":""}


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Modules/119/Categories/All


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


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Modules/119/Workflows/States/Types


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


Request URL : https://api-sandbox.oqsha.com/Reports/IncidentCountReport?OrgId=256&StartDate=2026-05-22&EndDate=2026-05-22


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


Request URL : https://api-sandbox.oqsha.com/Reports/IncidentStatusReport?OrgId=256&FromDate=2026-05-15&ToDate=2026-05-22&DivisionId=1695&DivisionId=1702&DivisionId=1703


Request URL : https://api-sandbox.oqsha.com/Reports/IncidentCountReport?OrgId=256&StartDate=2026-05-15&EndDate=2026-05-22&DivisionId=1695&DivisionId=1702&DivisionId=1703


Request URL : https://api-sandbox.oqsha.com/Organisation/256/OrganisationStats?FromDate=2026-05-15&ToDate=2026-05-22&


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Safety-Alerts/241/Export


System.IO.FileNotFoundException: Could not find file 'D:\App-Data\iis\api.incidentreporter365.com\Templates\ExportSafetyAlert.html'.
File name: 'D:\App-Data\iis\api.incidentreporter365.com\Templates\ExportSafetyAlert.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 IncidentReporter.API.Helpers.SafetyAlertPDFHelper.<ExportSafetyAlertPDFAsync>d__3.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\SafetyAlertPDFHelper.cs:line 86
--- 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.SafetyAlertsBll.<ExportSafetyAlertPDFAsync>d__13.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\SafetyAlertsBll.cs:line 1414


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Modules/119/Categories