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


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


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


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


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


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


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Resourcsdes/eng?orgId=262


Request URL : https://api-sandbox.oqsha.com/Resourcsdes/eng


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


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


Request URL : https://api-sandbox.oqsha.com/Resources/package-features-eng


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


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/91/Workflows/States/Startable


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Reports/Dashboards


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/91/Categories/All


Request Body : {"SiteIds":[841],"PageNumber":1,"PageLimit":1000,"UserId":11344}


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/91/Categories/98


Request URL : https://api-sandbox.oqsha.com/Organisation/262/Users/DropDown?ModuleName=module-category&siteId=841&isActive=true


Request Body : {"Dimensions":{"CategoryTypeId":98}}


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


System.InvalidOperationException: HealthV2UIDFormatOptions not found in PageFlags.
   at IncidentReporter.API.BLL.HealthV2Bll.<GenerateHealthV2UidAsync>d__11.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\HealthV2Bll.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IncidentReporter.API.BLL.HealthV2Bll.<CreateHealthV2Async>d__5.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\HealthV2Bll.cs:line 137


Request Body : {"Email":"TTK_Admin@oqsha.com","FirstName":"Hebert","LastName":"Eaton","Address":"","EmployeeNumber":"","City":"Ten Sleep","Country":"INDIA","Pincode":"530045"}


System.ArgumentException: token
   at JWT.JwtParts..ctor(String token)
   at JWT.Builder.JwtBuilder.Decode(String token)
   at IncidentReporter.API.Handlers.Authorise.DecodeToken(String token, String secret) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 112
   at IncidentReporter.API.Handlers.Authorise.OnActionExecuting(HttpActionContext actionContext) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\Authorise.cs:line 38


Request URL : https://api-sandbox.oqsha.com/Resourcsdes/eng?orgId=262


Request URL : https://api-sandbox.oqsha.com/Resourcsdes/eng


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


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


Request URL : https://api-sandbox.oqsha.com/Resources/package-features-eng


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


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/91/Workflows/States/Startable


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Reports/Dashboards


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


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


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/91/Workflows/States/Types


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/91/Workflows/States


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


Request Body : {}


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/91/Categories/Dropdown


Request URL : https://api-sandbox.oqsha.com/Organisation/262/Users/DropDown?siteId=841


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/91/Categories/All


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


Request Body : {"SiteIds":[841],"PageNumber":1,"PageLimit":1000,"UserId":11344}


Request URL : https://api-sandbox.oqsha.com/Organisations/262/HealthV2/All


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/91/Workflows/States/Startable


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/91/Categories/98


Request URL : https://api-sandbox.oqsha.com/Organisation/262/Users/DropDown?ModuleName=module-category&siteId=841&isActive=true


Request Body : {"Dimensions":{"CategoryTypeId":98}}


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


HealthV2UIDFormatOptions not found in PageFlags.


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/211/Inspections/Feed?seeAllInspections=0&FromDate=2026-05-07&ToDate=2026-05-21


Request URL : https://api-sandbox.oqsha.com/Resourcsdes/eng?orgId=262


Request URL : https://api-sandbox.oqsha.com/Resourcsdes/eng


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


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


Request URL : https://api-sandbox.oqsha.com/Resources/package-features-eng


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


Request URL : https://api-sandbox.oqsha.com/Organisations/211/Users/9721/incidentsites


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/91/Categories/All


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/91/Workflows/States/Types


Request URL : https://api-sandbox.oqsha.com/Organisation/262/Users/DropDown?siteId=841


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


Request Body : {"SiteIds":[841],"PageNumber":1,"PageLimit":1000,"UserId":11344}


Request URL : https://api-sandbox.oqsha.com/Organisations/262/HealthV2/All


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/211/User/9721/PtwCompany?IsActive=1


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Reports/Dashboards


Request URL : https://api-sandbox.oqsha.com/Organisations/211/PermitToWork/ShiftTimings


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


Request URL : https://api-sandbox.oqsha.com/Organisation/211/User/9721/JobTypes


Request URL : https://api-sandbox.oqsha.com/Organisations/211/Contractors/All?status=1&IsActive=1


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


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


Request Body : {}


JTI d5f02ff6-6fd8-447d-8ddc-d171432ea4fb for userId = 9721 is saved to database.


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


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


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


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


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


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


