Request URL : https://api-sandbox.oqsha.com/Organisations/258/Tasks/List


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


Request URL : https://api-sandbox.oqsha.com/Organisations/258/IncidentManagement/Categories


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Incident Management&siteId=833&siteId=840&siteId=831&siteId=834


Request URL : https://api-sandbox.oqsha.com/Organisations/258/IncidentManagement/Statuses


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Departments?siteId=833&siteId=840&siteId=831&siteId=834


Request Body : {"SiteId":[833,840,831,834]}


Request URL : https://api-sandbox.oqsha.com/Organisations/258/IncidentManagement/Firs


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Investigation/Categories


Request URL : https://api-sandbox.oqsha.com/Organisations/258/IncidentManagement/Investigation/Statuses


Request Body : {}


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


Request URL : https://api-sandbox.oqsha.com/Organisations/258/IncidentManagement/Incident/1040


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Departments?siteId=840


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Areas?SiteId=840


Request URL : https://api-sandbox.oqsha.com/Organisations/258/FieldStaffAndAppUsers?SiteIds=840


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Incident Management&siteId=840


Request URL : https://api-sandbox.oqsha.com/Organisations/258/IncidentManagement/Incident/1040/History


Sanitized JSON passed validation: {
  "Sections": [
    {
      "SectionId": 2,
      "SectionName": "Personal Details",
      "SectionType": "text",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 1,
      "AllowAttachments": false,
      "SectionFiles": [],
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "2_1",
          "Check": "Company/Contractor ",
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_2",
          "Check": "Name of the Injured person",
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_3",
          "Check": "Job Department & Title of Person ",
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 3,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_9",
          "Check": "Age of the Person",
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 8,
            "ColumnOrder": 0,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "2_4",
          "Check": "Gender",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Male"
            },
            {
              "OptionId": 2,
              "OptionText": "Female"
            }
          ],
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 8,
            "ColumnOrder": 1,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "2_5",
          "Check": "Experience/Working Since ",
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 13,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_7",
          "Check": "Nature and extent of the injuries ",
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 15,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_6",
          "Check": "Name & Dept. of Witnesses, if any ",
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 16,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_8",
          "Check": "Describe the treatments provided ",
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 17,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 4,
      "SectionName": "Actions taken and Conclusions",
      "SectionType": "text",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 2,
      "AllowAttachments": true,
      "SectionFiles": [],
      "FileUploadControl": {
        "IsCameraAllowed": true,
        "IsImageUploadAllowed": true,
        "IsVideoUploadAllowed": true,
        "IsAudioUploadAllowed": true,
        "IsFileUploadAllowed": true
      },
      "Checks": [
        {
          "Id": "4_3",
          "Check": "Action Taken",
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "4_2",
          "Check": "Conclusions",
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 1,
            "WidthPercentage": 50
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": true,
      "TableConfig": {
        "CheckConfiguration": {
          "columnsItems": [
            {
              "field": "sno",
              "header": "S.No.",
              "type": "text",
              "editable": false,
              "required": false,
              "alignment": "center",
              "width": "60px"
            },
            {
              "field": "check_1",
              "header": "Action Taken",
              "placeholder": "",
              "type": "text",
              "editable": true,
              "required": false,
              "alignment": "center",
              "min": null,
              "max": null
            },
            {
              "field": "check_2",
              "header": "Conclusions",
              "placeholder": "",
              "type": "text",
              "editable": true,
              "required": false,
              "alignment": "center",
              "min": null,
              "max": null
            }
          ]
        },
        "Rows": [
          {
            "check_1": "",
            "check_2": ""
          }
        ]
      },
      "ConditionalRules": []
    },
    {
      "SectionId": 5,
      "SectionName": "Contributing Factors",
      "SectionType": "checkbox",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 3,
      "AllowAttachments": false,
      "SectionFiles": [],
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "5_1",
          "Check": "Lack of Leadership or Enforcement ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_9",
          "Check": "Lack of Pre-Work Hazard Planning ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 1,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_8",
          "Check": "Tools or Materials ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 2,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_6",
          "Check": "Maintenance System ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 0,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_5",
          "Check": "Individual Physical Capability ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 1,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_4",
          "Check": "Act of Nature ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 2,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_2",
          "Check": "Inadequate Training ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 2,
            "ColumnOrder": 0,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_12",
          "Check": "Lack of Supervision ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 2,
            "ColumnOrder": 1,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_11",
          "Check": "Health Condition ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 2,
            "ColumnOrder": 2,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_7",
          "Check": "Employee Abuse or Misuse ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 3,
            "ColumnOrder": 0,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_3",
          "Check": "Environmental/ Biological Factors ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 3,
            "ColumnOrder": 1,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_10",
          "Check": "Other (Specify in below box) ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 3,
            "ColumnOrder": 2,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_13",
          "Check": " ",
          "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": "Other's",
            "DisplayOrientation": "vertical",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 4,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 6,
      "SectionName": "Signatures",
      "SectionType": "signature",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 4,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": 1,
          "Check": "Safety Head",
          "Type": "signature",
          "Value": null,
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "Safety Head",
            "Declaration": "",
            "SignedUserId": 0,
            "SignedUserName": "",
            "SignedDateAndTime": "",
            "SignedAcmRoleId": 477,
            "DepartmentId": null,
            "IsAssignedToMandatory": false,
            "IsRejected": false,
            "InspectionStatusId": 0,
            "InspectionStatusName": ""
          },
          "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": 3,
          "Check": "Safety Head",
          "Type": "signature",
          "Value": null,
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "Safety Head",
            "Declaration": "",
            "SignedUserId": 0,
            "SignedUserName": "",
            "SignedDateAndTime": "",
            "SignedAcmRoleId": 477,
            "DepartmentId": null,
            "IsAssignedToMandatory": false,
            "IsRejected": false,
            "InspectionStatusId": 0,
            "InspectionStatusName": ""
          },
          "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": 1,
            "WidthPercentage": 100
          }
        },
        {
          "Id": 2,
          "Check": "Safety Officer",
          "Type": "signature",
          "Value": null,
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "Safety Officer",
            "Declaration": "",
            "SignedUserId": 0,
            "SignedUserName": "",
            "SignedDateAndTime": "",
            "SignedAcmRoleId": 475,
            "DepartmentId": null,
            "IsAssignedToMandatory": false,
            "IsRejected": false,
            "InspectionStatusId": 0,
            "InspectionStatusName": ""
          },
          "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": 2,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    }
  ]
}


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


