Sanitized JSON passed validation: {
  "Sections": [
    {
      "SectionId": 1,
      "SectionName": "Immediate Corrective Actions taken",
      "SectionType": "table",
      "MandatoryChecksCount": 0,
      "OrganisationId": 387,
      "Status": 1,
      "Rank": 1,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": 1,
          "Check": "Actions",
          "Type": "table",
          "Value": "0",
          "IsMandatory": 0,
          "CheckConfiguration": null
        },
        {
          "Id": 2,
          "Check": "Responsibility",
          "Type": "freetext",
          "Value": "",
          "IsMandatory": 0
        },
        {
          "Id": 3,
          "Check": "Status",
          "Type": "freetext",
          "Value": "",
          "IsMandatory": 0
        },
        {
          "Id": 4,
          "Check": "Completion date",
          "Type": "date",
          "Value": "0",
          "IsMandatory": 0
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": true,
      "TableConfig": {
        "CheckConfiguration": {
          "columnsItems": [
            {
              "field": "check_1",
              "header": "Actions",
              "type": "table",
              "editable": true,
              "required": false
            },
            {
              "field": "check_2",
              "header": "Responsibility",
              "type": "freetext",
              "editable": true,
              "required": false
            },
            {
              "field": "check_3",
              "header": "Status",
              "type": "freetext",
              "editable": true,
              "required": false
            },
            {
              "field": "check_4",
              "header": "Completion date",
              "type": "date",
              "editable": true,
              "required": false
            }
          ]
        },
        "Rows": [
          {
            "check_1": "",
            "check_2": "",
            "check_3": "",
            "check_4": null
          }
        ]
      },
      "SectionFiles": []
    },
    {
      "SectionId": 2,
      "SectionName": "Injury treatment details",
      "SectionType": "number",
      "MandatoryChecksCount": 0,
      "OrganisationId": 387,
      "Status": 1,
      "Rank": 2,
      "AllowAttachments": true,
      "FileUploadControl": {
        "IsCameraAllowed": true,
        "IsImageUploadAllowed": true,
        "IsVideoUploadAllowed": true,
        "IsAudioUploadAllowed": true,
        "IsFileUploadAllowed": true
      },
      "Checks": [
        {
          "Id": 1,
          "Check": "Number of people injured:",
          "Type": "number",
          "Value": 1,
          "IsMandatory": 0
        },
        {
          "Id": 2,
          "Check": "Treatment of injury",
          "Type": "dynamicradiobutton",
          "Value": "3",
          "IsMandatory": 1,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Treated at OHC"
            },
            {
              "OptionId": 2,
              "OptionText": "Referred to Hospital for Treatment"
            },
            {
              "OptionId": 3,
              "OptionText": "Treated at OHC & Referred for Diagnosis"
            }
          ]
        },
        {
          "Id": 3,
          "Check": "Details of treatment given & doctor’s advice:",
          "Type": "freetext",
          "Value": "",
          "IsMandatory": 0
        },
        {
          "Id": 4,
          "Check": "abcd",
          "Type": "singleselect",
          "Value": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            }
          ],
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            }
          ]
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "SectionFiles": []
    },
    {
      "SectionId": 3,
      "SectionName": "Injured person details",
      "SectionType": "freetext",
      "MandatoryChecksCount": 0,
      "OrganisationId": 387,
      "Status": 1,
      "Rank": 3,
      "AllowAttachments": true,
      "FileUploadControl": {
        "IsCameraAllowed": true,
        "IsImageUploadAllowed": true,
        "IsVideoUploadAllowed": true,
        "IsAudioUploadAllowed": true,
        "IsFileUploadAllowed": true
      },
      "Checks": [
        {
          "Id": 1,
          "Check": "Name of the injured person",
          "Type": "freetext",
          "Value": "Mounika",
          "IsMandatory": 0
        },
        {
          "Id": 2,
          "Check": "Injury Happened in Which Shift? ",
          "Type": "freetext",
          "Value": "",
          "IsMandatory": 0
        },
        {
          "Id": 3,
          "Check": "No. of years in this process / machine ",
          "Type": "freetext",
          "Value": "",
          "IsMandatory": 0
        },
        {
          "Id": 4,
          "Check": "No. of Year’s total experience in TTK Prestige ",
          "Type": "freetext",
          "Value": "10",
          "IsMandatory": 0
        },
        {
          "Id": 5,
          "Check": "If Off role, mention the contractor name: ",
          "Type": "freetext",
          "Value": "",
          "IsMandatory": 0
        },
        {
          "Id": 6,
          "Check": "Age",
          "Type": "number",
          "Value": 50,
          "IsMandatory": 0
        },
        {
          "Id": 7,
          "Check": "Role – ON / OFF",
          "Type": "dynamicradiobutton",
          "Value": "1",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "On Roll"
            },
            {
              "OptionId": 2,
              "OptionText": "Off Roll"
            }
          ]
        },
        {
          "Id": 8,
          "Check": "Gender",
          "Type": "dynamicradiobutton",
          "Value": "2",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Male"
            },
            {
              "OptionId": 2,
              "OptionText": "Female"
            }
          ]
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "SectionFiles": []
    },
    {
      "SectionId": 4,
      "SectionName": "Photograph of injury & machine",
      "SectionType": "file",
      "MandatoryChecksCount": 0,
      "OrganisationId": 387,
      "Status": 1,
      "Rank": 4,
      "AllowAttachments": true,
      "FileUploadControl": {
        "IsCameraAllowed": true,
        "IsImageUploadAllowed": true,
        "IsVideoUploadAllowed": true,
        "IsAudioUploadAllowed": true,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": 1,
          "Check": "Attach",
          "Type": "file",
          "Value": "0",
          "IsMandatory": 1
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "SectionFiles": []
    }
  ]
}


