System.InvalidOperationException: JSReport render failed. Status: 404. Response: {"type":"about:blank","title":"Not Found","status":404,"detail":"Template 88524e71-fbcc-42d8-a59f-cf89cd7dcbb0 not found","instance":"/api/v1/render","error_code":"NOT_FOUND"}
   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 70
--- 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


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/UsersByRole?ptwJobDesignationId=2&siteId=508&companyId=335&jobTypeIds=86


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/UsersByRole?ptwJobDesignationId=3&siteId=508&companyId=335&jobTypeIds=86


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/UsersByRole?ptwJobDesignationId=4&siteId=508&companyId=335&jobTypeIds=86


Request URL : https://api-sandbox.oqsha.com/Organisations/207/PermitToWork/423207?extensionRequestedDate=2026-08-05


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


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/UsersByRole?ptwJobDesignationId=2&siteId=508&companyId=52&jobTypeIds=86


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/UsersByRole?ptwJobDesignationId=4&siteId=508&companyId=52&jobTypeIds=86


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/UsersByRole?ptwJobDesignationId=3&siteId=508&companyId=52&jobTypeIds=86


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


Pushing Permit to Work to NSQ


NotificationObject: {@Object}


Audit log sent successfully.


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


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


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


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


Request Body : {"SiteId":[],"DepartmentId":[],"FromDate":"2026-07-29","ToDate":"2026-08-12","Live":true,"Pending":true,"PermitToWorkStatus":["TemporarilySuspended"]}


Request URL : https://api-sandbox.oqsha.com/UserPushNotifications?filter.pageNumber=1&filter.pageLimit=10


Request URL : https://api-sandbox.oqsha.com/Users/1778/ExportAll?Export=true


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


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


Request Body : ***BODY REDACTED FOR SENSITIVE ENDPOINT***


JTI e342338b-555d-4b29-8260-2839839f6b4f for userId = 1778 is saved to database.


Request URL : https://api-sandbox.oqsha.com/AppVersions?DeviceType=android&IsLatestVersion=true&IsOqsha=true


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


Request URL : https://api-sandbox.oqsha.com/AppVersions?DeviceType=android&Version=6.6.2&IsOqsha=true


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


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


Request URL : https://api-sandbox.oqsha.com/Modules/Version/All?Appversion=6.6.2


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


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


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


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


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


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


Calling RegisterWithSNS for registering the device token : eXuP79tzRXuMFE0IPNyaVs:APA91bGp9gp_qvD6X1H7-BcFdjsiv04_rcWr1eyRIewor_Tzo2drVKsgvUdaM9eneL5KeGgsBooItdlzxXc82Dt_Zl0xLkinGBihEDOB0Gjr2_xkD5hFYWA


Invalid parameter: Token Reason: Endpoint arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/63bf59ca-8e4f-3e6d-9782-78889155292e already exists with the same Token, but different attributes.


Device Endpoint : arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/63bf59ca-8e4f-3e6d-9782-78889155292e


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


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


Request URL : https://api-sandbox.oqsha.com/UserPushNotifications?filter.pageNumber=1&filter.pageLimit=10


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/204/User/21585/PtwCompany?IsActive=1


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


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


Request Body : {"SiteId":[],"DepartmentId":[],"FromDate":"2026-07-29","ToDate":"2026-08-12","Live":true,"Pending":true,"PermitToWorkStatus":["TemporarilySuspended"]}


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Users/21585?orgid=204


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


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/UsersByRole?ptwJobDesignationId=2&siteId=508&companyId=52&jobTypeIds=86


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/UsersByRole?ptwJobDesignationId=2&siteId=508&companyId=335&jobTypeIds=86


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/UsersByRole?ptwJobDesignationId=3&siteId=508&companyId=52&jobTypeIds=86


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/UsersByRole?ptwJobDesignationId=3&siteId=508&companyId=335&jobTypeIds=86


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/UsersByRole?ptwJobDesignationId=4&siteId=508&companyId=52&jobTypeIds=86


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


Audit log sent successfully.


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


Request Body : {"Lat":20.280051,"Long":85.8025776,"PtwStatusId":4}


Pushing Permit to Work to NSQ


NotificationObject: {@Object}


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


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


Request URL : https://api-sandbox.oqsha.com/Organisation/262/Users/DropDown?siteId=887&siteId=882&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/99/Workflows/States/Types


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/UsersByRole?ptwJobDesignationId=2&siteId=508&companyId=52&jobTypeIds=84