Request Body : {"OTP":"9999","MobileNumber":"2000000713","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/1955/Organisations/


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


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


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


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


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


Calling RegisterWithSNS for registering the device token : dQq7I_-mT4-oQJGTQJNIkg:APA91bEddlfWEyd4ab1pe5p75VEI2DB7q_xV_6sBnuRjg-0dcakWHqeiQ4pSnXGdG4lqmeUz-5gZQQ8gGF2iaWMhRBjAjBsmvzcnYHWU7SsctxHPydkZPDE


Invalid parameter: Token Reason: Endpoint arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/ff1e6a0d-8dae-3b80-bb4e-c3ed8edc8b80 already exists with the same Token, but different attributes.


Device Endpoint : arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/ff1e6a0d-8dae-3b80-bb4e-c3ed8edc8b80


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Resourcsdes/eng?orgId=262


Request URL : https://api-sandbox.oqsha.com/Resourcsdes/eng


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


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


Request URL : https://api-sandbox.oqsha.com/Resources/package-features-eng


Request URL : https://api-sandbox.oqsha.com/Organisations/211/Users/1955/incidentsites


Request URL : https://api-sandbox.oqsha.com/Organisations/211/User/1955/PtwCompany?IsActive=1


Request URL : https://api-sandbox.oqsha.com/Organisation/211/User/1955/JobTypes


Request URL : https://api-sandbox.oqsha.com/Organisations/211/PermitToWork/ShiftTimings


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


Request URL : https://api-sandbox.oqsha.com/Organisations/211/Contractors/All?status=1&IsActive=1


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


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


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


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


Request Body : {"OrgId":[248],"PageNumber":1,"PageLimit":10,"SortingColumn":["StartDate"],"SortingOrder":["desc"],"FromDate":"2026-04-01","ToDate":"2026-05-14","IsOnlineTraining":"","SiteId":[]}


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Batches/Summary


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


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


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


Request Body : {"OrgId":[248],"PageNumber":1,"PageLimit":10,"SortingColumn":["StartDate"],"SortingOrder":["desc"],"FromDate":"2026-04-01","ToDate":"2026-05-14","IsOnlineTraining":"","SiteId":[705]}


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


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


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Resources/eng


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


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


Request URL : https://api-sandbox.oqsha.com/Resources/package-features-eng


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


Request URL : https://api-sandbox.oqsha.com/Organisations/207/BulkExports/8


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/207/Reports/Dashboards


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


Request URL : https://api-sandbox.oqsha.com/Organisations/256/Courses/266/Batches/1505


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


Request URL : https://api-sandbox.oqsha.com/Organisations/256/Courses/266/Batches/1505/Participants/267/AnswerQuiz


Request URL : https://api-sandbox.oqsha.com/Organisations/256/Contractors/All?isContractorListPage=true


Request Body : {"OrgId":[256],"SiteIds":[],"isContractorListPage":true}


Request Body : {"OrgId":[256],"SiteIds":[862],"isContractorListPage":true}


Request URL : https://api-sandbox.oqsha.com/Organisation/256/Users/Dropdown?&siteId=862&UserType=Employee


Request URL : https://api-sandbox.oqsha.com/Organisation/256/TrainingUsers?&siteId=862


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


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


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


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


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Resources/eng


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


Request URL : https://api-sandbox.oqsha.com/Resources/package-features-eng


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


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/87/Categories/All


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/87/Workflows/States/Types


Request URL : https://api-sandbox.oqsha.com/Organisation/262/Users/DropDown?siteId=841


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


Request Body : {"SiteIds":[841],"PageNumber":1,"PageLimit":1000,"UserId":267}


Request URL : https://api-sandbox.oqsha.com/Organisations/262/InspectionV2/All


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Reports/Dashboards


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


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


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


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


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


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


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


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


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


Request Body : {"Email":"","FirstName":"","LastName":"","MobileNumber":"","WhatsAppNumber":"2000001875","Address":"","EmployeeNumber":"","City":"Ten Sleep","Country":"INDIA","Pincode":"530045"}


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


Request Body :

{
    "SiteId": 841,
    "CategoryId": 94,
    "StartState": "Draft",
    "Checks": {
        "Sections": [
            {
                "SectionId": 1,
                "SectionName": "",
                "SectionType": "module-association",
                "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": "Associated Investigation",
                        "Type": "module-association",
                        "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": "An Investigation record will show up here as soon as created for a record.",
                            "DisplayOrientation": "vertical",
                            "ConditionalRules": [],
                            "VisibilityRules": [
                                {
                                    "id": "v2h8fydlu",
                                    "roles": [
                                        {
                                            "id": 489,
                                            "name": "Admin"
                                        },
                                        {
                                            "id": 507,
                                            "name": "Rig Manager"
                                        },
                                        {
                                            "id": 514,
                                            "name": "Safety Officer"
                                        },
                                        {
                                            "id": 506,
                                            "name": "ToolPusher"
                                        }
                                    ],
                                    "statuses": [
                                        {
                                            "id": 17,
                                            "name": "Open"
                                        },
                                        {
                                            "id": 18,
                                            "name": "Assigned"
                                        },
                                        {
                                            "id": 19,
                                            "name": "Resolved"
                                        },
                                        {
                                            "id": 20,
                                            "name": "Re-opened"
                                        },
                                        {
                                            "id": 21,
                                            "name": "Closed"
                                        }
                                    ],
                                    "combinator": "AND"
                                }
                            ],
                            "AccessControlRules": [],
                            "DynamicLabels": [],
                            "Multiselect": false,
                            "ShouldReset": false,
                            "FloatingLabel": false,
                            "DisplayAsColumn": false,
                            "DisplayAsFilter": false,
                            "ReadOnly": true,
                            "ModuleAssociationConfiguration": {
                                "targetModule": "Investigations",
                                "targetModuleId": 81,
                                "selectionMode": "single",
                                "filters": [],
                                "isActorContextIdentifier": false,
                                "actorKey": ""
                            }
                        },
                        "LayoutMetadata": {
                            "RowNumber": 0,
                            "ColumnOrder": 0,
                            "WidthPercentage": 100
                        }
                    }
                ],
                "IsMainSection": false,
                "AllowTaskAssociation": false,
                "IsMandatoryAttachment": false,
                "IsSectionTable": false,
                "ConditionalRules": [
                    {
                        "sourceFieldId": "1_3",
                        "condition": "equals",
                        "value": 3,
                        "actions": "show"
                    }
                ],
                "VisibilityRules": [
                    {
                        "id": "1zh9am80e",
                        "roles": [
                            {
                                "id": 489,
                                "name": "Admin"
                            },
                            {
                                "id": 517,
                                "name": "HSE Officer"
                            },
                            {
                                "id": 507,
                                "name": "Rig Manager"
                            },
                            {
                                "id": 514,
                                "name": "Safety Officer"
                            },
                            {
                                "id": 506,
                                "name": "ToolPusher"
                            }
                        ],
                        "statuses": [
                            {
                                "id": 17,
                                "name": "Open"
                            },
                            {
                                "id": 18,
                                "name": "Assigned"
                            },
                            {
                                "id": 19,
                                "name": "Resolved"
                            },
                            {
                                "id": 20,
                                "name": "Re-opened"
                            },
                            {
                                "id": 21,
                                "name": "Closed"
                            }
                        ],
                        "combinator": "AND"
                    }
                ],
                "AccessControlRules": []
            },
            {
                "SectionId": 2,
                "SectionName": "",
                "SectionType": "module-association",
                "MandatoryChecksCount": 0,
                "OrganisationId": null,
                "Status": 1,
                "Rank": 2,
                "AllowAttachments": false,
                "SectionFiles": [],
                "FileUploadControl": {
                    "IsCameraAllowed": false,
                    "IsImageUploadAllowed": false,
                    "IsVideoUploadAllowed": false,
                    "IsAudioUploadAllowed": false,
                    "IsFileUploadAllowed": false
                },
                "Checks": [
                    {
                        "Id": "2_1",
                        "Check": "Assigned to",
                        "Type": "module-association",
                        "Value": 267,
                        "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,
                            "ModuleAssociationConfiguration": {
                                "targetModule": "Users",
                                "targetModuleId": 6,
                                "selectionMode": "single",
                                "filters": [],
                                "isActorContextIdentifier": true,
                                "actorKey": "AssignedUser"
                            }
                        },
                        "LayoutMetadata": {
                            "RowNumber": 0,
                            "ColumnOrder": 0,
                            "WidthPercentage": 33.33
                        }
                    },
                    {
                        "Id": "2_2",
                        "Check": "Near miss Description",
                        "Type": "text",
                        "Value": "hiwheihweiwe",
                        "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": 33.33
                        }
                    },
                    {
                        "Id": "2_3",
                        "Check": "Severity",
                        "Type": "radio",
                        "Value": "3",
                        "IsMandatory": 0,
                        "CheckOptions": [
                            {
                                "OptionId": 1,
                                "OptionText": "Low"
                            },
                            {
                                "OptionId": 2,
                                "OptionText": "Moderate"
                            },
                            {
                                "OptionId": 3,
                                "OptionText": "Critical"
                            }
                        ],
                        "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": 2,
                            "WidthPercentage": 33.33
                        }
                    }
                ],
                "IsMainSection": false,
                "AllowTaskAssociation": false,
                "IsMandatoryAttachment": false,
                "IsSectionTable": false,
                "ConditionalRules": [],
                "VisibilityRules": [],
                "AccessControlRules": []
            },
            {
                "SectionId": 3,
                "SectionName": "Remarks / Comments",
                "SectionType": "comment",
                "MandatoryChecksCount": 0,
                "OrganisationId": null,
                "Status": 1,
                "Rank": 3,
                "AllowAttachments": true,
                "SectionFiles": [],
                "FileUploadControl": {
                    "IsCameraAllowed": true,
                    "IsImageUploadAllowed": true,
                    "IsVideoUploadAllowed": true,
                    "IsAudioUploadAllowed": true,
                    "IsFileUploadAllowed": true
                },
                "Checks": [
                    {
                        "Id": "3_1",
                        "Check": "Comments",
                        "Type": "comment",
                        "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": 4,
                "SectionName": "",
                "SectionType": "module-create-action",
                "MandatoryChecksCount": 0,
                "OrganisationId": null,
                "Status": 1,
                "Rank": 4,
                "AllowAttachments": false,
                "SectionFiles": [],
                "FileUploadControl": {
                    "IsCameraAllowed": false,
                    "IsImageUploadAllowed": false,
                    "IsVideoUploadAllowed": false,
                    "IsAudioUploadAllowed": false,
                    "IsFileUploadAllowed": false
                },
                "Checks": [
                    {
                        "Id": "4_1",
                        "Check": "Create Investigation",
                        "Type": "module-create-action",
                        "Value": 0,
                        "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": [
                                {
                                    "id": "kw6iblctb",
                                    "roles": [
                                        {
                                            "id": 489,
                                            "name": "Admin"
                                        },
                                        {
                                            "id": 517,
                                            "name": "HSE Officer"
                                        },
                                        {
                                            "id": 507,
                                            "name": "Rig Manager"
                                        },
                                        {
                                            "id": 514,
                                            "name": "Safety Officer"
                                        },
                                        {
                                            "id": 506,
                                            "name": "ToolPusher"
                                        }
                                    ],
                                    "statuses": [
                                        {
                                            "id": 17,
                                            "name": "Open"
                                        },
                                        {
                                            "id": 18,
                                            "name": "Assigned"
                                        },
                                        {
                                            "id": 19,
                                            "name": "Resolved"
                                        },
                                        {
                                            "id": 20,
                                            "name": "Re-opened"
                                        },
                                        {
                                            "id": 21,
                                            "name": "Closed"
                                        }
                                    ],
                                    "combinator": "AND"
                                }
                            ],
                            "AccessControlRules": [],
                            "DynamicLabels": [],
                            "Multiselect": false,
                            "ShouldReset": false,
                            "FloatingLabel": false,
                            "DisplayAsColumn": false,
                            "DisplayAsFilter": false,
                            "ReadOnly": false,
                            "ModuleCreateActionConfiguration": {
                                "targetModule": "investigation-v2",
                                "targetModuleId": 81,
                                "targetModuleKey": "investigation-v2",
                                "targetTypeId": 10,
                                "targetTypeName": "NEARMISS NOTIFICATION & INVESTIGATION REPORT",
                                "actionKey": "",
                                "postActionValue": ""
                            }
                        },
                        "LayoutMetadata": {
                            "RowNumber": 0,
                            "ColumnOrder": 0,
                            "WidthPercentage": 100
                        }
                    }
                ],
                "IsMainSection": false,
                "AllowTaskAssociation": false,
                "IsMandatoryAttachment": false,
                "IsSectionTable": false,
                "ConditionalRules": [
                    {
                        "sourceFieldId": "1_3",
                        "condition": "equals",
                        "value": 3,
                        "actions": "show"
                    }
                ],
                "VisibilityRules": [
                    {
                        "id": "uln7iyese",
                        "roles": [
                            {
                                "id": 489,
                                "name": "Admin"
                            },
                            {
                                "id": 507,
                                "name": "Rig Manager"
                            },
                            {
                                "id": 514,
                                "name": "Safety Officer"
                            },
                            {
                                "id": 506,
                                "name": "ToolPusher"
                            }
                        ],
                        "statuses": [
                            {
                                "id": 17,
                                "name": "Open"
                            },
                            {
                                "id": 18,
                                "name": "Assigned"
                            },
                            {
                                "id": 19,
                                "name": "Resolved"
                            },
                            {
                                "id": 20,
                                "name": "Re-opened"
                            }
                        ],
                        "combinator": "AND"
                    }
                ],
                "AccessControlRules": []
            }
        ]
    }
}