Request URL : https://api-qa-staging-2.oqsha.com/attachments/organisations/myHome_56983377-6846-4132-9e03-5c549fa571cc.jpg


Pushing Incident Validated Notification Event to NSQ


NotificationObject: {"EventName":"INCIDENT_FIRRELEASED_NOTIFICATION", "EventArgs":[{"Key":"UserId", "Value":"2764"},{"Key":"IncidentId", "Value":"1622"},{"Key":"OrgId", "Value":"387"},{"Key":"PreviousApproverName", "Value":"Lalit Aditya Kola"},{"Key":"InjuredCount", "Value":"1"}]}


Pushing External User FIR Release Notification Event to NSQ


Audit log sent successfully.


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Users/1954


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Statuses


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Categories


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Departments?siteId=1084&siteId=872&siteId=871&siteId=1020&siteId=875&siteId=877


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/Users/DropDown?ModuleName=Incident Management&siteId=1084&siteId=872&siteId=871&siteId=1020&siteId=875&siteId=877


Request Body : {"SiteId":[1084,872,871,1020,875,877]}


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Incident/1622/Export


Request URL : https://api-qa-staging-2.oqsha.com/attachments/organisations/TTKe54e850aa12b4b5f830ce5eef42ebe6113210b00635094233a5fe45e2473a2bc7_8a928947-bcb6-41d0-ae2c-314a7206cbfe.png


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


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


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


Request Body : {"SiteId":[]}


Request URL : https://api-qa-staging-2.oqsha.com/AppFilterUsers?Role=fieldStaff&OrgId=387&LocationId=872&LocationId=934&LocationId=923&LocationId=871&LocationId=877&LocationId=924


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/Users/DropDown??ModuleName=Tasks


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Investigation/Categories


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Investigation/Statuses


Request Body : {}


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Incident/1622


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Departments?siteId=872


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/Users/DropDown?ModuleName=Incident Management&siteId=872


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/FieldStaffAndAppUsers?SiteIds=872


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Incident/1622/History


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Categories


Request URL : https://api-qa-staging-2.oqsha.com/Assets?orgId=387&LocationId=872&isActive=true


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


Request Body : {"OrgId":[387],"RoleId":[541],"LocationId":[872],"SortingColumn":["DisplayName"],"SortingOrder":["asc"],"PageSize":1000,"PageNumber":1,"IsActive":true}


Request Body : {"OrgId":[387],"RoleId":[540],"LocationId":[872],"SortingColumn":["DisplayName"],"SortingOrder":["asc"],"PageSize":1000,"PageNumber":1,"IsActive":true}


Request Body : {"OrgId":[387],"RoleId":[545],"LocationId":[872],"SortingColumn":["DisplayName"],"SortingOrder":["asc"],"PageSize":1000,"PageNumber":1,"IsActive":true}


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/UserPreference/1954


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


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


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/310/Users/1


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/310/Company/All?IsActive=1


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/310/PermitToWorkCounts?&fromDate=2026-02-03&toDate=2026-02-17


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/310/PermitToWorkStatusCounts?isLive=true&isPending=true&fromDate=2026-02-03&toDate=2026-02-17


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/310/PtwStatsReport?fromDate=2026-02-03&toDate=2026-02-17


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=1084&SiteId=872&SiteId=871&SiteId=1020&SiteId=875&SiteId=877


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/WorkPermit/Statuses


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/WorkPermit/Categories


Request Body : {}


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/310/User/1/Dashboards


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/WorkPermit/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Users/1954


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


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


Request Body : {"SiteId":[]}


Request URL : https://api-qa-staging-2.oqsha.com/AppFilterUsers?Role=fieldStaff&OrgId=387&LocationId=872&LocationId=934&LocationId=923&LocationId=871&LocationId=877&LocationId=924


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/Users/DropDown??ModuleName=Tasks


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


