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


Request Body : {"IsPublished":true}


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


Request Body : {"SiteIds":[],"PageNumber":1,"PageLimit":10,"SortingColumn":["CreatedOn"],"SortingOrder":["desc"],"SearchTerm":"","UserId":267,"AcmModuleId":87}


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/All?SortingColumn=CreatedOn


Request Body : {"SiteId":[],"DepartmentId":[],"FromDate":"2026-08-19","ToDate":"2026-09-02","Live":true,"Pending":true,"PermitToWorkStatus":["TemporarilySuspended"]}


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


Request URL : https://api-sandbox.oqsha.com/Organisations/207/Contractors/All?siteIds=522&IsActive=1


Request URL : https://api-sandbox.oqsha.com/PtwStatuses?orgId=207


Request URL : https://api-sandbox.oqsha.com/Organisation/207/User/1855/JobTypes


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/438057?extensionRequestedDate=2026-08-26


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/438057/PermitToWorkHistory


Request URL : https://api-sandbox.oqsha.com/PtwStatuses?Level=2


Request URL : https://api-sandbox.oqsha.com/Organisations/207/PermitToWork/All


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/438057?Export=true


System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.API.Helpers.ExportPtwPDFHelper.FormatSectionContent(PermitToWorkSection section, String mediaServerUrl) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\ExportPtwPDFHelper.cs:line 335
   at IncidentReporter.API.Helpers.ExportPtwPDFHelper.ExportPtwPDF(PermitToWorkExportDBO ptw, String organisationBannerRelativePath, String organisationName, String outputAbsoluteFilePath, String templateFile, String timeZone, UserExistsInSiteAndCompanyDBO userExistsData, List`1 sectionsGroupedByJobType, PtwPreferences ptwOrgPreference) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\ExportPtwPDFHelper.cs:line 89
   at IncidentReporter.API.BLL.PtwBLL.<ExportPtwPDF>d__76.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\PtwBLL.cs:line 6173

Question: ?Export=true

Question: ?Export=true


Request Body : {"SiteIds":[882,926,912,881,886,884,883,889,888,885],"PageNumber":1,"PageLimit":1000,"UserId":267,"AcmModuleId":87}


Request URL : https://api-sandbox.oqsha.com/Organisation/262/Users/DropDown?siteId=882&siteId=926&siteId=912&siteId=881&siteId=886&siteId=884&siteId=883&siteId=889&siteId=888&siteId=885


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


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


Question: ?Export=true

Question: ?Export=true


Question: ?Export=true

Question: ?Export=true


Question: ?Export=true

Question: ?Export=true


Question: ?Export=true

Question: ?Export=true


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


Request Body : {}


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisation/262/Users/DropDown?ModuleName=Inspection V2&AcmModuleId=87&siteId=882&categoryIds=104&isActive=true


Request Body : {"Dimensions":{"CategoryTypeId":["104"]}}


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


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


Request Body : {"CategoryIds":[104]}


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


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


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


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


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


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


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisation/262/Users/DropDown?ModuleName=Action Trackers&siteId=882


Request URL : https://api-sandbox.oqsha.com/Organisation/262/Users/DropDown?ModuleName=Action Trackers


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


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


Request Body : {"Dimensions":{"CategoryTypeId":["107"]}}


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/83/Categories/107


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


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/438057?Export=true


Object reference not set to an instance of an object.

Question: ?Export=true

Question: ?Export=true


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


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


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


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


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


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/204/Contractors/All?siteIds=508&IsActive=1


Request URL : https://api-sandbox.oqsha.com/PtwStatuses?orgId=204


Request URL : https://api-sandbox.oqsha.com/Organisation/204/User/1778/JobTypes


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


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


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


Request URL : https://api-sandbox.oqsha.com/Dashboard/Organisations/204/SideMenu


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


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/All


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


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


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


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisation/262/Users/DropDown?ModuleName=Inspection V2&AcmModuleId=87&siteId=882&categoryIds=104&isActive=true


Request Body : {"CategoryIds":[104]}


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


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


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


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


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


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


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


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


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


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisation/262/Users/DropDown?ModuleName=Action Trackers


Request URL : https://api-sandbox.oqsha.com/Organisation/204/User/1778/JobTypes


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/438057/PermitToWorkHistory


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


Request URL : https://api-sandbox.oqsha.com/Organisations/204/User/1778/PTWCompany


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/438057?extensionRequestedDate=2026-08-26


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/ShiftTimings


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


Request URL : https://api-sandbox.oqsha.com/PtwStatuses?Level=2&orgId=204


Request URL : https://api-sandbox.oqsha.com/Organisations/204/GetUsersResponse/438057


Request URL : https://api-sandbox.oqsha.com/Assets?OrgId=204&LocationId=508&SortingColumn=UniqueAssetId&SortingOrder=asc&IsActive=true


Request URL : https://api-sandbox.oqsha.com/Organisation/204/UsersByJobTypesAndCompany?companyId=52&jobTypeIds=88


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PtwConfig?siteId=508&jobTypeIds=88


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/UserExistsInSiteAndCompany?siteId=508&companyId=52


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/438057?Export=true


Object reference not set to an instance of an object.

Question: ?Export=true

Question: ?Export=true


Question: ?Export=true

Question: ?Export=true


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


Request Body : {}


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


Request URL : https://api-sandbox.oqsha.com/Organisation/262/Users/DropDown?siteId=882&siteId=926&siteId=912&siteId=881&siteId=886&siteId=884&siteId=883&siteId=889&siteId=888&siteId=885


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


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


Request Body : {"SiteIds":[882,926,912,881,886,884,883,889,888,885],"PageNumber":1,"PageLimit":1000,"UserId":267,"AcmModuleId":87}


Request Body : {"SiteIds":[],"PageNumber":1,"PageLimit":10,"SortingColumn":["CreatedOn"],"SortingOrder":["desc"],"SearchTerm":"","UserId":267,"AcmModuleId":87}


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Trigger-Configs/Dropdowns


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


Request Body : {"PageNumber":1,"PageLimit":500,"IsPublished":true,"UserId":267,"AcmModuleId":83}