Sanitized JSON passed validation: {
  "Sections": [
    {
      "SectionId": 1,
      "SectionName": "Inspection checks",
      "SectionType": "text",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 1,
      "AllowAttachments": true,
      "FileUploadControl": {
        "IsCameraAllowed": true,
        "IsImageUploadAllowed": true,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "1_1",
          "Check": "Contractor name",
          "Type": "text",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "1_2",
          "Check": "Company name",
          "Type": "text",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "1_3",
          "Check": "Asset identification number",
          "Type": "text",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "1_4",
          "Check": "Frequency",
          "Type": "select",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Weekly"
            },
            {
              "OptionId": 2,
              "OptionText": "Monthly"
            },
            {
              "OptionId": 3,
              "OptionText": "Querterly"
            }
          ],
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": true,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 2,
      "SectionName": "Equipment Status",
      "SectionType": "radio",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 2,
      "AllowAttachments": true,
      "FileUploadControl": {
        "IsCameraAllowed": true,
        "IsImageUploadAllowed": true,
        "IsVideoUploadAllowed": true,
        "IsAudioUploadAllowed": true,
        "IsFileUploadAllowed": true
      },
      "Checks": [
        {
          "Id": "2_1",
          "Check": "Equipment Status at Site",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "In Site"
            },
            {
              "OptionId": 2,
              "OptionText": "Out of Site"
            }
          ],
          "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": "vertical"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_2",
          "Check": "Equipment Usage Status",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "In Usage"
            },
            {
              "OptionId": 2,
              "OptionText": "Out of Usage"
            }
          ],
          "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": "vertical"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 3,
      "SectionName": "Check Points",
      "SectionType": "radio",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 3,
      "AllowAttachments": true,
      "FileUploadControl": {
        "IsCameraAllowed": true,
        "IsImageUploadAllowed": true,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": true
      },
      "Checks": [
        {
          "Id": "3_1",
          "Check": "1.Is the chain pulley block is good condition & working with TPI?",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            },
            {
              "OptionId": 3,
              "OptionText": "N/A"
            }
          ],
          "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": "horizontal"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "3_2",
          "Check": "2.Is the chain is free from corrosion, defects, cracks, damage etc?",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            },
            {
              "OptionId": 3,
              "OptionText": "N/A"
            }
          ],
          "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": "horizontal"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "3_3",
          "Check": "3.Is the hook point is in good condition?                                                     (not stretched more than 15% of its original shape)",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            },
            {
              "OptionId": 3,
              "OptionText": "N/A"
            }
          ],
          "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": "horizontal"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "3_4",
          "Check": "4.Are safety latch is working condition and placed into hook?",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            },
            {
              "OptionId": 3,
              "OptionText": "N/A"
            }
          ],
          "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": "horizontal"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "3_5",
          "Check": "5.Is SWL (safe working load) is marked and visible?",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            },
            {
              "OptionId": 3,
              "OptionText": "N/A"
            }
          ],
          "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": "horizontal"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "3_6",
          "Check": "6.Is all the rotating parts are covered?",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            },
            {
              "OptionId": 3,
              "OptionText": "N/A"
            }
          ],
          "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": "horizontal"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "3_7",
          "Check": "7.Is sufficient lubrication has done?",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            },
            {
              "OptionId": 3,
              "OptionText": "N/A"
            }
          ],
          "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": "horizontal"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 4,
      "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": "Inspected",
          "Type": "signature",
          "Value": "",
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "Inspected",
            "Declaration": "",
            "SignedUserId": 0,
            "SignedUserName": "",
            "SignedDateAndTime": "",
            "SignedAcmRoleId": 540,
            "DepartmentId": 78,
            "IsRejected": false,
            "InspectionStatusId": 0,
            "InspectionStatusName": "",
            "IsAssignedToMandatory": false
          },
          "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,
          "Check": "Checked",
          "Type": "signature with approval",
          "Value": "",
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "Checked",
            "Declaration": "",
            "SignedUserId": 0,
            "SignedUserName": "",
            "SignedDateAndTime": "",
            "SignedAcmRoleId": 519,
            "DepartmentId": 78,
            "IsRejected": false,
            "InspectionStatusId": 0,
            "InspectionStatusName": "",
            "IsAssignedToMandatory": false
          },
          "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": "Verified",
          "Type": "signature with approval",
          "Value": "",
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "Verified",
            "Declaration": "",
            "SignedUserId": 0,
            "SignedUserName": "",
            "SignedDateAndTime": "",
            "SignedAcmRoleId": 541,
            "DepartmentId": 78,
            "IsRejected": false,
            "InspectionStatusId": 0,
            "InspectionStatusName": "",
            "IsAssignedToMandatory": false
          },
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": 4,
          "Check": "Approved",
          "Type": "signature with approval",
          "Value": "",
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "Approved",
            "Declaration": "",
            "SignedUserId": 0,
            "SignedUserName": "",
            "SignedDateAndTime": "",
            "SignedAcmRoleId": 545,
            "DepartmentId": 70,
            "IsRejected": false,
            "InspectionStatusId": 0,
            "InspectionStatusName": "",
            "IsAssignedToMandatory": false
          },
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    }
  ]
}