Request URL : http://localhost:9092/OsmoVisionIncident


Request Values read: AssetUid = 00000016, IncidentDescription = 00000016:
  Unknown-61989: NO-Hardhat, NO-Safety Vest


Pushing Assigned to Notification object to NSQ


NotificationObject: {"EventName":"ASSIGNED_TO_NOTIFICATION", "EventArgs":[{"Key":"AssignedIncidentID", "Value":44850},{"Key":"AssignedToID", "Value":2355}]}


NotificationObject: {"EventName":"ASSIGNED_TO_NOTIFICATION", "EventArgs":[{"Key":"AssignedIncidentID", "Value":44850},{"Key":"AssignedToID", "Value":2815}]}


NotificationObject: {"EventName":"ASSIGNED_TO_NOTIFICATION", "EventArgs":[{"Key":"AssignedIncidentID", "Value":44850},{"Key":"AssignedToID", "Value":1761}]}


Immediate notifications not found. Disposing the notification object.


Pushing New Incident Notification object to NSQ


NotificationObject: {"EventName":"NEW_INCIDENT", "EventArgs":[{"Key":"IncidentID", "Value":44850}]}


Inserting activity with data: IncidentReporter.DAL.Models.ActivityDBO


Audit log sent successfully.


OsmoVision Webhook Incident is created. Incident Id = 44850


Attachment count : 1;


Validating attachment : combined_20260210_052802_217651_f12667239.jpg;


Attachments updated for the incident Id = 44850


Request URL : https://api-qa-staging-2.oqsha.com/attachments/organisations/myHome_56983377-6846-4132-9e03-5c549fa571cc.jpg


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Users/2884


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Incident/1622


Sanitized JSON passed validation: {
  "Sections": [
    {
      "SectionId": 1,
      "SectionName": "Immediate Corrective Actions taken",
      "SectionType": "table",
      "MandatoryChecksCount": 0,
      "OrganisationId": 387,
      "Status": 1,
      "Rank": 1,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": 1,
          "Check": "Actions",
          "Type": "table",
          "Value": "0",
          "IsMandatory": 0,
          "CheckConfiguration": null
        },
        {
          "Id": 2,
          "Check": "Responsibility",
          "Type": "freetext",
          "Value": "",
          "IsMandatory": 0
        },
        {
          "Id": 3,
          "Check": "Status",
          "Type": "freetext",
          "Value": "",
          "IsMandatory": 0
        },
        {
          "Id": 4,
          "Check": "Completion date",
          "Type": "date",
          "Value": "0",
          "IsMandatory": 0
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": true,
      "TableConfig": {
        "CheckConfiguration": {
          "columnsItems": [
            {
              "field": "check_1",
              "header": "Actions",
              "type": "table",
              "editable": true,
              "required": false
            },
            {
              "field": "check_2",
              "header": "Responsibility",
              "type": "freetext",
              "editable": true,
              "required": false
            },
            {
              "field": "check_3",
              "header": "Status",
              "type": "freetext",
              "editable": true,
              "required": false
            },
            {
              "field": "check_4",
              "header": "Completion date",
              "type": "date",
              "editable": true,
              "required": false
            }
          ]
        },
        "Rows": [
          {
            "check_1": "",
            "check_2": "",
            "check_3": "",
            "check_4": null
          }
        ]
      },
      "SectionFiles": []
    },
    {
      "SectionId": 2,
      "SectionName": "Injury treatment details",
      "SectionType": "number",
      "MandatoryChecksCount": 0,
      "OrganisationId": 387,
      "Status": 1,
      "Rank": 2,
      "AllowAttachments": true,
      "FileUploadControl": {
        "IsCameraAllowed": true,
        "IsImageUploadAllowed": true,
        "IsVideoUploadAllowed": true,
        "IsAudioUploadAllowed": true,
        "IsFileUploadAllowed": true
      },
      "Checks": [
        {
          "Id": 1,
          "Check": "Number of people injured:",
          "Type": "number",
          "Value": 1,
          "IsMandatory": 0
        },
        {
          "Id": 2,
          "Check": "Treatment of injury",
          "Type": "dynamicradiobutton",
          "Value": "3",
          "IsMandatory": 1,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Treated at OHC"
            },
            {
              "OptionId": 2,
              "OptionText": "Referred to Hospital for Treatment"
            },
            {
              "OptionId": 3,
              "OptionText": "Treated at OHC & Referred for Diagnosis"
            }
          ]
        },
        {
          "Id": 3,
          "Check": "Details of treatment given & doctor’s advice:",
          "Type": "freetext",
          "Value": "",
          "IsMandatory": 0
        },
        {
          "Id": 4,
          "Check": "abcd",
          "Type": "singleselect",
          "Value": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            }
          ],
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            }
          ]
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "SectionFiles": []
    },
    {
      "SectionId": 3,
      "SectionName": "Injured person details",
      "SectionType": "freetext",
      "MandatoryChecksCount": 0,
      "OrganisationId": 387,
      "Status": 1,
      "Rank": 3,
      "AllowAttachments": true,
      "FileUploadControl": {
        "IsCameraAllowed": true,
        "IsImageUploadAllowed": true,
        "IsVideoUploadAllowed": true,
        "IsAudioUploadAllowed": true,
        "IsFileUploadAllowed": true
      },
      "Checks": [
        {
          "Id": 1,
          "Check": "Name of the injured person",
          "Type": "freetext",
          "Value": "Mounika",
          "IsMandatory": 0
        },
        {
          "Id": 2,
          "Check": "Injury Happened in Which Shift? ",
          "Type": "freetext",
          "Value": "",
          "IsMandatory": 0
        },
        {
          "Id": 3,
          "Check": "No. of years in this process / machine ",
          "Type": "freetext",
          "Value": "",
          "IsMandatory": 0
        },
        {
          "Id": 4,
          "Check": "No. of Year’s total experience in TTK Prestige ",
          "Type": "freetext",
          "Value": "10",
          "IsMandatory": 0
        },
        {
          "Id": 5,
          "Check": "If Off role, mention the contractor name: ",
          "Type": "freetext",
          "Value": "",
          "IsMandatory": 0
        },
        {
          "Id": 6,
          "Check": "Age",
          "Type": "number",
          "Value": 50,
          "IsMandatory": 0
        },
        {
          "Id": 7,
          "Check": "Role – ON / OFF",
          "Type": "dynamicradiobutton",
          "Value": "1",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "On Roll"
            },
            {
              "OptionId": 2,
              "OptionText": "Off Roll"
            }
          ]
        },
        {
          "Id": 8,
          "Check": "Gender",
          "Type": "dynamicradiobutton",
          "Value": "2",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Male"
            },
            {
              "OptionId": 2,
              "OptionText": "Female"
            }
          ]
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "SectionFiles": []
    },
    {
      "SectionId": 4,
      "SectionName": "Photograph of injury & machine",
      "SectionType": "file",
      "MandatoryChecksCount": 0,
      "OrganisationId": 387,
      "Status": 1,
      "Rank": 4,
      "AllowAttachments": true,
      "FileUploadControl": {
        "IsCameraAllowed": true,
        "IsImageUploadAllowed": true,
        "IsVideoUploadAllowed": true,
        "IsAudioUploadAllowed": true,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": 1,
          "Check": "Attach",
          "Type": "file",
          "Value": "0",
          "IsMandatory": 1
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "SectionFiles": []
    }
  ]
}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Investigation/Category/8


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Users/1954


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Investigation