Request Body :

{
    "SiteId": 841,
    "CategoryId": 94,
    "StartState": "Drafted",
    "Checks": {
        "Sections": [
            {
                "SectionId": 1,
                "SectionName": "",
                "SectionType": "module-association",
                "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": "Associated Investigation",
                        "Type": "module-association",
                        "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": "An Investigation record will show up here as soon as created for a record.",
                            "DisplayOrientation": "vertical",
                            "ConditionalRules": [],
                            "VisibilityRules": [
                                {
                                    "id": "v2h8fydlu",
                                    "roles": [
                                        {
                                            "id": 489,
                                            "name": "Admin"
                                        },
                                        {
                                            "id": 507,
                                            "name": "Rig Manager"
                                        },
                                        {
                                            "id": 514,
                                            "name": "Safety Officer"
                                        },
                                        {
                                            "id": 506,
                                            "name": "ToolPusher"
                                        }
                                    ],
                                    "statuses": [
                                        {
                                            "id": 17,
                                            "name": "Open"
                                        },
                                        {
                                            "id": 18,
                                            "name": "Assigned"
                                        },
                                        {
                                            "id": 19,
                                            "name": "Resolved"
                                        },
                                        {
                                            "id": 20,
                                            "name": "Re-opened"
                                        },
                                        {
                                            "id": 21,
                                            "name": "Closed"
                                        }
                                    ],
                                    "combinator": "AND"
                                }
                            ],
                            "AccessControlRules": [],
                            "DynamicLabels": [],
                            "Multiselect": false,
                            "ShouldReset": false,
                            "FloatingLabel": false,
                            "DisplayAsColumn": false,
                            "DisplayAsFilter": false,
                            "ReadOnly": true,
                            "ModuleAssociationConfiguration": {
                                "targetModule": "Investigations",
                                "targetModuleId": 81,
                                "selectionMode": "single",
                                "filters": [],
                                "isActorContextIdentifier": false,
                                "actorKey": ""
                            }
                        },
                        "LayoutMetadata": {
                            "RowNumber": 0,
                            "ColumnOrder": 0,
                            "WidthPercentage": 100
                        }
                    }
                ],
                "IsMainSection": false,
                "AllowTaskAssociation": false,
                "IsMandatoryAttachment": false,
                "IsSectionTable": false,
                "ConditionalRules": [
                    {
                        "sourceFieldId": "1_3",
                        "condition": "equals",
                        "value": 3,
                        "actions": "show"
                    }
                ],
                "VisibilityRules": [
                    {
                        "id": "1zh9am80e",
                        "roles": [
                            {
                                "id": 489,
                                "name": "Admin"
                            },
                            {
                                "id": 517,
                                "name": "HSE Officer"
                            },
                            {
                                "id": 507,
                                "name": "Rig Manager"
                            },
                            {
                                "id": 514,
                                "name": "Safety Officer"
                            },
                            {
                                "id": 506,
                                "name": "ToolPusher"
                            }
                        ],
                        "statuses": [
                            {
                                "id": 17,
                                "name": "Open"
                            },
                            {
                                "id": 18,
                                "name": "Assigned"
                            },
                            {
                                "id": 19,
                                "name": "Resolved"
                            },
                            {
                                "id": 20,
                                "name": "Re-opened"
                            },
                            {
                                "id": 21,
                                "name": "Closed"
                            }
                        ],
                        "combinator": "AND"
                    }
                ],
                "AccessControlRules": []
            },
            {
                "SectionId": 2,
                "SectionName": "",
                "SectionType": "module-association",
                "MandatoryChecksCount": 0,
                "OrganisationId": null,
                "Status": 1,
                "Rank": 2,
                "AllowAttachments": false,
                "SectionFiles": [],
                "FileUploadControl": {
                    "IsCameraAllowed": false,
                    "IsImageUploadAllowed": false,
                    "IsVideoUploadAllowed": false,
                    "IsAudioUploadAllowed": false,
                    "IsFileUploadAllowed": false
                },
                "Checks": [
                    {
                        "Id": "2_1",
                        "Check": "Assigned to",
                        "Type": "module-association",
                        "Value": 267,
                        "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,
                            "ModuleAssociationConfiguration": {
                                "targetModule": "Users",
                                "targetModuleId": 6,
                                "selectionMode": "single",
                                "filters": [],
                                "isActorContextIdentifier": true,
                                "actorKey": "AssignedUser"
                            }
                        },
                        "LayoutMetadata": {
                            "RowNumber": 0,
                            "ColumnOrder": 0,
                            "WidthPercentage": 33.33
                        }
                    },
                    {
                        "Id": "2_2",
                        "Check": "Near miss Description",
                        "Type": "text",
                        "Value": "hiwheihweiwe",
                        "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": 33.33
                        }
                    },
                    {
                        "Id": "2_3",
                        "Check": "Severity",
                        "Type": "radio",
                        "Value": "3",
                        "IsMandatory": 0,
                        "CheckOptions": [
                            {
                                "OptionId": 1,
                                "OptionText": "Low"
                            },
                            {
                                "OptionId": 2,
                                "OptionText": "Moderate"
                            },
                            {
                                "OptionId": 3,
                                "OptionText": "Critical"
                            }
                        ],
                        "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": 2,
                            "WidthPercentage": 33.33
                        }
                    }
                ],
                "IsMainSection": false,
                "AllowTaskAssociation": false,
                "IsMandatoryAttachment": false,
                "IsSectionTable": false,
                "ConditionalRules": [],
                "VisibilityRules": [],
                "AccessControlRules": []
            },
            {
                "SectionId": 3,
                "SectionName": "Remarks / Comments",
                "SectionType": "comment",
                "MandatoryChecksCount": 0,
                "OrganisationId": null,
                "Status": 1,
                "Rank": 3,
                "AllowAttachments": true,
                "SectionFiles": [],
                "FileUploadControl": {
                    "IsCameraAllowed": true,
                    "IsImageUploadAllowed": true,
                    "IsVideoUploadAllowed": true,
                    "IsAudioUploadAllowed": true,
                    "IsFileUploadAllowed": true
                },
                "Checks": [
                    {
                        "Id": "3_1",
                        "Check": "Comments",
                        "Type": "comment",
                        "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": 4,
                "SectionName": "",
                "SectionType": "module-create-action",
                "MandatoryChecksCount": 0,
                "OrganisationId": null,
                "Status": 1,
                "Rank": 4,
                "AllowAttachments": false,
                "SectionFiles": [],
                "FileUploadControl": {
                    "IsCameraAllowed": false,
                    "IsImageUploadAllowed": false,
                    "IsVideoUploadAllowed": false,
                    "IsAudioUploadAllowed": false,
                    "IsFileUploadAllowed": false
                },
                "Checks": [
                    {
                        "Id": "4_1",
                        "Check": "Create Investigation",
                        "Type": "module-create-action",
                        "Value": 0,
                        "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": [
                                {
                                    "id": "kw6iblctb",
                                    "roles": [
                                        {
                                            "id": 489,
                                            "name": "Admin"
                                        },
                                        {
                                            "id": 517,
                                            "name": "HSE Officer"
                                        },
                                        {
                                            "id": 507,
                                            "name": "Rig Manager"
                                        },
                                        {
                                            "id": 514,
                                            "name": "Safety Officer"
                                        },
                                        {
                                            "id": 506,
                                            "name": "ToolPusher"
                                        }
                                    ],
                                    "statuses": [
                                        {
                                            "id": 17,
                                            "name": "Open"
                                        },
                                        {
                                            "id": 18,
                                            "name": "Assigned"
                                        },
                                        {
                                            "id": 19,
                                            "name": "Resolved"
                                        },
                                        {
                                            "id": 20,
                                            "name": "Re-opened"
                                        },
                                        {
                                            "id": 21,
                                            "name": "Closed"
                                        }
                                    ],
                                    "combinator": "AND"
                                }
                            ],
                            "AccessControlRules": [],
                            "DynamicLabels": [],
                            "Multiselect": false,
                            "ShouldReset": false,
                            "FloatingLabel": false,
                            "DisplayAsColumn": false,
                            "DisplayAsFilter": false,
                            "ReadOnly": false,
                            "ModuleCreateActionConfiguration": {
                                "targetModule": "investigation-v2",
                                "targetModuleId": 81,
                                "targetModuleKey": "investigation-v2",
                                "targetTypeId": 10,
                                "targetTypeName": "NEARMISS NOTIFICATION & INVESTIGATION REPORT",
                                "actionKey": "",
                                "postActionValue": ""
                            }
                        },
                        "LayoutMetadata": {
                            "RowNumber": 0,
                            "ColumnOrder": 0,
                            "WidthPercentage": 100
                        }
                    }
                ],
                "IsMainSection": false,
                "AllowTaskAssociation": false,
                "IsMandatoryAttachment": false,
                "IsSectionTable": false,
                "ConditionalRules": [
                    {
                        "sourceFieldId": "1_3",
                        "condition": "equals",
                        "value": 3,
                        "actions": "show"
                    }
                ],
                "VisibilityRules": [
                    {
                        "id": "uln7iyese",
                        "roles": [
                            {
                                "id": 489,
                                "name": "Admin"
                            },
                            {
                                "id": 507,
                                "name": "Rig Manager"
                            },
                            {
                                "id": 514,
                                "name": "Safety Officer"
                            },
                            {
                                "id": 506,
                                "name": "ToolPusher"
                            }
                        ],
                        "statuses": [
                            {
                                "id": 17,
                                "name": "Open"
                            },
                            {
                                "id": 18,
                                "name": "Assigned"
                            },
                            {
                                "id": 19,
                                "name": "Resolved"
                            },
                            {
                                "id": 20,
                                "name": "Re-opened"
                            }
                        ],
                        "combinator": "AND"
                    }
                ],
                "AccessControlRules": []
            }
        ]
    }
}