Attachments updated for the incident Id = 46046


Audit log sent successfully.


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


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


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


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


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


Request Body : {"OrgId":[387],"PageNumber":2,"PageLimit":10,"SearchTerm":"","SortingColumn":["Frequency"],"SortingOrder":["desc"],"SiteId":[],"SaveStatus":""}


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


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


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


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


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


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Assets/AssetTypes?OrgId=387&SortingOrder=asc&SortingColumn=Name


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


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


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


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


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


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


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


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


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


Sanitized JSON passed validation: {
  "Sections": [
    {
      "SectionId": 1,
      "SectionName": "Inspection checks",
      "SectionType": "text",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 1,
      "AllowAttachments": true,
      "FileUploadControl": {
        "IsCameraAllowed": true,
        "IsImageUploadAllowed": true,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "1_1",
          "Check": "Contractor name",
          "Type": "text",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "1_2",
          "Check": "Company name",
          "Type": "text",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "1_3",
          "Check": "Asset identification number",
          "Type": "text",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "1_4",
          "Check": "Frequency",
          "Type": "select",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Weekly"
            },
            {
              "OptionId": 2,
              "OptionText": "Monthly"
            },
            {
              "OptionId": 3,
              "OptionText": "Querterly"
            }
          ],
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": true,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 2,
      "SectionName": "Equipment Status",
      "SectionType": "radio",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 2,
      "AllowAttachments": true,
      "FileUploadControl": {
        "IsCameraAllowed": true,
        "IsImageUploadAllowed": true,
        "IsVideoUploadAllowed": true,
        "IsAudioUploadAllowed": true,
        "IsFileUploadAllowed": true
      },
      "Checks": [
        {
          "Id": "2_1",
          "Check": "Equipment Status at Site",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "In Site"
            },
            {
              "OptionId": 2,
              "OptionText": "Out of Site"
            }
          ],
          "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": "vertical"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_2",
          "Check": "Equipment Usage Status",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "In Usage"
            },
            {
              "OptionId": 2,
              "OptionText": "Out of Usage"
            }
          ],
          "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": "vertical"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 3,
      "SectionName": "Check Points",
      "SectionType": "radio",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 3,
      "AllowAttachments": true,
      "FileUploadControl": {
        "IsCameraAllowed": true,
        "IsImageUploadAllowed": true,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": true
      },
      "Checks": [
        {
          "Id": "3_1",
          "Check": "1.Is the chain pulley block is good condition & working with TPI?",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            },
            {
              "OptionId": 3,
              "OptionText": "N/A"
            }
          ],
          "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": "horizontal"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "3_2",
          "Check": "2.Is the chain is free from corrosion, defects, cracks, damage etc?",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            },
            {
              "OptionId": 3,
              "OptionText": "N/A"
            }
          ],
          "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": "horizontal"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "3_3",
          "Check": "3.Is the hook point is in good condition?                                                     (not stretched more than 15% of its original shape)",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            },
            {
              "OptionId": 3,
              "OptionText": "N/A"
            }
          ],
          "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": "horizontal"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "3_4",
          "Check": "4.Are safety latch is working condition and placed into hook?",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            },
            {
              "OptionId": 3,
              "OptionText": "N/A"
            }
          ],
          "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": "horizontal"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "3_5",
          "Check": "5.Is SWL (safe working load) is marked and visible?",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            },
            {
              "OptionId": 3,
              "OptionText": "N/A"
            }
          ],
          "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": "horizontal"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "3_6",
          "Check": "6.Is all the rotating parts are covered?",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            },
            {
              "OptionId": 3,
              "OptionText": "N/A"
            }
          ],
          "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": "horizontal"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "3_7",
          "Check": "7.Is sufficient lubrication has done?",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            },
            {
              "OptionId": 3,
              "OptionText": "N/A"
            }
          ],
          "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": "horizontal"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 4,
      "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": "Inspected",
          "Type": "signature",
          "Value": "",
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "Inspected",
            "Declaration": "",
            "SignedUserId": 0,
            "SignedUserName": "",
            "SignedDateAndTime": "",
            "SignedAcmRoleId": 540,
            "DepartmentId": 78,
            "IsRejected": false,
            "InspectionStatusId": 0,
            "InspectionStatusName": "",
            "IsAssignedToMandatory": false
          },
          "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,
          "Check": "Checked",
          "Type": "signature with approval",
          "Value": "",
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "Checked",
            "Declaration": "",
            "SignedUserId": 0,
            "SignedUserName": "",
            "SignedDateAndTime": "",
            "SignedAcmRoleId": 519,
            "DepartmentId": 78,
            "IsRejected": false,
            "InspectionStatusId": 0,
            "InspectionStatusName": "",
            "IsAssignedToMandatory": false
          },
          "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": "Verified",
          "Type": "signature with approval",
          "Value": "",
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "Verified",
            "Declaration": "",
            "SignedUserId": 0,
            "SignedUserName": "",
            "SignedDateAndTime": "",
            "SignedAcmRoleId": 541,
            "DepartmentId": 78,
            "IsRejected": false,
            "InspectionStatusId": 0,
            "InspectionStatusName": "",
            "IsAssignedToMandatory": false
          },
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": 4,
          "Check": "Approved",
          "Type": "signature with approval",
          "Value": "",
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "Approved",
            "Declaration": "",
            "SignedUserId": 0,
            "SignedUserName": "",
            "SignedDateAndTime": "",
            "SignedAcmRoleId": 545,
            "DepartmentId": 70,
            "IsRejected": false,
            "InspectionStatusId": 0,
            "InspectionStatusName": "",
            "IsAssignedToMandatory": false
          },
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    }
  ]
}