Request URL : https://api-sandbox.oqsha.com/Organisations/258/IncidentManagement/Categories


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Incident Management&siteId=833&siteId=840&siteId=831&siteId=834


Request URL : https://api-sandbox.oqsha.com/Organisations/258/IncidentManagement/Statuses


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Departments?siteId=833&siteId=840&siteId=831&siteId=834


Pushing External User FIR Release Notification Event to NSQ


Request Body : {"SiteId":[833,840,831,834]}


Request URL : https://api-sandbox.oqsha.com/Organisations/258/IncidentManagement/Firs


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Investigation/Categories


Request URL : https://api-sandbox.oqsha.com/Organisations/258/IncidentManagement/Investigation/Statuses


Request Body : {}


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


Request URL : https://api-sandbox.oqsha.com/Organisations/258/IncidentManagement/Incident/1040


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Departments?siteId=840


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Areas?SiteId=840


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Incident Management&siteId=840


Request URL : https://api-sandbox.oqsha.com/Organisations/258/FieldStaffAndAppUsers?SiteIds=840


Request URL : https://api-sandbox.oqsha.com/Organisations/258/IncidentManagement/Incident/1040/History


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


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


Request URL : https://api-sandbox.oqsha.com/Assets/AssetTypes?orgId=256&SortingOrder=asc&SortingColumn=Name&userId=2


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


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