Pushing Incident Investigation In Progress Notification Event to NSQ


NotificationObject: {"EventName":"INCIDENT_INVESTIGATION_INPROGRESS_NOTIFICATION", "EventArgs":[{"Key":"UserIds", "Value":"[2884]"},{"Key":"IncidentId", "Value":"1622"},{"Key":"OrgId", "Value":"387"},{"Key":"PreviousApproverName", "Value":"Lalit Aditya Kola"},{"Key":"InjuredCount", "Value":"1"}]}


Sanitized JSON passed validation: {
  "Sections": [
    {
      "SectionId": 1,
      "SectionName": "Immediate Action Taken: (Reference from FIR)",
      "SectionType": "text",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 1,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "1_1",
          "Check": "Actions",
          "Type": "text",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 25
          }
        },
        {
          "Id": "1_2",
          "Check": "Responsibility",
          "Type": "text",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 25
          }
        },
        {
          "Id": "1_3",
          "Check": "Status",
          "Type": "text",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 25
          }
        },
        {
          "Id": "1_4",
          "Check": "Completion date",
          "Type": "date",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 25
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": true,
      "ConditionalRules": [],
      "TableConfig": {
        "CheckConfiguration": {
          "columnsItems": [
            {
              "field": "check_1",
              "header": "Actions",
              "type": "text",
              "editable": true,
              "required": false,
              "alignment": "center"
            },
            {
              "field": "check_2",
              "header": "Responsibility",
              "type": "text",
              "editable": true,
              "required": false,
              "alignment": "center"
            },
            {
              "field": "check_3",
              "header": "Status",
              "type": "text",
              "editable": true,
              "required": false,
              "alignment": "center"
            },
            {
              "field": "check_4",
              "header": "Completion date",
              "type": "date",
              "editable": true,
              "required": false,
              "alignment": "center"
            }
          ]
        }
      }
    },
    {
      "SectionId": 2,
      "SectionName": "Occurence:- Repetitive/New",
      "SectionType": "date",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 2,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "2_1",
          "Check": "If Repetitive,Last date of incident",
          "Type": "date",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "2_2",
          "Check": "Plant",
          "Type": "text",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "2_3",
          "Check": "Department",
          "Type": "select",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Dept 1"
            },
            {
              "OptionId": 2,
              "OptionText": "Dept 2"
            }
          ],
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "2_4",
          "Check": "Line",
          "Type": "text",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 3,
      "SectionName": "Root Cause Analysis",
      "SectionType": "text",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 3,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "3_1",
          "Check": "Why",
          "Type": "text",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "3_2",
          "Check": "Root Cause:",
          "Type": "text",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 50
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": true,
      "ConditionalRules": [],
      "TableConfig": {
        "CheckConfiguration": {
          "columnsItems": [
            {
              "field": "check_1",
              "header": "Why",
              "type": "text",
              "editable": true,
              "required": false,
              "alignment": "center"
            },
            {
              "field": "check_2",
              "header": "Root Cause:",
              "type": "text",
              "editable": true,
              "required": false,
              "alignment": "center"
            }
          ]
        }
      }
    },
    {
      "SectionId": 4,
      "SectionName": "Preventive Action",
      "SectionType": "text",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 4,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "4_1",
          "Check": "Action",
          "Type": "text",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 25
          }
        },
        {
          "Id": "4_2",
          "Check": "Responsibility",
          "Type": "text",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 25
          }
        },
        {
          "Id": "4_3",
          "Check": "Target date for completion",
          "Type": "date",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "4_4",
          "Check": "single select",
          "Type": "select",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            }
          ],
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": true,
      "ConditionalRules": [],
      "TableConfig": {
        "CheckConfiguration": {
          "columnsItems": [
            {
              "field": "check_1",
              "header": "Action",
              "type": "text",
              "editable": true,
              "required": false,
              "alignment": "center"
            },
            {
              "field": "check_2",
              "header": "Responsibility",
              "type": "text",
              "editable": true,
              "required": false,
              "alignment": "center"
            },
            {
              "field": "check_3",
              "header": "Target date for completion",
              "type": "date",
              "editable": true,
              "required": false,
              "alignment": "center"
            },
            {
              "field": "check_4",
              "header": "single select",
              "type": "select",
              "editable": true,
              "required": false,
              "alignment": "center"
            }
          ]
        }
      }
    },
    {
      "SectionId": 5,
      "SectionName": "Reviews and Learning",
      "SectionType": "text",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 5,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "5_1",
          "Check": "Documents Revised Based on CAPA",
          "Type": "text",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "5_2",
          "Check": "Lessons Learned",
          "Type": "text",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 0,
      "SectionName": "Standalone Checks",
      "SectionType": "",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 0,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "0_1",
          "Check": "Category of Incident",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 1,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Category 1 - Fatal/ Dangerous occurrence- Reportable "
            },
            {
              "OptionId": 2,
              "OptionText": "Category 2 - Permanent disablements- Reportable "
            },
            {
              "OptionId": 3,
              "OptionText": "Category 3 - Partial disablements- Reportable "
            }
          ],
          "CheckConfiguration": {
            "Validations": {
              "Required": true,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "0_2",
          "Check": "Photographs / Evidences",
          "Type": "file",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [],
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "0_3",
          "Check": "Incident Findings",
          "Type": "text",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [],
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 50
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false
    }
  ]
}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Statuses


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Categories


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Departments?siteId=1084&siteId=872&siteId=871&siteId=1020&siteId=875&siteId=877


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/Users/DropDown?ModuleName=Incident Management&siteId=1084&siteId=872&siteId=871&siteId=1020&siteId=875&siteId=877


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Investigation/Categories


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Investigation/Statuses


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Investigation/562


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Investigation/562/History