Request Body :

{
    "SiteId": 841,
    "CategoryId": 94,
    "StartState": "Submit",
    "Checks": {
        "Sections": [
            {
                "SectionId": 1,
                "SectionName": "",
                "SectionType": "module-association",
                "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": "Associated Investigation",
                        "Type": "module-association",
                        "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": "An Investigation record will show up here as soon as created for a record.",
                            "DisplayOrientation": "vertical",
                            "ConditionalRules": [],
                            "VisibilityRules": [
                                {
                                    "id": "v2h8fydlu",
                                    "roles": [
                                        {
                                            "id": 489,
                                            "name": "Admin"
                                        },
                                        {
                                            "id": 507,
                                            "name": "Rig Manager"
                                        },
                                        {
                                            "id": 514,
                                            "name": "Safety Officer"
                                        },
                                        {
                                            "id": 506,
                                            "name": "ToolPusher"
                                        }
                                    ],
                                    "statuses": [
                                        {
                                            "id": 17,
                                            "name": "Open"
                                        },
                                        {
                                            "id": 18,
                                            "name": "Assigned"
                                        },
                                        {
                                            "id": 19,
                                            "name": "Resolved"
                                        },
                                        {
                                            "id": 20,
                                            "name": "Re-opened"
                                        },
                                        {
                                            "id": 21,
                                            "name": "Closed"
                                        }
                                    ],
                                    "combinator": "AND"
                                }
                            ],
                            "AccessControlRules": [],
                            "DynamicLabels": [],
                            "Multiselect": false,
                            "ShouldReset": false,
                            "FloatingLabel": false,
                            "DisplayAsColumn": false,
                            "DisplayAsFilter": false,
                            "ReadOnly": true,
                            "ModuleAssociationConfiguration": {
                                "targetModule": "Investigations",
                                "targetModuleId": 81,
                                "selectionMode": "single",
                                "filters": [],
                                "isActorContextIdentifier": false,
                                "actorKey": ""
                            }
                        },
                        "LayoutMetadata": {
                            "RowNumber": 0,
                            "ColumnOrder": 0,
                            "WidthPercentage": 100
                        }
                    }
                ],
                "IsMainSection": false,
                "AllowTaskAssociation": false,
                "IsMandatoryAttachment": false,
                "IsSectionTable": false,
                "ConditionalRules": [
                    {
                        "sourceFieldId": "1_3",
                        "condition": "equals",
                        "value": 3,
                        "actions": "show"
                    }
                ],
                "VisibilityRules": [
                    {
                        "id": "1zh9am80e",
                        "roles": [
                            {
                                "id": 489,
                                "name": "Admin"
                            },
                            {
                                "id": 517,
                                "name": "HSE Officer"
                            },
                            {
                                "id": 507,
                                "name": "Rig Manager"
                            },
                            {
                                "id": 514,
                                "name": "Safety Officer"
                            },
                            {
                                "id": 506,
                                "name": "ToolPusher"
                            }
                        ],
                        "statuses": [
                            {
                                "id": 17,
                                "name": "Open"
                            },
                            {
                                "id": 18,
                                "name": "Assigned"
                            },
                            {
                                "id": 19,
                                "name": "Resolved"
                            },
                            {
                                "id": 20,
                                "name": "Re-opened"
                            },
                            {
                                "id": 21,
                                "name": "Closed"
                            }
                        ],
                        "combinator": "AND"
                    }
                ],
                "AccessControlRules": []
            },
            {
                "SectionId": 2,
                "SectionName": "",
                "SectionType": "module-association",
                "MandatoryChecksCount": 0,
                "OrganisationId": null,
                "Status": 1,
                "Rank": 2,
                "AllowAttachments": false,
                "SectionFiles": [],
                "FileUploadControl": {
                    "IsCameraAllowed": false,
                    "IsImageUploadAllowed": false,
                    "IsVideoUploadAllowed": false,
                    "IsAudioUploadAllowed": false,
                    "IsFileUploadAllowed": false
                },
                "Checks": [
                    {
                        "Id": "2_1",
                        "Check": "Assigned to",
                        "Type": "module-association",
                        "Value": 267,
                        "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,
                            "ModuleAssociationConfiguration": {
                                "targetModule": "Users",
                                "targetModuleId": 6,
                                "selectionMode": "single",
                                "filters": [],
                                "isActorContextIdentifier": true,
                                "actorKey": "AssignedUser"
                            }
                        },
                        "LayoutMetadata": {
                            "RowNumber": 0,
                            "ColumnOrder": 0,
                            "WidthPercentage": 33.33
                        }
                    },
                    {
                        "Id": "2_2",
                        "Check": "Near miss Description",
                        "Type": "text",
                        "Value": "hiwheihweiwe",
                        "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": 33.33
                        }
                    },
                    {
                        "Id": "2_3",
                        "Check": "Severity",
                        "Type": "radio",
                        "Value": "3",
                        "IsMandatory": 0,
                        "CheckOptions": [
                            {
                                "OptionId": 1,
                                "OptionText": "Low"
                            },
                            {
                                "OptionId": 2,
                                "OptionText": "Moderate"
                            },
                            {
                                "OptionId": 3,
                                "OptionText": "Critical"
                            }
                        ],
                        "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": 2,
                            "WidthPercentage": 33.33
                        }
                    }
                ],
                "IsMainSection": false,
                "AllowTaskAssociation": false,
                "IsMandatoryAttachment": false,
                "IsSectionTable": false,
                "ConditionalRules": [],
                "VisibilityRules": [],
                "AccessControlRules": []
            },
            {
                "SectionId": 3,
                "SectionName": "Remarks / Comments",
                "SectionType": "comment",
                "MandatoryChecksCount": 0,
                "OrganisationId": null,
                "Status": 1,
                "Rank": 3,
                "AllowAttachments": true,
                "SectionFiles": [],
                "FileUploadControl": {
                    "IsCameraAllowed": true,
                    "IsImageUploadAllowed": true,
                    "IsVideoUploadAllowed": true,
                    "IsAudioUploadAllowed": true,
                    "IsFileUploadAllowed": true
                },
                "Checks": [
                    {
                        "Id": "3_1",
                        "Check": "Comments",
                        "Type": "comment",
                        "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": 4,
                "SectionName": "",
                "SectionType": "module-create-action",
                "MandatoryChecksCount": 0,
                "OrganisationId": null,
                "Status": 1,
                "Rank": 4,
                "AllowAttachments": false,
                "SectionFiles": [],
                "FileUploadControl": {
                    "IsCameraAllowed": false,
                    "IsImageUploadAllowed": false,
                    "IsVideoUploadAllowed": false,
                    "IsAudioUploadAllowed": false,
                    "IsFileUploadAllowed": false
                },
                "Checks": [
                    {
                        "Id": "4_1",
                        "Check": "Create Investigation",
                        "Type": "module-create-action",
                        "Value": 0,
                        "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": [
                                {
                                    "id": "kw6iblctb",
                                    "roles": [
                                        {
                                            "id": 489,
                                            "name": "Admin"
                                        },
                                        {
                                            "id": 517,
                                            "name": "HSE Officer"
                                        },
                                        {
                                            "id": 507,
                                            "name": "Rig Manager"
                                        },
                                        {
                                            "id": 514,
                                            "name": "Safety Officer"
                                        },
                                        {
                                            "id": 506,
                                            "name": "ToolPusher"
                                        }
                                    ],
                                    "statuses": [
                                        {
                                            "id": 17,
                                            "name": "Open"
                                        },
                                        {
                                            "id": 18,
                                            "name": "Assigned"
                                        },
                                        {
                                            "id": 19,
                                            "name": "Resolved"
                                        },
                                        {
                                            "id": 20,
                                            "name": "Re-opened"
                                        },
                                        {
                                            "id": 21,
                                            "name": "Closed"
                                        }
                                    ],
                                    "combinator": "AND"
                                }
                            ],
                            "AccessControlRules": [],
                            "DynamicLabels": [],
                            "Multiselect": false,
                            "ShouldReset": false,
                            "FloatingLabel": false,
                            "DisplayAsColumn": false,
                            "DisplayAsFilter": false,
                            "ReadOnly": false,
                            "ModuleCreateActionConfiguration": {
                                "targetModule": "investigation-v2",
                                "targetModuleId": 81,
                                "targetModuleKey": "investigation-v2",
                                "targetTypeId": 10,
                                "targetTypeName": "NEARMISS NOTIFICATION & INVESTIGATION REPORT",
                                "actionKey": "",
                                "postActionValue": ""
                            }
                        },
                        "LayoutMetadata": {
                            "RowNumber": 0,
                            "ColumnOrder": 0,
                            "WidthPercentage": 100
                        }
                    }
                ],
                "IsMainSection": false,
                "AllowTaskAssociation": false,
                "IsMandatoryAttachment": false,
                "IsSectionTable": false,
                "ConditionalRules": [
                    {
                        "sourceFieldId": "1_3",
                        "condition": "equals",
                        "value": 3,
                        "actions": "show"
                    }
                ],
                "VisibilityRules": [
                    {
                        "id": "uln7iyese",
                        "roles": [
                            {
                                "id": 489,
                                "name": "Admin"
                            },
                            {
                                "id": 507,
                                "name": "Rig Manager"
                            },
                            {
                                "id": 514,
                                "name": "Safety Officer"
                            },
                            {
                                "id": 506,
                                "name": "ToolPusher"
                            }
                        ],
                        "statuses": [
                            {
                                "id": 17,
                                "name": "Open"
                            },
                            {
                                "id": 18,
                                "name": "Assigned"
                            },
                            {
                                "id": 19,
                                "name": "Resolved"
                            },
                            {
                                "id": 20,
                                "name": "Re-opened"
                            }
                        ],
                        "combinator": "AND"
                    }
                ],
                "AccessControlRules": []
            }
        ]
    }
}