Sanitized JSON passed validation: {
  "Sections": [
    {
      "SectionId": 2,
      "SectionName": "Personal Details",
      "SectionType": "text",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 1,
      "AllowAttachments": false,
      "SectionFiles": [],
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "2_1",
          "Check": "Company/Contractor ",
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_2",
          "Check": "Name of the Injured person",
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_3",
          "Check": "Job Department & Title of Person ",
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 3,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_9",
          "Check": "Age of the Person",
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 8,
            "ColumnOrder": 0,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "2_4",
          "Check": "Gender",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Male"
            },
            {
              "OptionId": 2,
              "OptionText": "Female"
            }
          ],
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 8,
            "ColumnOrder": 1,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "2_5",
          "Check": "Experience/Working Since ",
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 13,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_7",
          "Check": "Nature and extent of the injuries ",
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 15,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_6",
          "Check": "Name & Dept. of Witnesses, if any ",
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 16,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_8",
          "Check": "Describe the treatments provided ",
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 17,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 4,
      "SectionName": "Actions taken and Conclusions",
      "SectionType": "text",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 2,
      "AllowAttachments": true,
      "SectionFiles": [],
      "FileUploadControl": {
        "IsCameraAllowed": true,
        "IsImageUploadAllowed": true,
        "IsVideoUploadAllowed": true,
        "IsAudioUploadAllowed": true,
        "IsFileUploadAllowed": true
      },
      "Checks": [
        {
          "Id": "4_3",
          "Check": "Action Taken",
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "4_2",
          "Check": "Conclusions",
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 1,
            "WidthPercentage": 50
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": true,
      "TableConfig": {
        "CheckConfiguration": {
          "columnsItems": [
            {
              "field": "sno",
              "header": "S.No.",
              "type": "text",
              "editable": false,
              "required": false,
              "alignment": "center",
              "width": "60px"
            },
            {
              "field": "check_1",
              "header": "Action Taken",
              "placeholder": "",
              "type": "text",
              "editable": true,
              "required": false,
              "alignment": "center",
              "min": null,
              "max": null
            },
            {
              "field": "check_2",
              "header": "Conclusions",
              "placeholder": "",
              "type": "text",
              "editable": true,
              "required": false,
              "alignment": "center",
              "min": null,
              "max": null
            }
          ]
        },
        "Rows": [
          {
            "check_1": "",
            "check_2": ""
          }
        ]
      },
      "ConditionalRules": []
    },
    {
      "SectionId": 5,
      "SectionName": "Contributing Factors",
      "SectionType": "checkbox",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 3,
      "AllowAttachments": false,
      "SectionFiles": [],
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "5_1",
          "Check": "Lack of Leadership or Enforcement ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_9",
          "Check": "Lack of Pre-Work Hazard Planning ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 1,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_8",
          "Check": "Tools or Materials ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 2,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_6",
          "Check": "Maintenance System ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 0,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_5",
          "Check": "Individual Physical Capability ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 1,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_4",
          "Check": "Act of Nature ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 2,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_2",
          "Check": "Inadequate Training ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 2,
            "ColumnOrder": 0,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_12",
          "Check": "Lack of Supervision ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 2,
            "ColumnOrder": 1,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_11",
          "Check": "Health Condition ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 2,
            "ColumnOrder": 2,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_7",
          "Check": "Employee Abuse or Misuse ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 3,
            "ColumnOrder": 0,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_3",
          "Check": "Environmental/ Biological Factors ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 3,
            "ColumnOrder": 1,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_10",
          "Check": "Other (Specify in below box) ",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 3,
            "ColumnOrder": 2,
            "WidthPercentage": 33.33
          }
        },
        {
          "Id": "5_13",
          "Check": " ",
          "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": "Other's",
            "DisplayOrientation": "vertical",
            "ConditionalRules": [],
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 4,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 6,
      "SectionName": "Signatures",
      "SectionType": "signature",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 4,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": 1,
          "Check": "Safety Head",
          "Type": "signature",
          "Value": null,
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "Safety Head",
            "Declaration": "",
            "SignedUserId": 0,
            "SignedUserName": "",
            "SignedDateAndTime": "",
            "SignedAcmRoleId": 477,
            "DepartmentId": null,
            "IsAssignedToMandatory": false,
            "IsRejected": false,
            "InspectionStatusId": 0,
            "InspectionStatusName": ""
          },
          "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": 3,
          "Check": "Safety Head",
          "Type": "signature",
          "Value": null,
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "Safety Head",
            "Declaration": "",
            "SignedUserId": 0,
            "SignedUserName": "",
            "SignedDateAndTime": "",
            "SignedAcmRoleId": 477,
            "DepartmentId": null,
            "IsAssignedToMandatory": false,
            "IsRejected": false,
            "InspectionStatusId": 0,
            "InspectionStatusName": ""
          },
          "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": 1,
            "WidthPercentage": 100
          }
        },
        {
          "Id": 2,
          "Check": "Safety Officer",
          "Type": "signature",
          "Value": null,
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "Safety Officer",
            "Declaration": "",
            "SignedUserId": 0,
            "SignedUserName": "",
            "SignedDateAndTime": "",
            "SignedAcmRoleId": 475,
            "DepartmentId": null,
            "IsAssignedToMandatory": false,
            "IsRejected": false,
            "InspectionStatusId": 0,
            "InspectionStatusName": ""
          },
          "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": 2,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    }
  ]
}


