[CreateTask] Step 20 - Associate Ticket: 0ms


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


[CreateTask] Step 22 - Insert assignees: 0ms


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


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


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


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


[CreateTask] Total time for SiteId 831: 380ms


[CreateTask] Step 29 - Commit transaction: 2ms


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


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


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


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


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


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


Request Body : {"UserId":4206,"SiteId":[831],"Source":"User"}


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


[CreateTask] Started for OrgId: 258


[CreateTask] Step 1 - Initial setup: 0ms


[CreateTask] Step 2 - Fetch organization: 3ms


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


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


[CreateTask] Step 6 - Begin transaction: 2ms


[CreateTask] Processing SiteId: 831


[CreateTask] Step 7 - Validate input for SiteId 831: 1ms


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


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


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


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


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


[CreateTask] Step 13 - Insert task into database (TaskId: 12187): 1ms


[CreateTask] Step 14 - Associate PSSR: 0ms


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


[CreateTask] Step 16 - Associate MOC: 0ms


[CreateTask] Step 17 - Associate Audit: 0ms


[CreateTask] Step 18 - Associate HIRA: 0ms


[CreateTask] Step 19 - Associate Investigation: 3ms


[CreateTask] Step 20 - Associate Ticket: 0ms


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


[CreateTask] Step 22 - Insert assignees: 0ms


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


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


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


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


[CreateTask] Total time for SiteId 831: 217ms


[CreateTask] Step 29 - Commit transaction: 10ms


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


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


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


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


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


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


Request Body : {"UserId":4206,"SiteId":[831],"Source":"User"}


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


[CreateTask] Started for OrgId: 258


[CreateTask] Step 1 - Initial setup: 0ms


[CreateTask] Step 2 - Fetch organization: 2ms


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


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


[CreateTask] Step 6 - Begin transaction: 1ms


[CreateTask] Processing SiteId: 831


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


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


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


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


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


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


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


[CreateTask] Step 14 - Associate PSSR: 0ms


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


[CreateTask] Step 16 - Associate MOC: 0ms


[CreateTask] Step 17 - Associate Audit: 0ms


[CreateTask] Step 18 - Associate HIRA: 0ms


[CreateTask] Step 19 - Associate Investigation: 2ms


[CreateTask] Step 20 - Associate Ticket: 0ms


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


[CreateTask] Step 22 - Insert assignees: 0ms


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


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


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


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


[CreateTask] Total time for SiteId 831: 174ms


[CreateTask] Step 29 - Commit transaction: 19ms


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


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


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


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


Request Body : {"IsActive":true,"UserId":4206}


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


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


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


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


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


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


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


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


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


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


Request Body : {"UserId":4206}


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


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


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/attachments/users/images/profile1765013862774_62c136cb-9280-45f7-b105-781116e376ed.jpeg


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


Request Body : {}


JTI 5de270e4-14de-4919-9eaf-f412a9c5b57e for userId = 4206 is saved to database.


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


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


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


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


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


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


Request Body : {"SiteId":[814,812,806,808,816,817,807,815,790,805,809,791,811,813,810,792],"UserId":267}


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


Request URL : https://api-sandbox.oqsha.com/Resourceds/app-language-eng


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


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


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


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


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


Request Body : {"SiteId":[814],"UserId":267}


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


Request Body : {"CountryCode":"+91","MobileNumber":"2000008503"}


Request URL : https://api-sandbox.oqsha.com/Organisations/256/IncidentManagement/Incident/Category/41


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


Request Body : {"OrgId":[256],"RoleId":[454],"LocationId":[814],"SortingColumn":["DisplayName"],"SortingOrder":["asc"],"PageSize":1000,"PageNumber":1,"IsActive":true}


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


Request Body : {"OTP":"9999","MobileNumber":"2000008503","CountryCode":"+91","RememberMe":true,"IsOqsha":true}


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


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


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


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


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


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


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


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


Calling RegisterWithSNS for registering the device token : fbjWAK-tRvSvDF3E_gR5pD:APA91bGas1E20MoA6em9UDtHKF3tfboatiG7TYR_-C0qOLmy61emegfhBsab7VEGTnGPzzy3Ly3JnYHZcttN4JlvBfP8low7tBKtF3xWy-srzWr5FlPiEuY