Request URL : https://api-sandbox.oqsha.com/Users/1939?orgid=204


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/UsersByRole?ptwJobDesignationId=3&siteId=508&companyId=52&jobTypeIds=84


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/UsersByRole?ptwJobDesignationId=4&siteId=508&companyId=52&jobTypeIds=84


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


Request Body : {"SiteId":[],"DepartmentId":[],"FromDate":"2026-07-29","ToDate":"2026-08-12","Live":true,"Pending":true,"PermitToWorkStatus":["TemporarilySuspended"]}


Request URL : https://api-sandbox.oqsha.com/Users/21585/ExportAll?Export=true


Request URL : https://api-sandbox.oqsha.com/UserPushNotifications?filter.pageNumber=1&filter.pageLimit=10


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


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


Request Body : ***BODY REDACTED FOR SENSITIVE ENDPOINT***


JTI b92877bd-5791-4877-9f42-36a7da3c07ba for userId = 21585 is saved to database.


Request URL : https://api-sandbox.oqsha.com/AppVersions?DeviceType=android&IsLatestVersion=true&IsOqsha=true


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


Request URL : https://api-sandbox.oqsha.com/AppVersions?DeviceType=android&Version=6.6.2&IsOqsha=true


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


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


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


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


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


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


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


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


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


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/Dashboard/Organisations/262/SideMenu


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


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


Request Body : ***BODY REDACTED FOR SENSITIVE ENDPOINT***


Request URL : https://api-sandbox.oqsha.com/AppVersions?DeviceType=android&IsLatestVersion=true&IsOqsha=true


Request URL : https://api-sandbox.oqsha.com/AppVersions?DeviceType=android&Version=6.6.2&IsOqsha=true


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


Request URL : https://api-sandbox.oqsha.com/Modules/Version/All?Appversion=6.6.2


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


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


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


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


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


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


Calling RegisterWithSNS for registering the device token : eXuP79tzRXuMFE0IPNyaVs:APA91bGp9gp_qvD6X1H7-BcFdjsiv04_rcWr1eyRIewor_Tzo2drVKsgvUdaM9eneL5KeGgsBooItdlzxXc82Dt_Zl0xLkinGBihEDOB0Gjr2_xkD5hFYWA


Device Endpoint Created : arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/63bf59ca-8e4f-3e6d-9782-78889155292e


Device Endpoint Subscribed : arn:aws:sns:ap-south-1:637423593880:bundle-stg:69d2b641-e566-4b46-918e-c45da832606e


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


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


Request URL : https://api-sandbox.oqsha.com/UserPushNotifications?filter.pageNumber=1&filter.pageLimit=10


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/UserPushNotifications?filter.pageNumber=1&filter.pageLimit=10&filter.moduleId=14


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


Request URL : https://api-sandbox.oqsha.com/Users/1778/Notifications?PageNumber=1&PageLimit=10


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


Request Body : {}


Request URL : https://api-sandbox.oqsha.com/Organisations/204/User/1778/PtwCompany?IsActive=1


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


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


Request Body : {"SiteId":[],"DepartmentId":[],"FromDate":"2026-07-29","ToDate":"2026-08-12","Live":true,"Pending":true,"PermitToWorkStatus":["TemporarilySuspended"]}


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Users/21585?orgid=204


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/UsersByRole?ptwJobDesignationId=2&siteId=508&companyId=52&jobTypeIds=86


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/UsersByRole?ptwJobDesignationId=2&siteId=508&companyId=335&jobTypeIds=86


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/UsersByRole?ptwJobDesignationId=3&siteId=508&companyId=52&jobTypeIds=86


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/UsersByRole?ptwJobDesignationId=3&siteId=508&companyId=335&jobTypeIds=86


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/UsersByRole?ptwJobDesignationId=4&siteId=508&companyId=52&jobTypeIds=86


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


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


