POST Incident/Search
Request Information
URI Parameters
None.
Body Parameters
IncidentSearchModel| Name | Description | Type | Additional information |
|---|---|---|---|
| FunctionId | integer |
None. |
|
| SelectedFunction | Collection of integer |
None. |
|
| LevelId | integer |
None. |
|
| SelectedLevel | Collection of integer |
None. |
|
| VerticalId | integer |
None. |
|
| SelectedVertical | Collection of integer |
None. |
|
| RegionId | integer |
None. |
|
| SelectedRegion | Collection of integer |
None. |
|
| ProjectId | integer |
None. |
|
| SelectedProject | Collection of integer |
None. |
|
| IncidentTypeId | integer |
None. |
|
| SelectedIncidentType | Collection of integer |
None. |
|
| ProjectLocationId | integer |
None. |
|
| SelectedLocation | Collection of integer |
None. |
|
| IncidentNumber | string |
None. |
|
| IsActive | boolean |
None. |
|
| IncidentStartDate | string |
None. |
|
| dataFor | string |
None. |
|
| IncidentEndDate | string |
None. |
|
| InvestigationApplicabilityId | integer |
None. |
|
| IsCostOfIncidentApplicable | boolean |
None. |
|
| CostOfIncidentApplicable | integer |
None. |
|
| IsManDaysLost | boolean |
None. |
|
| ManDaysLost | integer |
None. |
|
| IsHospitalized | boolean |
None. |
|
| Hospitalized | integer |
None. |
|
| EmployeeType | string |
None. |
|
| MaritialStatusId | integer |
None. |
|
| SelectedMaritialStatus | Collection of integer |
None. |
|
| ReportTypeId | integer |
None. |
|
| SelectedReportType | Collection of integer |
None. |
|
| LoggedInUserId | integer |
None. |
|
| LoggedInUserName | string |
None. |
|
| validProjects | Collection of integer |
None. |
|
| projectIdString | string |
None. |
|
| SelectedGender | Collection of integer |
None. |
|
| IsAdvanceSearchApplicable | boolean |
None. |
|
| Functions | Collection of DropdownDto |
None. |
|
| Levels | Collection of DropdownDto |
None. |
|
| Verticals | Collection of DropdownDto |
None. |
|
| Regions | Collection of DropdownDto |
None. |
|
| Projects | Collection of DropdownDto |
None. |
|
| ProjectLocations | Collection of DropdownDto |
None. |
|
| IncidentType | Collection of DropdownDto |
None. |
|
| detailInvestigation | Collection of DropdownDto |
None. |
|
| GenderList | Collection of DropdownDto |
None. |
|
| MarritalStatus | Collection of DropdownDto |
None. |
|
| ReportOf | Collection of DropdownDto |
None. |
|
| IncidentSearchResult | IncidentSearchResultModel |
None. |
|
| sessionData | SessionWebAPIDto |
None. |
|
| IsFormReset | boolean |
None. |
|
| AssignmentOption | string |
None. |
|
| ActionById | integer |
None. |
|
| ActionByUserName | string |
None. |
|
| RaisedById | integer |
None. |
|
| EscalatedToId | integer |
None. |
|
| SortOrder | string |
None. |
|
| SortColumn | string |
None. |
|
| PageSize | integer |
None. |
|
| SelectedPageNumber | integer |
None. |
|
| FormName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"FunctionId": 1,
"SelectedFunction": [
1,
2
],
"LevelId": 2,
"SelectedLevel": [
1,
2
],
"VerticalId": 3,
"SelectedVertical": [
1,
2
],
"RegionId": 4,
"SelectedRegion": [
1,
2
],
"ProjectId": 1,
"SelectedProject": [
1,
2
],
"IncidentTypeId": 1,
"SelectedIncidentType": [
1,
2
],
"ProjectLocationId": 1,
"SelectedLocation": [
1,
2
],
"IncidentNumber": "sample string 5",
"IsActive": true,
"IncidentStartDate": "sample string 7",
"dataFor": "sample string 8",
"IncidentEndDate": "sample string 9",
"InvestigationApplicabilityId": 1,
"IsCostOfIncidentApplicable": true,
"CostOfIncidentApplicable": 1,
"IsManDaysLost": true,
"ManDaysLost": 1,
"IsHospitalized": true,
"Hospitalized": 1,
"EmployeeType": "sample string 13",
"MaritialStatusId": 14,
"SelectedMaritialStatus": [
1,
2
],
"ReportTypeId": 15,
"SelectedReportType": [
1,
2
],
"LoggedInUserId": 16,
"LoggedInUserName": "sample string 17",
"validProjects": [
1,
2
],
"projectIdString": "sample string 18",
"SelectedGender": [
1,
2
],
"IsAdvanceSearchApplicable": true,
"Functions": [
{
"Key": 1,
"Value": "sample string 2",
"FilterId": 1,
"SortSequence": 3,
"ValueConstant": "sample string 4"
},
{
"Key": 1,
"Value": "sample string 2",
"FilterId": 1,
"SortSequence": 3,
"ValueConstant": "sample string 4"
}
],
"Levels": [
{
"Key": 1,
"Value": "sample string 2",
"FilterId": 1,
"SortSequence": 3,
"ValueConstant": "sample string 4"
},
{
"Key": 1,
"Value": "sample string 2",
"FilterId": 1,
"SortSequence": 3,
"ValueConstant": "sample string 4"
}
],
"Verticals": [
{
"Key": 1,
"Value": "sample string 2",
"FilterId": 1,
"SortSequence": 3,
"ValueConstant": "sample string 4"
},
{
"Key": 1,
"Value": "sample string 2",
"FilterId": 1,
"SortSequence": 3,
"ValueConstant": "sample string 4"
}
],
"Regions": [
{
"Key": 1,
"Value": "sample string 2",
"FilterId": 1,
"SortSequence": 3,
"ValueConstant": "sample string 4"
},
{
"Key": 1,
"Value": "sample string 2",
"FilterId": 1,
"SortSequence": 3,
"ValueConstant": "sample string 4"
}
],
"Projects": [
{
"Key": 1,
"Value": "sample string 2",
"FilterId": 1,
"SortSequence": 3,
"ValueConstant": "sample string 4"
},
{
"Key": 1,
"Value": "sample string 2",
"FilterId": 1,
"SortSequence": 3,
"ValueConstant": "sample string 4"
}
],
"ProjectLocations": [
{
"Key": 1,
"Value": "sample string 2",
"FilterId": 1,
"SortSequence": 3,
"ValueConstant": "sample string 4"
},
{
"Key": 1,
"Value": "sample string 2",
"FilterId": 1,
"SortSequence": 3,
"ValueConstant": "sample string 4"
}
],
"IncidentType": [
{
"Key": 1,
"Value": "sample string 2",
"FilterId": 1,
"SortSequence": 3,
"ValueConstant": "sample string 4"
},
{
"Key": 1,
"Value": "sample string 2",
"FilterId": 1,
"SortSequence": 3,
"ValueConstant": "sample string 4"
}
],
"detailInvestigation": [
{
"Key": 1,
"Value": "sample string 2",
"FilterId": 1,
"SortSequence": 3,
"ValueConstant": "sample string 4"
},
{
"Key": 1,
"Value": "sample string 2",
"FilterId": 1,
"SortSequence": 3,
"ValueConstant": "sample string 4"
}
],
"GenderList": [
{
"Key": 1,
"Value": "sample string 2",
"FilterId": 1,
"SortSequence": 3,
"ValueConstant": "sample string 4"
},
{
"Key": 1,
"Value": "sample string 2",
"FilterId": 1,
"SortSequence": 3,
"ValueConstant": "sample string 4"
}
],
"MarritalStatus": [
{
"Key": 1,
"Value": "sample string 2",
"FilterId": 1,
"SortSequence": 3,
"ValueConstant": "sample string 4"
},
{
"Key": 1,
"Value": "sample string 2",
"FilterId": 1,
"SortSequence": 3,
"ValueConstant": "sample string 4"
}
],
"ReportOf": [
{
"Key": 1,
"Value": "sample string 2",
"FilterId": 1,
"SortSequence": 3,
"ValueConstant": "sample string 4"
},
{
"Key": 1,
"Value": "sample string 2",
"FilterId": 1,
"SortSequence": 3,
"ValueConstant": "sample string 4"
}
],
"IncidentSearchResult": null,
"sessionData": {
"DepartmentName": "sample string 1",
"DepartmentId": 2,
"RoleId": 3,
"CurrentRoleName": "sample string 4",
"FirstName": "sample string 5",
"LastName": "sample string 6",
"UserId": 7,
"ObservationId": 8,
"IsElevated": true,
"IncidentId": 10,
"InjuredWorkerId": 11,
"InjuryCauseId": 12,
"CorrectiveActions": "sample string 13",
"HandSkillTrainingId": 14,
"CheckListId": 15,
"CheckListResponseId": 16,
"CustomerComplaintId": 17,
"WorkPermitId": 18,
"WorkPermitTypeId": 19,
"ProjectId": 20,
"WorkPermitStatus": "sample string 21",
"InspectionId": 22,
"ObservationIdlist": [
1,
2
],
"ClosedRemark": "sample string 23",
"WorkPermitDefinationId": 24,
"IsOfflineData": true,
"DataCreationDate": "sample string 26",
"IsFromMobile": true,
"CancelledByHSEOfficerId": 28,
"DocumentId": 29,
"Title": "sample string 30",
"_userAccessPermissions": [
{
"LevelId": 1,
"LevelName": "sample string 2",
"DepartmentId": 3,
"DepartmentName": "sample string 4",
"DepartmentType": "sample string 5",
"PositionId": 6,
"PositionName": "sample string 7",
"PositionImportance": 8
},
{
"LevelId": 1,
"LevelName": "sample string 2",
"DepartmentId": 3,
"DepartmentName": "sample string 4",
"DepartmentType": "sample string 5",
"PositionId": 6,
"PositionName": "sample string 7",
"PositionImportance": 8
}
],
"UserAccessPermissions": [
{
"LevelId": 1,
"LevelName": "sample string 2",
"DepartmentId": 3,
"DepartmentName": "sample string 4",
"DepartmentType": "sample string 5",
"PositionId": 6,
"PositionName": "sample string 7",
"PositionImportance": 8
},
{
"LevelId": 1,
"LevelName": "sample string 2",
"DepartmentId": 3,
"DepartmentName": "sample string 4",
"DepartmentType": "sample string 5",
"PositionId": 6,
"PositionName": "sample string 7",
"PositionImportance": 8
}
]
},
"IsFormReset": true,
"AssignmentOption": "sample string 21",
"ActionById": 1,
"ActionByUserName": "sample string 22",
"RaisedById": 1,
"EscalatedToId": 1,
"SortOrder": "sample string 23",
"SortColumn": "sample string 24",
"PageSize": 25,
"SelectedPageNumber": 26,
"FormName": "sample string 27"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.