Request URL : https://api-sandbox.oqsha.com/Organisations/258/IncidentManagement/Investigation/Category/47


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


Request URL : https://api-sandbox.oqsha.com/Organisations/258/IncidentManagement/Investigation


Request URL : https://api-sandbox.oqsha.com/Organisations/258/IncidentManagement/Statuses


Request URL : https://api-sandbox.oqsha.com/Organisations/258/IncidentManagement/Categories


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Departments?siteId=833&siteId=840&siteId=831&siteId=834


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Incident Management&siteId=833&siteId=840&siteId=831&siteId=834


Sanitized JSON passed validation: {
  "Sections": [
    {
      "SectionId": 1,
      "SectionName": "Investigation",
      "SectionType": "radio",
      "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": "Investigation Conducted",
          "Type": "radio",
          "Value": null,
          "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": "horizontal",
            "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": 2,
      "SectionName": "Investigations Highlights and Root Cause Analysis",
      "SectionType": "textarea",
      "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": "RCA",
          "Type": "textarea",
          "Value": null,
          "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": "2_2",
          "Check": "Immediate Cause",
          "Type": "textarea",
          "Value": null,
          "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": 1,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_3",
          "Check": "Contributing Factor",
          "Type": "textarea",
          "Value": null,
          "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": 2,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 4,
      "SectionName": "Preventive Actions",
      "SectionType": "checkbox",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 3,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 5,
      "SectionName": "Horizontal Deployment of Preventive Actions With in the Site",
      "SectionType": "checkbox",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 4,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 6,
      "SectionName": "Horizontal Deployment of Preventive Actions Across the Sites",
      "SectionType": "checkbox",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 5,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    }
  ]
}


Request Body : {"SiteId":[833,840,831,834]}


Request URL : https://api-sandbox.oqsha.com/Organisations/258/IncidentManagement/Investigation/Statuses


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Investigation/Categories


Request URL : https://api-sandbox.oqsha.com/Organisations/258/IncidentManagement/Investigation/479/History


Request URL : https://api-sandbox.oqsha.com/Organisations/258/IncidentManagement/Investigation/479


Request Body : {}


Request URL : https://api-sandbox.oqsha.com/Organisations/258/IncidentManagement/Incident/1040


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Departments?siteId=840


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/258/TaskCategories/Dropdown


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


Request URL : https://api-sandbox.oqsha.com/Organisation/256/InspectionType/All?SortingColumn=InspectionType&SortingOrder=asc&siteId=812


Request URL : https://api-sandbox.oqsha.com/Organisation/256/Users/DropDown?ModuleName=Inspections&siteId=812


Request Body : {"SiteId":[]}


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


Request URL : https://api-sandbox.oqsha.com/AppFilterUsers?Role=fieldStaff&OrgId=258


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Tasks&siteId=833&siteId=840&siteId=831&siteId=834


MySql.Data.MySqlClient.MySqlException (0x80004005): Table 'qa_stg_oqsha_4.inspection_type_notification_role_ids' doesn't exist
   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.Common.DbCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