Request Body : {"SiteId":[1084,872,871,1020,875,877]}


Request Body : {}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Incident/1622


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Departments?siteId=872


Request URL : https://api-qa-staging-2.oqsha.com/attachments/organisations/myHome_56983377-6846-4132-9e03-5c549fa571cc.jpg


Request URL : http://localhost:9092/OsmoVisionIncident


Request Values read: AssetUid = OSMCAM001, IncidentDescription = OSMCAM001:
  Unknown-21482: NO-Hardhat
  Unknown-21652: NO-Hardhat, NO-Safety Vest
  Unknown-61986: NO-Hardhat, NO-Safety Vest
  Unknown-61987: NO-Hardhat, NO-Mask, NO-Safety Vest
  Unknown-61988: Mask, NO-Hardhat, NO-Safety Vest
  Unknown-61990: NO-Safety Vest
  Unknown-61991: NO-Safety Vest
  Unknown-61992: NO-Safety Vest
  Unknown-61993: NO-Hardhat, NO-Safety Vest
  Unknown-61994: NO-Safety Vest
  Unknown-61995: NO-Hardhat, NO-Mask, NO-Safety Vest


Pushing Assigned to Notification object to NSQ


NotificationObject: {"EventName":"ASSIGNED_TO_NOTIFICATION", "EventArgs":[{"Key":"AssignedIncidentID", "Value":44851},{"Key":"AssignedToID", "Value":2355}]}