Invalid parameter: Token Reason: Endpoint arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/7d52cc33-c867-3625-85ef-8d3ba973ec16 already exists with the same Token, but different attributes.


Device Endpoint : arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/7d52cc33-c867-3625-85ef-8d3ba973ec16


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


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


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


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


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


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


Request Body : {"SiteId":[],"DepartmentId":[],"InvestigationCategoryId":[],"InvestigationStatusId":[],"FromDate":"2026-04-23","ToDate":"2026-04-23"}


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


Sanitized JSON passed validation: {
  "Sections": [
    {
      "SectionId": 1,
      "SectionName": "",
      "SectionType": "text",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 1,
      "AllowAttachments": false,
      "SectionFiles": [],
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "1_1",
          "Check": "Supervisor in Charge",
          "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",
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Multiselect": false,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": [],
      "VisibilityRules": [],
      "AccessControlRules": []
    },
    {
      "SectionId": 2,
      "SectionName": "",
      "SectionType": "table",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 2,
      "AllowAttachments": true,
      "SectionFiles": [],
      "FileUploadControl": {
        "IsCameraAllowed": true,
        "IsImageUploadAllowed": true,
        "IsVideoUploadAllowed": true,
        "IsAudioUploadAllowed": true,
        "IsFileUploadAllowed": true
      },
      "Checks": [
        {
          "Id": "2_3",
          "Check": "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",
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Multiselect": false,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_4",
          "Check": "Organization",
          "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",
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Multiselect": false,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 1,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_5",
          "Check": "ID No.",
          "Type": "number",
          "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",
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Multiselect": false,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 2,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_6",
          "Check": "Age",
          "Type": "number",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": "18",
              "MinMessage": "Minimum age must be 18 or above.",
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Multiselect": false,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 3,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_14",
          "Check": "Gender",
          "Type": "select",
          "Value": {
            "OptionId": 1,
            "OptionText": "Male"
          },
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Male"
            },
            {
              "OptionId": 2,
              "OptionText": "Female"
            },
            {
              "OptionId": 3,
              "OptionText": "Others"
            }
          ],
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Multiselect": false,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 4,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_7",
          "Check": "Nature of injury",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Fatal"
            },
            {
              "OptionId": 2,
              "OptionText": "Major"
            },
            {
              "OptionId": 3,
              "OptionText": "Minor"
            }
          ],
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "horizontal",
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Multiselect": false,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 5,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_8",
          "Check": "Description of injury",
          "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",
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Multiselect": false,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 6,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_9",
          "Check": "Treatment given",
          "Type": "checkbox",
          "Value": false,
          "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",
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Multiselect": false,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 7,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_12",
          "Check": "Lost Time (In Hours)",
          "Type": "number",
          "Value": null,
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Multiselect": false,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 8,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_15",
          "Check": "No. of Working Days Lost",
          "Type": "number",
          "Value": null,
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Multiselect": false,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 9,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_11",
          "Check": "Remarks",
          "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",
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Multiselect": false,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 10,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": true,
      "TableConfig": {
        "CheckConfiguration": {
          "columnsItems": [
            {
              "field": "check_1",
              "header": "Name",
              "placeholder": "",
              "type": "text",
              "editable": true,
              "required": false,
              "alignment": "center"
            },
            {
              "field": "check_2",
              "header": "Organization",
              "placeholder": "",
              "type": "text",
              "editable": true,
              "required": false,
              "alignment": "center"
            },
            {
              "field": "check_3",
              "header": "ID No.",
              "placeholder": "",
              "type": "number",
              "editable": true,
              "required": false,
              "alignment": "center"
            },
            {
              "field": "check_4",
              "header": "Age",
              "placeholder": "",
              "type": "number",
              "editable": true,
              "required": false,
              "alignment": "center",
              "min": "18"
            },
            {
              "field": "check_5",
              "header": "Gender",
              "placeholder": "",
              "type": "select",
              "editable": true,
              "required": false,
              "alignment": "center",
              "options": [
                {
                  "OptionId": 1,
                  "OptionText": "Male"
                },
                {
                  "OptionId": 2,
                  "OptionText": "Female"
                },
                {
                  "OptionId": 3,
                  "OptionText": "Others"
                }
              ]
            },
            {
              "field": "check_6",
              "header": "Nature of injury",
              "placeholder": "",
              "type": "radio",
              "editable": true,
              "required": false,
              "alignment": "center",
              "options": [
                {
                  "OptionId": 1,
                  "OptionText": "Fatal"
                },
                {
                  "OptionId": 2,
                  "OptionText": "Major"
                },
                {
                  "OptionId": 3,
                  "OptionText": "Minor"
                }
              ]
            },
            {
              "field": "check_7",
              "header": "Description of injury",
              "placeholder": "",
              "type": "text",
              "editable": true,
              "required": false,
              "alignment": "center"
            },
            {
              "field": "check_8",
              "header": "Treatment given",
              "placeholder": "",
              "type": "checkbox",
              "editable": true,
              "required": false,
              "alignment": "center",
              "checkboxLabel": "Treatment given"
            },
            {
              "field": "check_9",
              "header": "Lost Time (In Hours)",
              "placeholder": "",
              "type": "number",
              "editable": true,
              "required": false,
              "alignment": "center"
            },
            {
              "field": "check_10",
              "header": "No. of Working Days Lost",
              "placeholder": "",
              "type": "number",
              "editable": true,
              "required": false,
              "alignment": "center"
            },
            {
              "field": "check_11",
              "header": "Remarks",
              "placeholder": "",
              "type": "text",
              "editable": true,
              "required": false,
              "alignment": "center"
            }
          ]
        },
        "Rows": [
          {
            "check_1": "",
            "check_2": "",
            "check_3": null,
            "check_4": null,
            "check_5": null,
            "check_6": null,
            "check_7": "",
            "check_8": false,
            "check_9": null,
            "check_10": null,
            "check_11": ""
          }
        ]
      },
      "ConditionalRules": [],
      "VisibilityRules": [],
      "AccessControlRules": []
    },
    {
      "SectionId": 3,
      "SectionName": "Signature(s)",
      "SectionType": "signature",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 3,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": 2,
          "Check": "First Aider",
          "Type": "signature",
          "Value": null,
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "First Aider",
            "Declaration": "",
            "SignedUserId": 0,
            "SignedUserName": "",
            "SignedDateAndTime": "",
            "SignedAcmRoleId": 454,
            "DepartmentId": null,
            "IsAssignedToMandatory": false,
            "IsRejected": false,
            "InspectionStatusId": 0,
            "InspectionStatusName": ""
          },
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceSectionId": "",
                "sourceFieldId": "",
                "condition": "equals",
                "value": "",
                "actions": []
              }
            ],
            "VisibilityRules": [],
            "DynamicLabels": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": 3,
          "Check": "First Aider",
          "Type": "signature",
          "Value": null,
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "First Aider",
            "Declaration": "",
            "SignedUserId": 0,
            "SignedUserName": "",
            "SignedDateAndTime": "",
            "SignedAcmRoleId": 454,
            "DepartmentId": null,
            "IsAssignedToMandatory": false,
            "IsRejected": false,
            "InspectionStatusId": 0,
            "InspectionStatusName": ""
          },
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceSectionId": "",
                "sourceFieldId": "",
                "condition": "equals",
                "value": "",
                "actions": []
              }
            ],
            "VisibilityRules": [],
            "DynamicLabels": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 1,
            "WidthPercentage": 100
          }
        },
        {
          "Id": 4,
          "Check": "First Aider",
          "Type": "signature",
          "Value": null,
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "First Aider",
            "Declaration": "",
            "SignedUserId": 0,
            "SignedUserName": "",
            "SignedDateAndTime": "",
            "SignedAcmRoleId": 454,
            "DepartmentId": null,
            "IsAssignedToMandatory": false,
            "IsRejected": false,
            "InspectionStatusId": 0,
            "InspectionStatusName": ""
          },
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceSectionId": "",
                "sourceFieldId": "",
                "condition": "equals",
                "value": "",
                "actions": []
              }
            ],
            "VisibilityRules": [],
            "DynamicLabels": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 2,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": [],
      "VisibilityRules": []
    }
  ]
}


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


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


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


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