Request Body : {"Duration":2,"CompanyId":335,"ExtensionChecks":[{"Id":50,"Check":"Is sufficient Illumination to be provided","OrganisationId":204,"CreatedOn":"2024-07-12T03:38:12Z","Status":"Active","Type":"radiobutton","Value":"0","IsMandatory":1},{"Id":51,"Check":"Is security notified of night work","OrganisationId":204,"CreatedOn":"2024-07-12T03:38:12Z","Status":"Active","Type":"radiobutton","Value":"0","IsMandatory":1},{"Id":52,"Check":"Is medical aid resources available","OrganisationId":204,"CreatedOn":"2024-07-12T03:38:12Z","Status":"Active","Type":"radiobutton","Value":"0","IsMandatory":1},{"Id":53,"Check":"Availability & Use of PPE?s","OrganisationId":204,"CreatedOn":"2024-07-12T03:38:12Z","Status":"Active","Type":"radiobutton","Value":"0","IsMandatory":1},{"Id":54,"Check":"Proper Housekeeping to be done on daily basis","OrganisationId":204,"CreatedOn":"2024-07-12T03:38:12Z","Status":"Active","Type":"radiobutton","Value":"0","IsMandatory":1},{"Id":55,"Check":"Any other requirement (If Yes, please specify): \nEmergency exit are available, Emergency vehicle and First-aid provider shall be assured during the work \nMain Isolation Switch location is known to All","OrganisationId":204,"CreatedOn":"2024-07-12T03:38:12Z","Status":"Active","Type":"radiobutton","Value":"0","IsMandatory":1},{"Id":56,"Check":"Use of Full body harness with double lanyard & life line or anchor point (while doing hot work at height).","OrganisationId":204,"CreatedOn":"2024-07-12T03:38:12Z","Status":"Active","Type":"radiobutton","Value":"0","IsMandatory":1}],"PtwStatusId":9,"Lat":20.2800464,"Long":85.8025748,"ReviewerAssignedTo":21585,"IssuerAssignedTo":null,"ApproverAssignedTo":null}


Pushing Permit to Work to NSQ


NotificationObject: {@Object}


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


Request URL : https://api-sandbox.oqsha.com/Users/1778/ExportAll?Export=true


Request URL : https://api-sandbox.oqsha.com/UserPushNotifications?filter.pageNumber=1&filter.pageLimit=10


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


Request Body : ***BODY REDACTED FOR SENSITIVE ENDPOINT***


JTI eb968918-7cdb-4e78-b6d4-012d287ea8f0 for userId = 1778 is saved to database.


Request URL : https://api-sandbox.oqsha.com/AppVersions?DeviceType=android&IsLatestVersion=true&IsOqsha=true


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


Request URL : https://api-sandbox.oqsha.com/AppVersions?DeviceType=android&Version=6.6.2&IsOqsha=true


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


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


Request URL : https://api-sandbox.oqsha.com/Modules/Version/All?Appversion=6.6.2


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


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


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


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


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


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


Calling RegisterWithSNS for registering the device token : eXuP79tzRXuMFE0IPNyaVs:APA91bGp9gp_qvD6X1H7-BcFdjsiv04_rcWr1eyRIewor_Tzo2drVKsgvUdaM9eneL5KeGgsBooItdlzxXc82Dt_Zl0xLkinGBihEDOB0Gjr2_xkD5hFYWA


Invalid parameter: Token Reason: Endpoint arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/63bf59ca-8e4f-3e6d-9782-78889155292e already exists with the same Token, but different attributes.


Device Endpoint : arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/63bf59ca-8e4f-3e6d-9782-78889155292e


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


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


Request URL : https://api-sandbox.oqsha.com/UserPushNotifications?filter.pageNumber=1&filter.pageLimit=10


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


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


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


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


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisation/232/User/3978/JobTypes


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


Request URL : https://api-sandbox.oqsha.com/Organisations/204/User/21585/PtwCompany?IsActive=1


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


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


Request Body : {"SiteId":[],"DepartmentId":[],"FromDate":"2026-07-29","ToDate":"2026-08-12","Live":true,"Pending":true,"PermitToWorkStatus":["TemporarilySuspended"]}


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Users/21585?orgid=204


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/423210/PtwExtension/UTGJ9T