NotificationObject: {"EventName":"ASSIGNED_TO_NOTIFICATION", "EventArgs":[{"Key":"AssignedIncidentID", "Value":44851},{"Key":"AssignedToID", "Value":2815}]}


NotificationObject: {"EventName":"ASSIGNED_TO_NOTIFICATION", "EventArgs":[{"Key":"AssignedIncidentID", "Value":44851},{"Key":"AssignedToID", "Value":1761}]}


Immediate notifications not found. Disposing the notification object.


Pushing New Incident Notification object to NSQ


NotificationObject: {"EventName":"NEW_INCIDENT", "EventArgs":[{"Key":"IncidentID", "Value":44851}]}


Inserting activity with data: IncidentReporter.DAL.Models.ActivityDBO


Audit log sent successfully.


OsmoVision Webhook Incident is created. Incident Id = 44851


Attachment count : 11;


Validating attachment : combined_20260210_052743_331514_f12495248.jpg;


Validating attachment : combined_20260210_052803_308449_f12495568.jpg;


Validating attachment : combined_20260210_052823_074280_f12495852.jpg;


Attachments updated for the incident Id = 44851


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Users/1954


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Statuses


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Categories


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Departments?siteId=1084&siteId=872&siteId=871&siteId=1020&siteId=875&siteId=877


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/Users/DropDown?ModuleName=Incident Management&siteId=1084&siteId=872&siteId=871&siteId=1020&siteId=875&siteId=877


Request Body : {"SiteId":[1084,872,871,1020,875,877]}


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


Request URL : http://localhost:9092/OsmoVisionIncident


Request Values read: AssetUid = 00000016, IncidentDescription = 00000016:
  Unknown-61996: NO-Hardhat
  Unknown-61997: NO-Hardhat, NO-Safety Vest
  Unknown-61999: NO-Hardhat


Pushing Assigned to Notification object to NSQ


NotificationObject: {"EventName":"ASSIGNED_TO_NOTIFICATION", "EventArgs":[{"Key":"AssignedIncidentID", "Value":44852},{"Key":"AssignedToID", "Value":2355}]}


NotificationObject: {"EventName":"ASSIGNED_TO_NOTIFICATION", "EventArgs":[{"Key":"AssignedIncidentID", "Value":44852},{"Key":"AssignedToID", "Value":2815}]}


NotificationObject: {"EventName":"ASSIGNED_TO_NOTIFICATION", "EventArgs":[{"Key":"AssignedIncidentID", "Value":44852},{"Key":"AssignedToID", "Value":1761}]}


Immediate notifications not found. Disposing the notification object.


Pushing New Incident Notification object to NSQ


NotificationObject: {"EventName":"NEW_INCIDENT", "EventArgs":[{"Key":"IncidentID", "Value":44852}]}


Inserting activity with data: IncidentReporter.DAL.Models.ActivityDBO


Audit log sent successfully.


OsmoVision Webhook Incident is created. Incident Id = 44852


Attachment count : 3;


Validating attachment : combined_20260210_052839_514780_f12668204.jpg;


Validating attachment : combined_20260210_052856_983831_f12668657.jpg;


Attachments updated for the incident Id = 44852


Request URL : https://api-qa-staging-2.oqsha.com/attachments/organisations/myHome_56983377-6846-4132-9e03-5c549fa571cc.jpg


Request Values read: AssetUid = OSMCAM001, IncidentDescription = OSMCAM001:
  Unknown-61998: NO-Hardhat, NO-Mask, NO-Safety Vest


NotificationObject: {"EventName":"ASSIGNED_TO_NOTIFICATION", "EventArgs":[{"Key":"AssignedIncidentID", "Value":44853},{"Key":"AssignedToID", "Value":2355}]}


NotificationObject: {"EventName":"ASSIGNED_TO_NOTIFICATION", "EventArgs":[{"Key":"AssignedIncidentID", "Value":44853},{"Key":"AssignedToID", "Value":2815}]}


NotificationObject: {"EventName":"ASSIGNED_TO_NOTIFICATION", "EventArgs":[{"Key":"AssignedIncidentID", "Value":44853},{"Key":"AssignedToID", "Value":1761}]}


NotificationObject: {"EventName":"NEW_INCIDENT", "EventArgs":[{"Key":"IncidentID", "Value":44853}]}


OsmoVision Webhook Incident is created. Incident Id = 44853


Attachment count : 1;


Validating attachment : combined_20260210_052842_985760_f12496170.jpg;


Attachments updated for the incident Id = 44853


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/UserPreference/1954


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Users/1954


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


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