--- 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 Dapper.SqlMapper.<QueryAsync>d__33`1.MoveNext()
--- 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.DAL.Repositories.InspectionsRepo.<GetInspectionTypeNotificationRoleIds>d__125.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\InspectionsRepo.cs:line 5012
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at IncidentReporter.API.BLL.InspectionsBLL.<GetAllInspectionTypes>d__22.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\InspectionsBLL.cs:line 2015


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Tasks/List


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


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Tasks&siteId=840


Request Body : {"SiteId":[840],"Source":"User"}


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


Request Body : {"AssetTypeId":235,"SiteId":812,"CompanyId":1541}


Request URL : https://api-sandbox.oqsha.com/Organisation/256/Users/DropDown?ModuleName=Inspections&siteId=812&AssetTypeId=235


Request URL : https://api-sandbox.oqsha.com/Organisation/256/InspectionType/All?SortingColumn=InspectionType&SortingOrder=asc&siteId=812&AssetTypeId=235


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


[CreateTask] Started for OrgId: 258


[CreateTask] Step 1 - Initial setup: 0ms


[CreateTask] Step 2 - Fetch organization: 2ms


[CreateTask] Step 3 - Get task module ID: 1ms


[CreateTask] Step 4 - Fetch organization preferences: 1ms


[CreateTask] Step 6 - Begin transaction: 1ms


[CreateTask] Processing SiteId: 840


[CreateTask] Step 7 - Validate input for SiteId 840: 0ms


[CreateTask] Step 8 - Create task object: 0ms


[CreateTask] Step 9 - Fetch site and module details: 0ms


[CreateTask] Step 10 - Determine task category: 1ms


[CreateTask] Step 11 - Get task category short code: 0ms


[CreateTask] Step 12 - Generate task UID: 3ms


[CreateTask] Step 13 - Insert task into database (TaskId: 10997): 0ms


[CreateTask] Step 14 - Associate PSSR: 0ms


[CreateTask] Step 15 - Parse task association flag: 0ms


[CreateTask] Step 16 - Associate MOC: 0ms


[CreateTask] Step 17 - Associate Audit: 0ms


[CreateTask] Step 18 - Associate HIRA: 0ms


[CreateTask] Step 19 - Associate Investigation: 2ms


[CreateTask] Step 20 - Associate Ticket: 0ms


[CreateTask] Step 21 - Process checklist data: 0ms


[CreateTask] Step 22 - Insert assignees: 0ms


[CreateTask] Step 23 - Process asset IDs: 0ms


[CreateTask] Step 25 - Process child task details: 91ms


[CreateTask] Step 26 - Send assignee notifications: 2ms


[CreateTask] Step 28 - Fetch assignees and log audit: 58ms


[CreateTask] Total time for SiteId 840: 165ms


[CreateTask] Step 29 - Commit transaction: 11ms


[CreateTask] Step 30 - Send status update emails: 0ms


[CreateTask] Completed successfully for OrgId: 258. Total execution time: 185ms


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Tasks/List


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/258/TaskCategories/Dropdown


Request Body : {"SiteId":[840,831,833,834]}


Request URL : https://api-sandbox.oqsha.com/AppFilterUsers?Role=fieldStaff&OrgId=258&LocationId=840&LocationId=831&LocationId=833&LocationId=834


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Tasks&siteId=840&siteId=831&siteId=833&siteId=834


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/attachments/organisations/download5_9338e390-6a2c-4740-90ee-3ca4bfebfe5f.png


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


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Tasks/10998/Comments


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Tasks/10998


Request Body : {"SiteId":[840],"Source":"User"}


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Category/667


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Tasks&siteId=840


Pushing Task Closure Validation Level 1 Notification object to NSQ


NotificationObject: {"EventName":"TASK_CLOSURE_NOTIFICATION_VALIDATION_1", "EventArgs":[{"Key":"TaskId", "Value":10998},{"Key":"OrgId", "Value":258}]}


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/258/TaskCategories/Dropdown


Request Body : {"SiteId":[840,831,833,834]}


Request URL : https://api-sandbox.oqsha.com/AppFilterUsers?Role=fieldStaff&OrgId=258&LocationId=840&LocationId=831&LocationId=833&LocationId=834


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Users/DropDown?ModuleName=Tasks&siteId=840&siteId=831&siteId=833&siteId=834


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Tasks/List


Request URL : https://api-sandbox.oqsha.com/Organisations/258/WorkPermit/Statuses


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


Request URL : https://api-sandbox.oqsha.com/Organisations/258/WorkPermit/Categories


Request Body : {}


Request URL : https://api-sandbox.oqsha.com/Organisations/258/WorkPermit/All


Request Body : {"SortingColumn":["CategoryName"],"SortingOrder":["asc"],"SiteId":[840]}


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/258/WorkPermit/ShiftTimings


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Departments?siteId=840


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


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


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


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/256/Users/2


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Assets/AssetTypes?orgId=256&SortingOrder=asc&SortingColumn=Name&userId=2


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


Request URL : https://api-sandbox.oqsha.com/attachments/users/cdv_photo_001_233d3244-8eb8-4569-9cff-8f93a00080e8.jpg


Request URL : https://api-sandbox.oqsha.com/attachments/organisations/padam-logo.png


Request URL : https://api-sandbox.oqsha.com/Organisation/256/InspectionType/All?SortingColumn=InspectionType&SortingOrder=asc


Table 'qa_stg_oqsha_4.inspection_type_notification_role_ids' doesn't exist


Request URL : https://api-sandbox.oqsha.com/Organisation/256/InspectionType/All?SortingColumn=InspectionType&SortingOrder=asc&siteId=812


Request URL : https://api-sandbox.oqsha.com/Organisation/256/Users/DropDown?ModuleName=Inspections&siteId=812


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


Request URL : https://api-sandbox.oqsha.com/Assets/AssetTypes?OrgId=258&SortingOrder=asc&SortingColumn=Name


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Assets/Maintenance/AcmModules?orgId=258


Request URL : https://api-sandbox.oqsha.com/Divisions?OrgId=258&SiteId=840


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Device/Unassociated


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


Request Body : {"AssetTypeId":235,"SiteId":812,"CompanyId":1541}


Request URL : https://api-sandbox.oqsha.com/Organisation/256/Users/DropDown?ModuleName=Inspections&siteId=812&AssetTypeId=235


Request URL : https://api-sandbox.oqsha.com/Organisation/256/InspectionType/All?SortingColumn=InspectionType&SortingOrder=asc&siteId=812&AssetTypeId=235


Table 'qa_stg_oqsha_4.inspection_type_notification_role_ids' doesn't exist


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


Request URL : https://api-sandbox.oqsha.com/Organisations/258/WorkPermit/Statuses


Request URL : https://api-sandbox.oqsha.com/Organisations/258/WorkPermit/Categories


Request Body : {}


Request URL : https://api-sandbox.oqsha.com/Organisations/258/WorkPermit/All


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


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


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


Request Body : {"SortingColumn":["CategoryName"],"SortingOrder":["asc"],"SiteId":[840]}


Request URL : https://api-sandbox.oqsha.com/Organisations/258/WorkPermit/ShiftTimings


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Departments?siteId=840


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


Request URL : https://api-sandbox.oqsha.com/Organisation/258/Users/Dropdown?siteId=840&departmentId=245


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


Request Body : {"OrgId":[258],"RoleId":[479],"LocationId":[840],"SortingColumn":["DisplayName"],"SortingOrder":["asc"]}


Request Body : {"OrgId":[258],"RoleId":[475],"LocationId":[840],"SortingColumn":["DisplayName"],"SortingOrder":["asc"]}


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


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


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


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


Request Body : {"OrgId":[256],"PageNumber":1,"PageLimit":10,"SortingColumn":["CreatedOn"],"SortingOrder":["desc"],"SearchTerm":"","LocationId":[805],"IsActive":true}


Request Body : {"OrgId":[256],"PageNumber":1,"PageLimit":10,"SortingColumn":["CreatedOn"],"SortingOrder":["desc"],"SearchTerm":"","LocationId":[805],"RoleId":[463,459,460],"IsActive":true}


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


Request Body : {}


JTI 14923585-72bd-4403-bd29-c22a901fd8fc for userId = 2 is saved to database.


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