Request Body : {"Duration":2,"ExtensionChecks":[{"Id":50,"Check":"Is sufficient Illumination to be provided","Value":"0","Type":"radiobutton"},{"Id":51,"Check":"Is security notified of night work","Value":"0","Type":"radiobutton"},{"Id":52,"Check":"Is medical aid resources available","Value":"0","Type":"radiobutton"},{"Id":53,"Check":"Availability & Use of PPE?s","Value":"0","Type":"radiobutton"},{"Id":54,"Check":"Proper Housekeeping to be done on daily basis","Value":"0","Type":"radiobutton"},{"Id":55,"Check":"Any other requirement (If Yes, please specify): \nEmergency exit are available, Emergency vehicle and First-aid provider shall be assured during the work \nMain Isolation Switch location is known to All","Value":"0","Type":"radiobutton"},{"Id":56,"Check":"Use of Full body harness with double lanyard & life line or anchor point (while doing hot work at height).","Value":"0","Type":"radiobutton"}],"PtwStatusId":11,"Lat":20.2800464,"Long":85.8025748}


Pushing Permit to Work to NSQ


NotificationObject: {@Object}


Request URL : https://api-sandbox.oqsha.com/UserPushNotifications?filter.pageNumber=1&filter.pageLimit=10


Request URL : https://api-sandbox.oqsha.com/Users/21585/ExportAll?Export=true


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


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


Request Body : ***BODY REDACTED FOR SENSITIVE ENDPOINT***


JTI 49b598a4-81e7-463a-8c50-0d4796f52c79 for userId = 21585 is saved to database.


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


Request URL : https://api-sandbox.oqsha.com/AppVersions?DeviceType=android&IsLatestVersion=true&IsOqsha=true


Request URL : https://api-sandbox.oqsha.com/AppVersions?DeviceType=android&Version=6.6.2&IsOqsha=true


Request URL : https://api-sandbox.oqsha.com/Organisations/207/PermitToWork/423207?extensionRequestedDate=2026-08-05


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


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


Request URL : https://api-sandbox.oqsha.com/Modules/Version/All?Appversion=6.6.2


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


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


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


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


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


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


Calling RegisterWithSNS for registering the device token : eXuP79tzRXuMFE0IPNyaVs:APA91bGp9gp_qvD6X1H7-BcFdjsiv04_rcWr1eyRIewor_Tzo2drVKsgvUdaM9eneL5KeGgsBooItdlzxXc82Dt_Zl0xLkinGBihEDOB0Gjr2_xkD5hFYWA


Device Endpoint Created : arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/63bf59ca-8e4f-3e6d-9782-78889155292e


Device Endpoint Subscribed : arn:aws:sns:ap-south-1:637423593880:bundle-stg:69d2b641-e566-4b46-918e-c45da832606e


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


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


Request URL : https://api-sandbox.oqsha.com/UserPushNotifications?filter.pageNumber=1&filter.pageLimit=10


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


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/204/User/1778/PtwCompany?IsActive=1


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


Request Body : {"SiteId":[],"DepartmentId":[],"FromDate":"2026-07-29","ToDate":"2026-08-12","Live":true,"Pending":true,"PermitToWorkStatus":["TemporarilySuspended"]}


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


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/UsersByRole?ptwJobDesignationId=4&siteId=508&companyId=52&jobTypeIds=86


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/UsersByRole?ptwJobDesignationId=3&siteId=508&companyId=52&jobTypeIds=86


Request URL : https://api-sandbox.oqsha.com/Organisations/204/PermitToWork/UsersByRole?ptwJobDesignationId=2&siteId=508&companyId=52&jobTypeIds=86


Request URL : https://api-sandbox.oqsha.com/Users/21585?orgid=204


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