Request Body : {}


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/258/Module/46/Entity/543/tasks


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisation/256/Users/DropDown?ModuleName=Incident Management&siteId=814&AcmModuleId=46


Request URL : https://api-sandbox.oqsha.com/Organisations/256/IncidentManagement/Incident/1155/History


Request Body : {"UserId":267}


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


Request Body : {"OrgId":[256],"RoleId":[454],"LocationId":[814],"SortingColumn":["DisplayName"],"SortingOrder":["asc"],"PageSize":1000,"PageNumber":1,"IsActive":true}


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


Request Body : {"IsActive":true,"UserId":11167}


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


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


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


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


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/256/IncidentManagement/Incident/Category/41


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


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


Request Body : {"OrganisationId":256,"ModuleId":46,"EntityId":"41","EntityType":"IncidentManagementIncidentCategory"}


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


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


Request Body : {"UserId":11167,"SiteId":[831],"Source":"User"}


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


[CreateTask] Started for OrgId: 258


[CreateTask] Step 1 - Initial setup: 0ms


[CreateTask] Step 2 - Fetch organization: 1ms


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


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


[CreateTask] Step 6 - Begin transaction: 1ms


[CreateTask] Processing SiteId: 831


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


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


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


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


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


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


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


[CreateTask] Step 14 - Associate PSSR: 0ms


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