Audit log sent successfully.


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


Request Body : {"OrgId":[387],"PageNumber":2,"PageLimit":10,"SearchTerm":"","SortingColumn":["Frequency"],"SortingOrder":["desc"],"SiteId":[],"SaveStatus":""}


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/InspectionType/All?SortingColumn=InspectionType&SortingOrder=asc


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


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


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


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


Request Body : {"OrgId":[387],"PageNumber":1,"PageLimit":10,"SearchTerm":"","SortingColumn":["PendingWith"],"SortingOrder":["desc"],"FromDate":"2025-04-01","ToDate":"2026-02-20"}


MySql.Data.MySqlClient.MySqlException (0x80004005): Fatal error encountered during command execution. ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Fatal error encountered attempting to read the resultset. ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Reading from the stream has failed. ---> System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at MySql.Data.MySqlClient.TimedStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at MySql.Data.MySqlClient.MySqlStream.ReadFully(Stream stream, Byte[] buffer, Int32 offset, Int32 count)
   at MySql.Data.MySqlClient.MySqlStream.LoadPacket()
   at MySql.Data.MySqlClient.MySqlStream.LoadPacket()
   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.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
   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.UsersRepo.<GetIncidentHistoryByUserIdOrgId>d__216.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\UsersRepo.cs:line 5846
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IncidentReporter.API.BLL.UsersBLL.<GetUserOrganisation>d__50.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 3550


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Assets/AssetTypes?orgId=387&SortingOrder=asc&SortingColumn=Name&userId=1954


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/InspectionType/All?SortingColumn=InspectionType&SortingOrder=asc&siteId=1084


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Reports/IncidentCountReport?OrgId=387&StartDate=2026-02-10&EndDate=2026-02-10


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/OrganisationStats?FromDate=2026-02-03&ToDate=2026-02-10&


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


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


Request Body : {"AssetTypeId":112,"SiteId":1084,"CompanyId":491}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Users/AssetTypes/112?siteId=1084


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/InspectionType/All?SortingColumn=InspectionType&SortingOrder=asc&siteId=1084&AssetTypeId=112


Fatal error encountered during command execution.


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/Users/DropDown?ModuleName=Inspections&SiteId=1084&RoleId=519&AssetTypeId=112


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/Users/DropDown?ModuleName=Inspections&SiteId=1084&RoleId=541&AssetTypeId=112


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/Users/DropDown?ModuleName=Inspections&SiteId=1084&RoleId=545&AssetTypeId=112


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Inspections/Asset/892?siteId=1084&Count=3


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


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


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


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


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Reports/IncidentCountReport?OrgId=387&StartDate=2026-02-10&EndDate=2026-02-10


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/OrganisationStats?FromDate=2026-02-03&ToDate=2026-02-10&


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


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


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


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


Fatal error encountered during command execution.


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


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


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


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


Request Values read: AssetUid = 00000016, IncidentDescription = 00000016:
  Unknown-66042: NO-Hardhat


Pushing Assigned to Notification object to NSQ


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


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


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