Request Body : {"SiteId":[]}


Request URL : https://api-qa-staging-2.oqsha.com/AppFilterUsers?Role=fieldStaff&OrgId=387&LocationId=872&LocationId=934&LocationId=923&LocationId=871&LocationId=877&LocationId=924


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/Users/DropDown??ModuleName=Tasks


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Statuses


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Categories


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Departments?siteId=1084&siteId=872&siteId=871&siteId=1020&siteId=875&siteId=877


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/Users/DropDown?ModuleName=Incident Management&siteId=1084&siteId=872&siteId=871&siteId=1020&siteId=875&siteId=877


Request Body : {"SiteId":[1084,872,871,1020,875,877]}


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


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


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


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/387/Users/1


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/ManagementOfChange/Category/1082


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/ManagementOfChange/Category/1082/History


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/attachments/organisations/TTKe54e850aa12b4b5f830ce5eef42ebe6113210b00635094233a5fe45e2473a2bc7_8a928947-bcb6-41d0-ae2c-314a7206cbfe.png


Request URL : https://api-qa-staging-2.oqsha.com/UserModuleNotificationsCount?OrganisationId=387&currentUserId=1


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/FileUpload


System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
   at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   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)
   at System.IO.FileStream..ctor(String path, FileMode mode)
   at System.Web.HttpPostedFile.SaveAs(String filename)
   at IncidentReporter.API.Helpers.AttachmentsHelper.SaveFile(Object fileData, String targetFolder, String fileName) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\AttachmentsHelper.cs:line 302
   at IncidentReporter.API.Helpers.AttachmentsHelper.ProcessUploadedFiles(HttpRequest request, String baseTargetFolder, String basePath, List`1 uploadedFiles) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\AttachmentsHelper.cs:line 244
   at IncidentReporter.API.BLL.IncidentManagementBLL.<UploadFiles>d__64.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentManagementBLL.cs:line 5050


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Incident/1621


Sanitized JSON passed validation: {
  "Sections": [
    {
      "SectionId": 1,
      "SectionName": "Photograph of the incident",
      "SectionType": "file",
      "MandatoryChecksCount": 0,
      "OrganisationId": 387,
      "Status": 1,
      "Rank": 1,
      "AllowAttachments": true,
      "FileUploadControl": {
        "IsCameraAllowed": true,
        "IsImageUploadAllowed": true,
        "IsVideoUploadAllowed": true,
        "IsAudioUploadAllowed": true,
        "IsFileUploadAllowed": true
      },
      "Checks": [
        {
          "Id": 1,
          "Check": "Attach",
          "Type": "file",
          "Value": "0",
          "IsMandatory": 0
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "SectionFiles": []
    },
    {
      "SectionId": 2,
      "SectionName": "Immediate corrective steps taken",
      "SectionType": "checkbox",
      "MandatoryChecksCount": 0,
      "OrganisationId": 387,
      "Status": 1,
      "Rank": 2,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": 1,
          "Check": "Actions",
          "Type": "checkbox",
          "Value": 0,
          "IsMandatory": 0
        },
        {
          "Id": 2,
          "Check": "Responsibility",
          "Type": "freetext",
          "Value": "",
          "IsMandatory": 0
        },
        {
          "Id": 3,
          "Check": "Status",
          "Type": "checkbox",
          "Value": 0,
          "IsMandatory": 0
        },
        {
          "Id": 4,
          "Check": "Completion date",
          "Type": "date",
          "Value": "0",
          "IsMandatory": 0
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": true,
      "TableConfig": {
        "CheckConfiguration": {
          "columnsItems": [
            {
              "field": "check_1",
              "header": "Actions",
              "type": "checkbox",
              "editable": true,
              "required": false
            },
            {
              "field": "check_2",
              "header": "Responsibility",
              "type": "freetext",
              "editable": true,
              "required": false
            },
            {
              "field": "check_3",
              "header": "Status",
              "type": "checkbox",
              "editable": true,
              "required": false
            },
            {
              "field": "check_4",
              "header": "Completion date",
              "type": "date",
              "editable": true,
              "required": false
            }
          ]
        },
        "Rows": [
          {
            "check_1": false,
            "check_2": "",
            "check_3": false,
            "check_4": null
          }
        ]
      },
      "SectionFiles": []
    }
  ]
}


Audit log sent successfully.


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Statuses


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Categories


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Departments?siteId=1084&siteId=872&siteId=871&siteId=1020&siteId=875&siteId=877


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/Users/DropDown?ModuleName=Incident Management&siteId=1084&siteId=872&siteId=871&siteId=1020&siteId=875&siteId=877


Request Body : {"SiteId":[1084,872,871,1020,875,877]}


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Users/1954


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/387/IncidentManagement/Investigation/Statuses


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Investigation/Categories


Request Body : {}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Departments?SiteIds=1084&SiteIds=872&SiteIds=871&SiteIds=1020&SiteIds=875&SiteIds=877


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Users/1


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/ManagementOfChange/Category/1082


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/ManagementOfChange/Category/1082/History


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Investigations


Request URL : https://api-qa-staging-2.oqsha.com/attachments/organisations/TTKe54e850aa12b4b5f830ce5eef42ebe6113210b00635094233a5fe45e2473a2bc7_8a928947-bcb6-41d0-ae2c-314a7206cbfe.png


Request URL : http://localhost:9092/OsmoVisionIncident


Request Values read: AssetUid = 00000016, IncidentDescription = 00000016:
  Unknown-62002: NO-Hardhat
  Unknown-62003: NO-Hardhat
  Unknown-62004: NO-Safety Vest
  Unknown-62006: NO-Hardhat, NO-Mask
  Unknown-62007: NO-Hardhat


Pushing Assigned to Notification object to NSQ


NotificationObject: {"EventName":"ASSIGNED_TO_NOTIFICATION", "EventArgs":[{"Key":"AssignedIncidentID", "Value":44854},{"Key":"AssignedToID", "Value":2355}]}


NotificationObject: {"EventName":"ASSIGNED_TO_NOTIFICATION", "EventArgs":[{"Key":"AssignedIncidentID", "Value":44854},{"Key":"AssignedToID", "Value":2815}]}


NotificationObject: {"EventName":"ASSIGNED_TO_NOTIFICATION", "EventArgs":[{"Key":"AssignedIncidentID", "Value":44854},{"Key":"AssignedToID", "Value":1761}]}


Immediate notifications not found. Disposing the notification object.


Pushing New Incident Notification object to NSQ


NotificationObject: {"EventName":"NEW_INCIDENT", "EventArgs":[{"Key":"IncidentID", "Value":44854}]}


Inserting activity with data: IncidentReporter.DAL.Models.ActivityDBO


Request URL : https://api-qa-staging-2.oqsha.com/UserModuleNotificationsCount?OrganisationId=387&currentUserId=1


Audit log sent successfully.


OsmoVision Webhook Incident is created. Incident Id = 44854


Attachment count : 5;


Validating attachment : combined_20260210_052916_437380_f12669118.jpg;


Validating attachment : combined_20260210_052934_435191_f12669572.jpg;


Attachments updated for the incident Id = 44854


Request URL : https://api-qa-staging-2.oqsha.com/attachments/organisations/myHome_56983377-6846-4132-9e03-5c549fa571cc.jpg


Request Values read: AssetUid = OSMCAM001, IncidentDescription = OSMCAM001:
  Unknown-21482: NO-Hardhat
  Unknown-62000: NO-Hardhat, NO-Safety Vest
  Unknown-62001: NO-Hardhat, NO-Safety Vest
  Unknown-62005: NO-Hardhat, NO-Safety Vest


NotificationObject: {"EventName":"ASSIGNED_TO_NOTIFICATION", "EventArgs":[{"Key":"AssignedIncidentID", "Value":44855},{"Key":"AssignedToID", "Value":2355}]}


NotificationObject: {"EventName":"ASSIGNED_TO_NOTIFICATION", "EventArgs":[{"Key":"AssignedIncidentID", "Value":44855},{"Key":"AssignedToID", "Value":2815}]}


Pushing Assigned to Notification object to NSQ


NotificationObject: {"EventName":"ASSIGNED_TO_NOTIFICATION", "EventArgs":[{"Key":"AssignedIncidentID", "Value":44855},{"Key":"AssignedToID", "Value":1761}]}


NotificationObject: {"EventName":"NEW_INCIDENT", "EventArgs":[{"Key":"IncidentID", "Value":44855}]}


OsmoVision Webhook Incident is created. Incident Id = 44855


Attachment count : 4;


Validating attachment : combined_20260210_052901_519068_f12496422.jpg;


Validating attachment : combined_20260210_052918_868224_f12496684.jpg;


Attachments updated for the incident Id = 44855


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/UserPreference/1954


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Users/1954


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Statuses


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Departments?siteId=1084&siteId=872&siteId=871&siteId=1020&siteId=875&siteId=877


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Categories


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/Users/DropDown?ModuleName=Incident Management&siteId=1084&siteId=872&siteId=871&siteId=1020&siteId=875&siteId=877


Request Body : {"SiteId":[1084,872,871,1020,875,877]}


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


Request URL : https://api-qa-staging-2.oqsha.com/attachments/organisations/myHome_56983377-6846-4132-9e03-5c549fa571cc.jpg


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Investigation/Categories


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Investigation/Statuses


Request Body : {}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Departments?SiteIds=1084&SiteIds=872&SiteIds=871&SiteIds=1020&SiteIds=875&SiteIds=877


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Investigations


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/IncidentManagement/Investigation/562