[CreateTask] Step 16 - Associate MOC: 0ms


[CreateTask] Step 17 - Associate Audit: 0ms


[CreateTask] Step 18 - Associate HIRA: 0ms


[CreateTask] Step 19 - Associate Investigation: 2ms


[CreateTask] Step 20 - Associate Ticket: 0ms


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


[CreateTask] Step 22 - Insert assignees: 0ms


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


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


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


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


[CreateTask] Total time for SiteId 831: 448ms


[CreateTask] Step 29 - Commit transaction: 23ms


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


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


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


Sanitized JSON passed validation: {
  "Sections": [
    {
      "SectionId": 1,
      "SectionName": "",
      "SectionType": "text",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 1,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": "1_1",
          "Check": "Supervisor in Charge",
          "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,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": [],
      "VisibilityRules": [],
      "AccessControlRules": []
    },
    {
      "SectionId": 2,
      "SectionName": "",
      "SectionType": "table",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 2,
      "AllowAttachments": true,
      "FileUploadControl": {
        "IsCameraAllowed": true,
        "IsImageUploadAllowed": true,
        "IsVideoUploadAllowed": true,
        "IsAudioUploadAllowed": true,
        "IsFileUploadAllowed": true
      },
      "Checks": [
        {
          "Id": "2_3",
          "Check": "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,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_4",
          "Check": "Organization",
          "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,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 1,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_5",
          "Check": "ID No.",
          "Type": "number",
          "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,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 2,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_6",
          "Check": "Age",
          "Type": "number",
          "Value": "",
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": "18",
              "MinMessage": "Minimum age must be 18 or above.",
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 3,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_14",
          "Check": "Gender",
          "Type": "select",
          "Value": "Male",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Male"
            },
            {
              "OptionId": 2,
              "OptionText": "Female"
            },
            {
              "OptionId": 3,
              "OptionText": "Others"
            }
          ],
          "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,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 4,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_7",
          "Check": "Nature of injury",
          "Type": "radio",
          "Value": "",
          "IsMandatory": 0,
          "CheckOptions": [
            {
              "OptionId": 1,
              "OptionText": "Fatal"
            },
            {
              "OptionId": 2,
              "OptionText": "Major"
            },
            {
              "OptionId": 3,
              "OptionText": "Minor"
            }
          ],
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "horizontal",
            "Multiselect": false,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 5,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_8",
          "Check": "Description of injury",
          "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,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 6,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_9",
          "Check": "Treatment given",
          "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,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 7,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_12",
          "Check": "Lost Time (In Hours)",
          "Type": "number",
          "Value": null,
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 8,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_15",
          "Check": "No. of Working Days Lost",
          "Type": "number",
          "Value": null,
          "IsMandatory": 0,
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 9,
            "WidthPercentage": 100
          }
        },
        {
          "Id": "2_11",
          "Check": "Remarks",
          "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,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false,
            "ConditionalRules": [],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 10,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": true,
      "ConditionalRules": [],
      "VisibilityRules": [],
      "AccessControlRules": [],
      "TableConfig": {
        "CheckConfiguration": {
          "columnsItems": [
            {
              "field": "check_1",
              "header": "Name",
              "placeholder": "",
              "type": "text",
              "editable": true,
              "required": false,
              "alignment": "center"
            },
            {
              "field": "check_2",
              "header": "Organization",
              "placeholder": "",
              "type": "text",
              "editable": true,
              "required": false,
              "alignment": "center"
            },
            {
              "field": "check_3",
              "header": "ID No.",
              "placeholder": "",
              "type": "number",
              "editable": true,
              "required": false,
              "alignment": "center"
            },
            {
              "field": "check_4",
              "header": "Age",
              "placeholder": "",
              "type": "number",
              "editable": true,
              "required": false,
              "alignment": "center",
              "min": "18"
            },
            {
              "field": "check_5",
              "header": "Gender",
              "placeholder": "",
              "type": "select",
              "editable": true,
              "required": false,
              "alignment": "center",
              "options": [
                {
                  "OptionId": 1,
                  "OptionText": "Male"
                },
                {
                  "OptionId": 2,
                  "OptionText": "Female"
                },
                {
                  "OptionId": 3,
                  "OptionText": "Others"
                }
              ]
            },
            {
              "field": "check_6",
              "header": "Nature of injury",
              "placeholder": "",
              "type": "radio",
              "editable": true,
              "required": false,
              "alignment": "center",
              "options": [
                {
                  "OptionId": 1,
                  "OptionText": "Fatal"
                },
                {
                  "OptionId": 2,
                  "OptionText": "Major"
                },
                {
                  "OptionId": 3,
                  "OptionText": "Minor"
                }
              ]
            },
            {
              "field": "check_7",
              "header": "Description of injury",
              "placeholder": "",
              "type": "text",
              "editable": true,
              "required": false,
              "alignment": "center"
            },
            {
              "field": "check_8",
              "header": "Treatment given",
              "placeholder": "",
              "type": "checkbox",
              "editable": true,
              "required": false,
              "alignment": "center",
              "checkboxLabel": "Treatment given"
            },
            {
              "field": "check_9",
              "header": "Lost Time (In Hours)",
              "placeholder": "",
              "type": "number",
              "editable": true,
              "required": false,
              "alignment": "center"
            },
            {
              "field": "check_10",
              "header": "No. of Working Days Lost",
              "placeholder": "",
              "type": "number",
              "editable": true,
              "required": false,
              "alignment": "center"
            },
            {
              "field": "check_11",
              "header": "Remarks",
              "placeholder": "",
              "type": "text",
              "editable": true,
              "required": false,
              "alignment": "center"
            }
          ]
        }
      }
    },
    {
      "SectionId": 3,
      "SectionName": "Signature(s)",
      "SectionType": "signature",
      "MandatoryChecksCount": 0,
      "OrganisationId": null,
      "Status": 1,
      "Rank": 3,
      "AllowAttachments": false,
      "FileUploadControl": {
        "IsCameraAllowed": false,
        "IsImageUploadAllowed": false,
        "IsVideoUploadAllowed": false,
        "IsAudioUploadAllowed": false,
        "IsFileUploadAllowed": false
      },
      "Checks": [
        {
          "Id": 2,
          "Check": "First Aider",
          "Type": "signature",
          "Value": null,
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "First Aider",
            "Declaration": "",
            "SignedUserId": 0,
            "SignedUserName": "",
            "SignedDateAndTime": "",
            "SignedAcmRoleId": 523,
            "DepartmentId": null,
            "IsAssignedToMandatory": false,
            "IsRejected": false,
            "InspectionStatusId": 0,
            "InspectionStatusName": ""
          },
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceSectionId": "",
                "sourceFieldId": "",
                "condition": "equals",
                "value": "",
                "actions": []
              }
            ],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 0,
            "WidthPercentage": 100
          }
        },
        {
          "Id": 3,
          "Check": "First Aider",
          "Type": "signature",
          "Value": null,
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "First Aider",
            "Declaration": "",
            "SignedUserId": 0,
            "SignedUserName": "",
            "SignedDateAndTime": "",
            "SignedAcmRoleId": 524,
            "DepartmentId": null,
            "IsAssignedToMandatory": false,
            "IsRejected": false,
            "InspectionStatusId": 0,
            "InspectionStatusName": ""
          },
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceSectionId": "",
                "sourceFieldId": "",
                "condition": "equals",
                "value": "",
                "actions": []
              }
            ],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 1,
            "WidthPercentage": 100
          }
        },
        {
          "Id": 4,
          "Check": "First Aider",
          "Type": "signature",
          "Value": null,
          "IsMandatory": 0,
          "SignatureConfiguration": {
            "Labels": "First Aider",
            "Declaration": "",
            "SignedUserId": 0,
            "SignedUserName": "",
            "SignedDateAndTime": "",
            "SignedAcmRoleId": 460,
            "DepartmentId": null,
            "IsAssignedToMandatory": false,
            "IsRejected": false,
            "InspectionStatusId": 0,
            "InspectionStatusName": ""
          },
          "CheckConfiguration": {
            "Validations": {
              "Required": false,
              "RequiredMessage": "This field is required",
              "MinLength": null,
              "MinLengthMessage": null,
              "MaxLength": null,
              "MaxLengthMessage": null,
              "Min": null,
              "MinMessage": null,
              "Max": null,
              "MaxMessage": null,
              "Pattern": null,
              "PatternMessage": null
            },
            "Placeholder": "",
            "DisplayOrientation": "vertical",
            "Multiselect": false,
            "ShouldReset": false,
            "FloatingLabel": false,
            "DisplayAsColumn": false,
            "DisplayAsFilter": false,
            "ReadOnly": false,
            "ConditionalRules": [
              {
                "sourceSectionId": "",
                "sourceFieldId": "",
                "condition": "equals",
                "value": "",
                "actions": []
              }
            ],
            "VisibilityRules": [],
            "AccessControlRules": [],
            "DynamicLabels": [],
            "Alignment": "center"
          },
          "LayoutMetadata": {
            "RowNumber": 0,
            "ColumnOrder": 2,
            "WidthPercentage": 100
          }
        }
      ],
      "IsMainSection": false,
      "AllowTaskAssociation": false,
      "IsMandatoryAttachment": false,
      "IsSectionTable": false,
      "ConditionalRules": [],
      "VisibilityRules": [],
      "AccessControlRules": []
    }
  ]
}


No changes detected for generic audit log - Module: 46, Entity: 41


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


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


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


Request Body : {"SiteId":[814,812,806,808,816,817,807,815,790,805,809,791,811,813,810,792],"UserId":267}


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


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


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


Request Body : {}


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


Request Body : {"SiteId":[814],"UserId":267}


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


Request URL : https://api-sandbox.oqsha.com/Organisations/256/IncidentManagement/Incident/Category/41


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


Request Body : {"OrgId":[256],"RoleId":[523],"LocationId":[814],"SortingColumn":["DisplayName"],"SortingOrder":["asc"],"PageSize":1000,"PageNumber":1,"IsActive":true}


Request Body : {"OrgId":[256],"RoleId":[524],"LocationId":[814],"SortingColumn":["DisplayName"],"SortingOrder":["asc"],"PageSize":1000,"PageNumber":1,"IsActive":true}


Request Body : {"OrgId":[256],"RoleId":[460],"LocationId":[814],"SortingColumn":["DisplayName"],"SortingOrder":["asc"],"PageSize":1000,"PageNumber":1,"IsActive":true}


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