Sanitized JSON passed validation: {
  "Sections": [
    {
      "SectionId": 1,
      "SectionName": "Show/Hide Testing",
      "SectionType": "checkbox",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 1,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "1_1",
          "Check": "Employment Status",
          "Type": "select",
          "Value": "",
          "IsMandatory": 1,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Employed"
            },
            {
              "OptionId": 2,
              "OptionText": "Unemployed"
            },
            {
              "OptionId": 3,
              "OptionText": "Student"
            }
          ],
          "CheckConfiguration": {
            "Validations": {
              "Required": true,
              "RequiredMessage": "Employment status is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "Select your status",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "1_2",
          "Check": "Company Name (SHOW when Employed)",
          "Type": "input",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "Company name is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": "100",
              "MaxLengthMessage": "Cannot exceed 100 characters",
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "Enter company name",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceFieldId": "1_1",
                "condition": "equals",
                "value": "Employed",
                "actions": [
                  "show"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 1,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "1_3",
          "Check": "School Name (SHOW when Student)",
          "Type": "input",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "School name is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": "100",
              "MaxLengthMessage": "Cannot exceed 100 characters",
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "Enter school/university name",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceFieldId": "1_1",
                "condition": "equals",
                "value": "Student",
                "actions": [
                  "show",
                  "makeRequired"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 0,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "1_4",
          "Check": "Unemployment Reason (SHOW when Unemployed)",
          "Type": "textarea",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "Reason is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": "500",
              "MaxLengthMessage": "Cannot exceed 500 characters",
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "Tell us about your situation",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceFieldId": "1_1",
                "condition": "equals",
                "value": "Unemployed",
                "actions": [
                  "show"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 1,
            "WidthPercentage": 50
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 2,
      "SectionName": "Enable/Disable Testing",
      "SectionType": "checkbox",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 2,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "2_1",
          "Check": "I agree to terms and conditions",
          "Type": "checkbox",
          "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": "2_2",
          "Check": "Email Address (ENABLED when agree)",
          "Type": "input",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "Email is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": "100",
              "MaxLengthMessage": "Email too long",
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": "^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$",
              "PatternMessage": "Invalid email format"
            },
            "Placeholder": "Enter your email",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceFieldId": "2_1",
                "condition": "equals",
                "value": true,
                "actions": [
                  "enable"
                ]
              },
              {
                "sourceFieldId": "2_1",
                "condition": "equals",
                "value": false,
                "actions": [
                  "disable"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 0,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "2_3",
          "Check": "Phone Number (ENABLED when agree)",
          "Type": "input",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "Phone is required",
              "MinLength": "10",
              "MinLengthMessage": "Phone must be at least 10 digits",
              "MaxLength": "15",
              "MaxLengthMessage": "Phone cannot exceed 15 digits",
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": "^[0-9-+()\\s]*$",
              "PatternMessage": "Only numbers and phone symbols allowed"
            },
            "Placeholder": "Enter phone number",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceFieldId": "2_1",
                "condition": "equals",
                "value": true,
                "actions": [
                  "enable",
                  "makeRequired"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 1,
            "WidthPercentage": 50
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 3,
      "SectionName": "MakeRequired/MakeOptional Testing",
      "SectionType": "checkbox",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 3,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "3_1",
          "Check": "Project Type",
          "Type": "select",
          "Value": "",
          "IsMandatory": 1,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Personal"
            },
            {
              "OptionId": 2,
              "OptionText": "Commercial"
            },
            {
              "OptionId": 3,
              "OptionText": "Government"
            }
          ],
          "CheckConfiguration": {
            "Validations": {
              "Required": true,
              "RequiredMessage": "Project type is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "Select project type",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "3_2",
          "Check": "Budget (REQUIRED for Commercial/Government)",
          "Type": "input",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "Budget is required for commercial/government projects",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": "Budget cannot be negative",
              "Max": "10000000",
              "MaxMessage": "Budget exceeds maximum",
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "Enter budget amount",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceFieldId": "3_1",
                "condition": "equals",
                "value": "Commercial",
                "actions": [
                  "makeRequired"
                ]
              },
              {
                "sourceFieldId": "3_1",
                "condition": "equals",
                "value": "Government",
                "actions": [
                  "makeRequired"
                ]
              },
              {
                "sourceFieldId": "3_1",
                "condition": "equals",
                "value": "Personal",
                "actions": [
                  "makeOptional"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 1,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "3_3",
          "Check": "Tax ID (REQUIRED for Commercial/Government)",
          "Type": "input",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "Tax ID is required for commercial/government projects",
              "MinLength": "9",
              "MinLengthMessage": "Tax ID must be at least 9 characters",
              "MaxLength": "20",
              "MaxLengthMessage": "Tax ID cannot exceed 20 characters",
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": "^[A-Z0-9-]*$",
              "PatternMessage": "Only uppercase letters, numbers and dashes allowed"
            },
            "Placeholder": "Enter tax identification number",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceFieldId": "3_1",
                "condition": "equals",
                "value": "Commercial",
                "actions": [
                  "makeRequired"
                ]
              },
              {
                "sourceFieldId": "3_1",
                "condition": "equals",
                "value": "Government",
                "actions": [
                  "makeRequired"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 4,
      "SectionName": "Comparison Operators Testing (greaterThan, lessThan, contains)",
      "SectionType": "checkbox",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 4,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "4_1",
          "Check": "Age",
          "Type": "input",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "Age is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": "Age cannot be negative",
              "Max": "120",
              "MaxMessage": "Age seems unrealistic",
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "Enter your age",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "4_2",
          "Check": "Senior Discount Eligibility (SHOW if age > 60)",
          "Type": "textarea",
          "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": "Congratulations! You qualify for senior discount",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": true,
            "ConditionalRules": [
              {
                "sourceFieldId": "4_1",
                "condition": "greaterThan",
                "value": "60",
                "actions": [
                  "show"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 1,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "4_3",
          "Check": "Minor Guardian Required (SHOW if age < 18)",
          "Type": "input",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "Guardian name is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": "100",
              "MaxLengthMessage": "Name too long",
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "Enter guardian's name",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceFieldId": "4_1",
                "condition": "lessThan",
                "value": "18",
                "actions": [
                  "show",
                  "makeRequired"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 0,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "4_4",
          "Check": "City",
          "Type": "input",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "City is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": "100",
              "MaxLengthMessage": "City name too long",
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "Enter your city",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 1,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "4_5",
          "Check": "Local Tax Info (SHOW if city contains 'New York')",
          "Type": "textarea",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "Tax info is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": "500",
              "MaxLengthMessage": "Too long",
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "NYC residents: please provide additional tax information",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceFieldId": "4_4",
                "condition": "contains",
                "value": "New York",
                "actions": [
                  "show"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 2,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 5,
      "SectionName": "Complex Chained Rules Testing",
      "SectionType": "checkbox",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 5,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "5_1",
          "Check": "Has International Travel",
          "Type": "checkbox",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "5_2",
          "Check": "Number of Countries Visited",
          "Type": "input",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "Number of countries is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": "1",
              "MinMessage": "Must be at least 1",
              "Max": "195",
              "MaxMessage": "Cannot exceed total countries",
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "How many countries?",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceFieldId": "5_1",
                "condition": "equals",
                "value": true,
                "actions": [
                  "show",
                  "makeRequired"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 1,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "5_3",
          "Check": "Frequent Traveler Benefits (SHOW if > 10 countries)",
          "Type": "select",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Priority Boarding"
            },
            {
              "OptionId": 2,
              "OptionText": "Lounge Access"
            },
            {
              "OptionId": 3,
              "OptionText": "Extra Baggage"
            }
          ],
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "Please select a benefit",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "Select preferred benefit",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceFieldId": "5_2",
                "condition": "greaterThan",
                "value": "10",
                "actions": [
                  "show"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    }
  ]
}


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


Request URL : https://api-qa-staging-2.oqsha.com/Assets/AssetTypes?orgId=387&PageNumber=1&PageLimit=25&SortingColumn=CreatedOn&SortingOrder=desc&SearchTerm=


Request Values read: AssetUid = OSMCAM001, IncidentDescription = OSMCAM001:
  Unknown-15899: Mask, NO-Safety Vest, Shoes
  Unknown-15900: NO-Hardhat
  Unknown-15901: NO-Hardhat, NO-Safety Vest
  Unknown-15902: NO-Hardhat, NO-Safety Vest
  Unknown-15903: NO-Hardhat, NO-Safety Vest
  Unknown-15904: NO-Hardhat, NO-Mask, Safety Vest
  Unknown-15905: NO-Hardhat
  Unknown-15907: NO-Hardhat
  Unknown-15908: NO-Hardhat, NO-Safety Vest
  Unknown-15909: NO-Hardhat, NO-Mask, NO-Safety Vest
  Unknown-15910: NO-Hardhat
  Unknown-15911: NO-Hardhat


Pushing Assigned to Notification object to NSQ


NotificationObject: {"EventName":"ASSIGNED_TO_NOTIFICATION", "EventArgs":[{"Key":"AssignedIncidentID", "Value":26714},{"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":26714}]}


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


Audit log sent successfully.


OsmoVision Webhook Incident is created. Incident Id = 26714


Attachment count : 12;


Validating attachment : combined_20260204_092057_551257_f5348284.jpg;


Validating attachment : combined_20260204_092117_472079_f5348570.jpg;


Attachments updated for the incident Id = 26714


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


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Resources/package-features-eng


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


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


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


Request Body : {}


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


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/310/Users/1/incidentsites?isActive=1


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


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


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


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


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


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


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


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


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


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


Request Body : {}


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/310/Modules


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


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


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


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


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


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


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


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


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


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


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Resources/package-features-eng


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


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


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


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


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


Request Body : {"SiteId":[872]}


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


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


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


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


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


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/Organisations/387/Departments


Request URL : https://api-qa-staging-2.oqsha.com/Assets/Maintenance/AcmModules?orgId=387


Request URL : https://api-qa-staging-2.oqsha.com/Divisions?OrgId=387&SiteId=1084&SiteId=872&SiteId=871&SiteId=1020&SiteId=875&SiteId=877


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Contractors/All?&siteIds=1084&siteIds=872&siteIds=871&siteIds=1020&siteIds=875&siteIds=877&IsActive=1


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


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


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/AssetType/616


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/297/Departments?siteId=513&siteId=510&siteId=514&siteId=512&siteId=515&siteId=516&siteId=517&siteId=518&siteId=519&siteId=520


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/297/Users/DropDown?ModuleName=Incident Management&siteId=513&siteId=510&siteId=514&siteId=512&siteId=515&siteId=516&siteId=517&siteId=518&siteId=519&siteId=520


Request Body : {"SiteId":[513,510,514,512,515,516,517,518,519,520]}


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


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


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


Request Body : {}


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


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


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/297/Users/DropDown?ModuleName=Incident Management&RoleId=347&RoleId=706


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


Request Body : {"OrgId":[297],"RoleId":[706],"LocationId":[513],"SortingColumn":["DisplayName"],"SortingOrder":["asc"],"PageSize":1000,"PageNumber":1,"IsActive":true}


Request Body : {"OrgId":[297],"RoleId":[347],"LocationId":[513],"SortingColumn":["DisplayName"],"SortingOrder":["asc"],"PageSize":1000,"PageNumber":1,"IsActive":true}


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


Request Values read: AssetUid = 00000016, IncidentDescription = 00000016:
  Unknown-15912: NO-Hardhat, NO-Safety Vest
  Unknown-15913: NO-Hardhat, NO-Mask, NO-Safety Vest
  Unknown-15915: NO-Hardhat, NO-Mask, NO-Safety Vest
  Unknown-15916: NO-Hardhat, NO-Mask, NO-Safety Vest
  Unknown-235: Gloves


Pushing Assigned to Notification object to NSQ


NotificationObject: {"EventName":"ASSIGNED_TO_NOTIFICATION", "EventArgs":[{"Key":"AssignedIncidentID", "Value":26715},{"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":26715}]}


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


Audit log sent successfully.


OsmoVision Webhook Incident is created. Incident Id = 26715


Attachment count : 5;


Validating attachment : combined_20260204_092121_222273_f227504.jpg;


Validating attachment : combined_20260204_092141_267579_f227982.jpg;


Validating attachment : combined_20260204_092202_134109_f228481.jpg;


Attachments updated for the incident Id = 26715


Request Values read: AssetUid = OSMCAM001, IncidentDescription = OSMCAM001:
  Unknown-15914: Safety Vest
  Unknown-8936: NO-Hardhat, NO-Safety Vest, Safety Vest, Shoes
  Unknown-8945: NO-Hardhat


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


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


OsmoVision Webhook Incident is created. Incident Id = 26716


Attachment count : 3;


Validating attachment : combined_20260204_092141_339187_f5348899.jpg;


Attachments updated for the incident Id = 26716


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


Sanitized JSON passed validation: {
  "Sections": [
    {
      "SectionId": 1,
      "SectionName": "Show/Hide Testing",
      "SectionType": "checkbox",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 1,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "1_1",
          "Check": "Employment Status",
          "Type": "select",
          "Value": "",
          "IsMandatory": 1,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Employed"
            },
            {
              "OptionId": 2,
              "OptionText": "Unemployed"
            },
            {
              "OptionId": 3,
              "OptionText": "Student"
            }
          ],
          "CheckConfiguration": {
            "Validations": {
              "Required": true,
              "RequiredMessage": "Employment status is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "Select your status",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "1_2",
          "Check": "Company Name (SHOW when Employed)",
          "Type": "input",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "Company name is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": "100",
              "MaxLengthMessage": "Cannot exceed 100 characters",
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "Enter company name",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceFieldId": "1_1",
                "condition": "equals",
                "value": "Employed",
                "actions": [
                  "show"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 1,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "1_3",
          "Check": "School Name (SHOW when Student)",
          "Type": "input",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "School name is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": "100",
              "MaxLengthMessage": "Cannot exceed 100 characters",
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "Enter school/university name",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceFieldId": "1_1",
                "condition": "equals",
                "value": "Student",
                "actions": [
                  "show",
                  "makeRequired"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 0,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "1_4",
          "Check": "Unemployment Reason (SHOW when Unemployed)",
          "Type": "textarea",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "Reason is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": "500",
              "MaxLengthMessage": "Cannot exceed 500 characters",
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "Tell us about your situation",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceFieldId": "1_1",
                "condition": "equals",
                "value": "Unemployed",
                "actions": [
                  "show"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 1,
            "WidthPercentage": 50
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 2,
      "SectionName": "Enable/Disable Testing",
      "SectionType": "checkbox",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 2,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "2_1",
          "Check": "I agree to terms and conditions",
          "Type": "checkbox",
          "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": "2_2",
          "Check": "Email Address (ENABLED when agree)",
          "Type": "input",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "Email is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": "100",
              "MaxLengthMessage": "Email too long",
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": "^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$",
              "PatternMessage": "Invalid email format"
            },
            "Placeholder": "Enter your email",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceFieldId": "2_1",
                "condition": "equals",
                "value": true,
                "actions": [
                  "enable"
                ]
              },
              {
                "sourceFieldId": "2_1",
                "condition": "equals",
                "value": false,
                "actions": [
                  "disable"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 0,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "2_3",
          "Check": "Phone Number (ENABLED when agree)",
          "Type": "input",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "Phone is required",
              "MinLength": "10",
              "MinLengthMessage": "Phone must be at least 10 digits",
              "MaxLength": "15",
              "MaxLengthMessage": "Phone cannot exceed 15 digits",
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": "^[0-9-+()\\s]*$",
              "PatternMessage": "Only numbers and phone symbols allowed"
            },
            "Placeholder": "Enter phone number",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceFieldId": "2_1",
                "condition": "equals",
                "value": true,
                "actions": [
                  "enable",
                  "makeRequired"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 1,
            "WidthPercentage": 50
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 3,
      "SectionName": "MakeRequired/MakeOptional Testing",
      "SectionType": "checkbox",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 3,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "3_1",
          "Check": "Project Type",
          "Type": "select",
          "Value": "",
          "IsMandatory": 1,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Personal"
            },
            {
              "OptionId": 2,
              "OptionText": "Commercial"
            },
            {
              "OptionId": 3,
              "OptionText": "Government"
            }
          ],
          "CheckConfiguration": {
            "Validations": {
              "Required": true,
              "RequiredMessage": "Project type is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "Select project type",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "3_2",
          "Check": "Budget (REQUIRED for Commercial/Government)",
          "Type": "input",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "Budget is required for commercial/government projects",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": "Budget cannot be negative",
              "Max": "10000000",
              "MaxMessage": "Budget exceeds maximum",
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "Enter budget amount",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceFieldId": "3_1",
                "condition": "equals",
                "value": "Commercial",
                "actions": [
                  "makeRequired"
                ]
              },
              {
                "sourceFieldId": "3_1",
                "condition": "equals",
                "value": "Government",
                "actions": [
                  "makeRequired"
                ]
              },
              {
                "sourceFieldId": "3_1",
                "condition": "equals",
                "value": "Personal",
                "actions": [
                  "makeOptional"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 1,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "3_3",
          "Check": "Tax ID (REQUIRED for Commercial/Government)",
          "Type": "input",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "Tax ID is required for commercial/government projects",
              "MinLength": "9",
              "MinLengthMessage": "Tax ID must be at least 9 characters",
              "MaxLength": "20",
              "MaxLengthMessage": "Tax ID cannot exceed 20 characters",
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": "^[A-Z0-9-]*$",
              "PatternMessage": "Only uppercase letters, numbers and dashes allowed"
            },
            "Placeholder": "Enter tax identification number",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceFieldId": "3_1",
                "condition": "equals",
                "value": "Commercial",
                "actions": [
                  "makeRequired"
                ]
              },
              {
                "sourceFieldId": "3_1",
                "condition": "equals",
                "value": "Government",
                "actions": [
                  "makeRequired"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 4,
      "SectionName": "Comparison Operators Testing (greaterThan, lessThan, contains)",
      "SectionType": "checkbox",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 4,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "4_1",
          "Check": "Age",
          "Type": "input",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "Age is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": "Age cannot be negative",
              "Max": "120",
              "MaxMessage": "Age seems unrealistic",
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "Enter your age",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "4_2",
          "Check": "Senior Discount Eligibility (SHOW if age > 60)",
          "Type": "textarea",
          "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": "Congratulations! You qualify for senior discount",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": true,
            "ConditionalRules": [
              {
                "sourceFieldId": "4_1",
                "condition": "greaterThan",
                "value": "60",
                "actions": [
                  "show"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 1,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "4_3",
          "Check": "Minor Guardian Required (SHOW if age < 18)",
          "Type": "input",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "Guardian name is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": "100",
              "MaxLengthMessage": "Name too long",
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "Enter guardian's name",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceFieldId": "4_1",
                "condition": "lessThan",
                "value": "18",
                "actions": [
                  "show",
                  "makeRequired"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 0,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "4_4",
          "Check": "City",
          "Type": "input",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "City is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": "100",
              "MaxLengthMessage": "City name too long",
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "Enter your city",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 1,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "4_5",
          "Check": "Local Tax Info (SHOW if city contains 'New York')",
          "Type": "textarea",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "Tax info is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": "500",
              "MaxLengthMessage": "Too long",
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "NYC residents: please provide additional tax information",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceFieldId": "4_4",
                "condition": "contains",
                "value": "New York",
                "actions": [
                  "show"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 2,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    },
    {
      "SectionId": 5,
      "SectionName": "Complex Chained Rules Testing",
      "SectionType": "checkbox",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 5,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "5_1",
          "Check": "Has International Travel",
          "Type": "checkbox",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "5_2",
          "Check": "Number of Countries Visited",
          "Type": "input",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "Number of countries is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": "1",
              "MinMessage": "Must be at least 1",
              "Max": "195",
              "MaxMessage": "Cannot exceed total countries",
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "How many countries?",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceFieldId": "5_1",
                "condition": "equals",
                "value": true,
                "actions": [
                  "show",
                  "makeRequired"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 1,
            "WidthPercentage": 50
          }
        },
        {
          "Id": "5_3",
          "Check": "Frequent Traveler Benefits (SHOW if > 10 countries)",
          "Type": "select",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Priority Boarding"
            },
            {
              "OptionId": 2,
              "OptionText": "Lounge Access"
            },
            {
              "OptionId": 3,
              "OptionText": "Extra Baggage"
            }
          ],
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "Please select a benefit",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "Select preferred benefit",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "FloatingLabel": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceFieldId": "5_2",
                "condition": "greaterThan",
                "value": "10",
                "actions": [
                  "show"
                ]
              }
            ],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 1,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": []
    }
  ]
}


Request URL : https://api-qa-staging-2.oqsha.com/Assets/AssetTypes?orgId=387&PageNumber=1&PageLimit=25&SortingColumn=CreatedOn&SortingOrder=desc&SearchTerm=


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Resources/package-features-eng


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Assets/Maintenance/AcmModules?orgId=387


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/Divisions?OrgId=387&SiteId=1084&SiteId=872&SiteId=871&SiteId=1020&SiteId=875&SiteId=877


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


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/387/Contractors/All?&siteIds=1084&siteIds=872&siteIds=871&siteIds=1020&siteIds=875&siteIds=877&IsActive=1


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


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/Device/Unassociated


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/IncidentManagement/Firs


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


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


Request Body : {}


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


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


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


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


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


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


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


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


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


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


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


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


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


Pushing Assigned to Notification object to NSQ


NotificationObject: {"EventName":"ASSIGNED_TO_NOTIFICATION", "EventArgs":[{"Key":"AssignedIncidentID", "Value":26717},{"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":26717}]}


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


Audit log sent successfully.


OsmoVision Webhook Incident is created. Incident Id = 26717


Attachment count : 1;


Validating attachment : combined_20260204_092238_735893_f229469.jpg;


Attachments updated for the incident Id = 26717


Request Values read: AssetUid = OSMCAM001, IncidentDescription = OSMCAM001:
  Unknown-15917: NO-Hardhat, NO-Mask, Safety Vest
  Unknown-15918: NO-Hardhat, NO-Mask, NO-Safety Vest
  Unknown-15919: NO-Hardhat, NO-Mask, NO-Safety Vest
  Unknown-15920: NO-Hardhat, NO-Safety Vest
  Unknown-15921: NO-Hardhat
  Unknown-15922: NO-Hardhat, NO-Mask, NO-Safety Vest
  Unknown-15923: NO-Hardhat, NO-Mask, NO-Safety Vest
  Unknown-15924: NO-Hardhat, NO-Safety Vest
  Unknown-15925: Hardhat, NO-Hardhat, NO-Mask
  Unknown-15926: NO-Hardhat
  Unknown-8928: NO-Hardhat


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


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


OsmoVision Webhook Incident is created. Incident Id = 26718


Attachment count : 11;


Validating attachment : combined_20260204_092205_651716_f5349196.jpg;


Validating attachment : combined_20260204_092225_426612_f5349543.jpg;


Attachments updated for the incident Id = 26718


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/297/Contractors/All?isContractorListPage=true


Request Body : {"OrgId":[297],"PageNumber":1,"PageLimit":100,"SearchTerm":"","SortingColumn":["CreatedOn"],"SortingOrder":["desc"],"isContractorListPage":true,"IsActive":0}


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


Request Body : {"OrgId":[297],"PageNumber":1,"PageLimit":100,"SearchTerm":"","SortingColumn":["CreatedOn"],"SortingOrder":["desc"],"isContractorListPage":true,"IsActive":1}


Request Body : {"OrgId":[297],"PageNumber":1,"PageLimit":100,"SearchTerm":"","SortingColumn":["CreatedOn"],"SortingOrder":["desc"],"isContractorListPage":true}


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