Request Body : {"PtwStatusId":6,"PtwId":423210,"PtwClosureChecks":[{"Id":14,"Check":"Ensure all guards are properly reinstalled.","OrganisationId":204,"Type":"radiobutton","Value":"0","IsMandatory":0,"CreatedOn":"2025-06-20T02:30:00Z","ModifiedOn":"2025-06-20T02:30:00Z","CreatedBy":1,"ModifiedBy":1,"Status":"Active"},{"Id":15,"Check":"Confirm the area is clear of all hazards and adheres to 5S standards.","OrganisationId":204,"Type":"radiobutton","Value":"0","IsMandatory":0,"CreatedOn":"2025-06-20T02:30:00Z","ModifiedOn":"2025-06-20T02:30:00Z","CreatedBy":1,"ModifiedBy":1,"Status":"Active"},{"Id":16,"Check":"Verify that there are no spills present.","OrganisationId":204,"Type":"radiobutton","Value":"0","IsMandatory":0,"CreatedOn":"2025-06-20T02:30:00Z","ModifiedOn":"2025-06-20T02:30:00Z","CreatedBy":1,"ModifiedBy":1,"Status":"Active"},{"Id":17,"Check":"Ensure a fire watch has been conducted for 30 minutes if hot work was performed.","OrganisationId":204,"Type":"radiobutton","Value":"0","IsMandatory":0,"CreatedOn":"2025-06-20T02:30:00Z","ModifiedOn":"2025-06-20T02:30:00Z","CreatedBy":1,"ModifiedBy":1,"Status":"Active"},{"Id":18,"Check":"Check that electrical panels and cables are securely closed and in a safe condition.","OrganisationId":204,"Type":"radiobutton","Value":"0","IsMandatory":0,"CreatedOn":"2025-06-20T02:30:00Z","ModifiedOn":"2025-06-20T02:30:00Z","CreatedBy":1,"ModifiedBy":1,"Status":"Active"},{"Id":19,"Check":"Others","OrganisationId":204,"Type":"freetext","Value":"0","IsMandatory":0,"CreatedOn":"2025-06-20T02:30:00Z","ModifiedOn":"2025-06-20T02:30:00Z","CreatedBy":1,"ModifiedBy":1,"Status":"Active"}]}


## Updating permit to work id: 423210 to  ##


## Adding ptw history for workPermit: 423210) as {"Id":null,"PermitToWorkId":null,"EntityId":423210,"Comments":"The status has changed to Closed.","CreatedOn":null,"CreatedBy":1778,"ModifiedOn":null,"ModifiedBy":1778,"ModifiedByName":null,"Attachments":null,"AttachmentType":null,"PtwStatus":null,"PtwStatusId":null,"PtwStatusCustomName":null,"Status":null,"CommentedBy":1778,"CommentedByDisplayName":null,"PtwHistoryAttachments":null,"EntityType":1,"CommentAddedBy":null,"CreatedByName":null,"CreatedByPicture":null}


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/204/FieldStaffAndAppUsers?siteIds=508


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


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/PermitToWork/All?SortingColumn=CreatedOn


Request Body : {"SiteId":[],"DepartmentId":[],"FromDate":"2026-07-29","ToDate":"2026-08-12","JobType":[]}


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Dashboard/Login


Request Body : ***BODY REDACTED FOR SENSITIVE ENDPOINT***


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


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


Request URL : https://api-sandbox.oqsha.com/Admin/Roles/1


Request URL : https://api-sandbox.oqsha.com/Packages/List


Request URL : https://api-sandbox.oqsha.com/Dashboard/Organisations?Pagination=true&PageNumber=1&PageLimit=10&SortingColumn=CreatedOn&SortingOrder=desc&SearchTerm=


Request URL : https://api-sandbox.oqsha.com/Dashboard/Organisations?Pagination=true&PageNumber=1&PageLimit=10&SortingColumn=CreatedOn&SortingOrder=desc&SearchTerm=s


Request URL : https://api-sandbox.oqsha.com/Dashboard/Organisations?Pagination=true&PageNumber=1&PageLimit=10&SortingColumn=CreatedOn&SortingOrder=desc&SearchTerm=sai


Request URL : https://api-sandbox.oqsha.com/Dashboard/Organisations?Pagination=true&PageNumber=1&PageLimit=10&SortingColumn=CreatedOn&SortingOrder=desc&SearchTerm=sailp


Request URL : https://api-sandbox.oqsha.com/Dashboard/Organisations?Pagination=true&PageNumber=1&PageLimit=10&SortingColumn=CreatedOn&SortingOrder=desc&SearchTerm=sailpoi


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


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


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Dashboard/Organisations/262/Divisions?OrgId=262


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


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


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


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


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


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


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


You are not part of the requested organisation UserId: 3, OrgId: 262, Module: Notifications


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


Request URL : https://api-sandbox.oqsha.com/Organisations/262/PermitToWork/All?PageNumber=1&PageLimit=10&SearchTerm=&SortingColumn=PermitToWorkStartDate&SortingOrder=desc&IsAdminUser=true


You are not part of the requested organisation UserId: 3, OrgId: 262, Module: Tickets


You are not part of the requested organisation UserId: 3, OrgId: 262, Module: PermitToWork

Question: ?PageNumber=1&PageLimit=10&SearchTerm=&SortingColumn=PermitToWorkStartDate&SortingOrder=desc&IsAdminUser=true


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Modules/85/Categories/100096