Immediate notifications not found. Disposing the notification object.


Pushing New Incident Notification object to NSQ


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


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


Audit log sent successfully.


OsmoVision Webhook Incident is created. Incident Id = 46047


Attachment count : 1;


Validating attachment : combined_20260210_130237_704030_f13345649.jpg;


Attachments updated for the incident Id = 46047


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


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


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


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


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


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


Fatal error encountered during command execution.


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


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


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


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


Sanitized JSON passed validation: {
  "Sections": [
    {
      "SectionId": 1,
      "SectionName": "Inspection checks",
      "SectionType": "text",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 1,
      "AllowAttachments": true,
      "FileUploadControl": {
        "IsCameraAllowed": true,
        "IsImageUploadAllowed": true,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "1_1",
          "Check": "Contractor name",
          "Type": "text",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "1_2",
          "Check": "Company name",
          "Type": "text",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "1_3",
          "Check": "Asset identification number",
          "Type": "text",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "1_4",
          "Check": "Frequency",
          "Type": "select",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Weekly"
            },
            {
              "OptionId": 2,
              "OptionText": "Monthly"
            },
            {
              "OptionId": 3,
              "OptionText": "Querterly"
            }
          ],
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": true,
      "IsSectionTable": false,
      "ConditionalRules": [],
      "SectionFiles": [
        {
          "Value": "attachments\\inspections\\Screenshot from 2026-02-10 17-29-44_2026-02-10_13-02-45-245_0b4f3e25-797e-4087-a35a-ca1753705d86.png",
          "FileType": "Image"
        }
      ]
    },
    {
      "SectionId": 2,
      "SectionName": "Equipment Status",
      "SectionType": "radio",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 2,
      "AllowAttachments": true,
      "FileUploadControl": {
        "IsCameraAllowed": true,
        "IsImageUploadAllowed": true,
        "IsVideoUploadAllowed": true,
        "IsAudioUploadAllowed": true,
        "IsFileUploadAllowed": true
      },
      "Checks": [
        {
          "Id": "2_1",
          "Check": "Equipment Status at Site",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "In Site"
            },
            {
              "OptionId": 2,
              "OptionText": "Out of Site"
            }
          ],
          "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": "vertical"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_2",
          "Check": "Equipment Usage Status",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "In Usage"
            },
            {
              "OptionId": 2,
              "OptionText": "Out of Usage"
            }
          ],
          "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": "vertical"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 3,
      "SectionName": "Check Points",
      "SectionType": "radio",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 3,
      "AllowAttachments": true,
      "FileUploadControl": {
        "IsCameraAllowed": true,
        "IsImageUploadAllowed": true,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": true
      },
      "Checks": [
        {
          "Id": "3_1",
          "Check": "1.Is the chain pulley block is good condition & working with TPI?",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            },
            {
              "OptionId": 3,
              "OptionText": "N/A"
            }
          ],
          "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": "horizontal"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "3_2",
          "Check": "2.Is the chain is free from corrosion, defects, cracks, damage etc?",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            },
            {
              "OptionId": 3,
              "OptionText": "N/A"
            }
          ],
          "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": "horizontal"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "3_3",
          "Check": "3.Is the hook point is in good condition?                                                     (not stretched more than 15% of its original shape)",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            },
            {
              "OptionId": 3,
              "OptionText": "N/A"
            }
          ],
          "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": "horizontal"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "3_4",
          "Check": "4.Are safety latch is working condition and placed into hook?",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            },
            {
              "OptionId": 3,
              "OptionText": "N/A"
            }
          ],
          "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": "horizontal"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "3_5",
          "Check": "5.Is SWL (safe working load) is marked and visible?",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            },
            {
              "OptionId": 3,
              "OptionText": "N/A"
            }
          ],
          "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": "horizontal"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "3_6",
          "Check": "6.Is all the rotating parts are covered?",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            },
            {
              "OptionId": 3,
              "OptionText": "N/A"
            }
          ],
          "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": "horizontal"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "3_7",
          "Check": "7.Is sufficient lubrication has done?",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Yes"
            },
            {
              "OptionId": 2,
              "OptionText": "No"
            },
            {
              "OptionId": 3,
              "OptionText": "N/A"
            }
          ],
          "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": "horizontal"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 4,
      "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": "Inspected",
          "Type": "signature",
          "Value": "1",
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "Inspected",
            "Declaration": "",
            "SignedUserId": 1954,
            "SignedUserName": "Lalit Aditya Kola",
            "SignedDateAndTime": "10-Feb-2026 06:32 PM",
            "SignedAcmRoleId": 540,
            "DepartmentId": 78,
            "IsRejected": false,
            "InspectionStatusId": 1135,
            "InspectionStatusName": "Inspected",
            "IsAssignedToMandatory": false,
            "SelectedUser": [
              {
                "id": 1,
                "itemName": "Rajkumar Pativada"
              }
            ],
            "SignedMobileNumber": "9989248964"
          },
          "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,
          "Check": "Checked",
          "Type": "signature with approval",
          "Value": "",
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "Checked",
            "Declaration": "",
            "SignedUserId": 0,
            "SignedUserName": "",
            "SignedDateAndTime": "",
            "SignedAcmRoleId": 519,
            "DepartmentId": 78,
            "IsRejected": false,
            "InspectionStatusId": 0,
            "InspectionStatusName": "",
            "IsAssignedToMandatory": false,
            "AssignedToUserId": 1
          },
          "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": "Verified",
          "Type": "signature with approval",
          "Value": "",
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "Verified",
            "Declaration": "",
            "SignedUserId": 0,
            "SignedUserName": "",
            "SignedDateAndTime": "",
            "SignedAcmRoleId": 541,
            "DepartmentId": 78,
            "IsRejected": false,
            "InspectionStatusId": 0,
            "InspectionStatusName": "",
            "IsAssignedToMandatory": false
          },
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": 4,
          "Check": "Approved",
          "Type": "signature with approval",
          "Value": "",
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "Approved",
            "Declaration": "",
            "SignedUserId": 0,
            "SignedUserName": "",
            "SignedDateAndTime": "",
            "SignedAcmRoleId": 545,
            "DepartmentId": 70,
            "IsRejected": false,
            "InspectionStatusId": 0,
            "InspectionStatusName": "",
            "IsAssignedToMandatory": false
          },
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    }
  ]
}


Pushing Inspection creation event to NSQ


NotificationObject: {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION", "EventArgs":[{"Key":"UserIds", "Value":"[1]"},{"Key":"InspectionUID", "Value":"I\/TTK\/CET\/IFF\/26\/00013"},{"Key":"Name", "Value":"test inspection namegvh"},{"Key":"Type", "Value":"inspection feb"},{"Key":"Organisation", "Value":"TTK Beta - QA"},{"Key":"Site", "Value":"Central Team"},{"Key":"Department", "Value":"OsmoVision Department"},{"Key":"Asset", "Value":"testing regression"},{"Key":"Status", "Value":"Inspected"},{"Key":"CreatedBy", "Value":"Lalit Aditya Kola"},{"Key":"CreatedOn", "Value":"10-Feb-2026 06:32:45 PM"},{"Key":"OrganisationId", "Value":387}]}


[INSPECTION] No inspection reminders to process


Audit log sent successfully.


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/InspectionType/All?SortingColumn=InspectionType&SortingOrder=asc


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


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


Request Body : {"OrgId":[387],"PageNumber":1,"PageLimit":10,"SearchTerm":"","SortingColumn":["PendingWith"],"SortingOrder":["desc"],"FromDate":"2025-04-01","ToDate":"2026-02-20"}


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


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


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


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


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


Request Body : {"OrgId":[387],"PageNumber":1,"PageLimit":10,"SearchTerm":"","SortingColumn":["PendingWith"],"SortingOrder":["desc"],"FromDate":"2026-02-05","ToDate":"2026-02-15"}


Fatal error encountered during command execution.


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Assets/AssetTypes?orgId=387&SortingOrder=asc&SortingColumn=Name&userId=1


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/InspectionType/All?SortingColumn=InspectionType&SortingOrder=asc&siteId=1084&AssetTypeId=112


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


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


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


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


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


Request Body : {"AssetTypeId":112,"SiteId":1084,"CompanyId":491}


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Users/AssetTypes/112?siteId=1084


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/Users/DropDown?ModuleName=Inspections&SiteId=1084&RoleId=519&AssetTypeId=112


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/Users/DropDown?ModuleName=Inspections&SiteId=1084&RoleId=541&AssetTypeId=112


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/Users/DropDown?ModuleName=Inspections&SiteId=1084&RoleId=545&AssetTypeId=112


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


Fatal error encountered during command execution.


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


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


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


[INSPECTION] No reminder config present in request. Skipping reminder update.


Audit log sent successfully.


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/387/InspectionType/All?SortingColumn=InspectionType&SortingOrder=asc


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


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


Request Body : {"OrgId":[387],"PageNumber":1,"PageLimit":10,"SearchTerm":"","SortingColumn":["PendingWith"],"SortingOrder":["desc"],"FromDate":"2026-02-05","ToDate":"2026-02-15"}


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


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


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


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


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


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


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