POST api/AccidentInvestigationReport/UpdateAccidentInvestigationReport

Request Information

URI Parameters

None.

Body Parameters

AccidentInvestigationReportsMdl
NameDescriptionTypeAdditional information
Id

integer

None.

company

string

None.

employee

string

None.

employeeHaz

string

None.

employeeDate

date

None.

apprTime

string

None.

manager

string

None.

managerPhone

string

None.

managerDate

date

None.

phone

string

None.

reportStatusId

integer

None.

stationId

integer

None.

stationName

string

None.

stationType

string

None.

accidentDate

date

None.

isTheEmployeesRegurlarJob

boolean

None.

employeeCertificated

boolean

None.

doCompanyTrainingMaterialsCoverTheCauseOfTheAccident

boolean

None.

ifYESEmployeeRecieved

boolean

None.

wereWitnessesPresent

boolean

None.

acTailNumberInvolvedId

integer

None.

acTailNumberInvolvedName

string

None.

acTailNumberInvolvedType

string

None.

didAccidentInvolvedAircraft

boolean

None.

didInjuryOccure

boolean

None.

additionalInformationAttachedReport

boolean

None.

employeeTakingDrugTesting

boolean

None.

damageToFacilities

boolean

None.

damageToEquipment

boolean

None.

distributeRequiredCopies

boolean

None.

AccidentinvestigationReportPilotDepartmentInvolved

Collection of AccidentinvestigationReportPilotDepartmentInvolvedMdl

None.

AccidentInvestigationReportsPostionofEmployeeResponsibe

Collection of AccidentInvestigationReportsPostionofEmployeeResponsibeMdl

None.

AccidentInvestigationReportsTimeOnPresentJobPostion

Collection of AccidentInvestigationReportsTimeOnPresentJobPostionMdl

None.

AccidentInvestigationReportCause

Collection of AccidentInvestigationReportCauseMdl

None.

AccidentInvestigationReportContributingFactor

Collection of AccidentInvestigationReportContributingFactorMdl

None.

AccidentInvestigationReportDelayInformation

Collection of AccidentInvestigationReportDelayInformationMdl

None.

AccidentInvestigationReportEquipmetInvolvedEquip

Collection of AccidentInvestigationReportEquipmetInvolvedEquipMdl

None.

AccidentInvestigationReportHoursWorkedAccident

Collection of AccidentInvestigationReportHoursWorkedAccidentMdl

None.

AccidentInvestigationReportIfVehicleCaused

Collection of AccidentInvestigationReportIfVehicleCausedMdl

None.

AccidentInvestigationReportInjuredIdentifier

Collection of AccidentInvestigationReportInjuredIdentifierMdl

None.

AccidentInvestigationReportLightCondition

Collection of AccidentInvestigationReportLightConditionMdl

None.

AccidentInvestigationReportNotification

Collection of AccidentInvestigationReportNotificationMdl

None.

AccidentInvestigationReportPrevious

Collection of AccidentInvestigationReportPreviousMdl

None.

AccidentInvestigationReportSurfaceCondition

Collection of AccidentInvestigationReportSurfaceConditionMdl

None.

AccidentInvestigationReportWeatherCondition

Collection of AccidentInvestigationReportWeatherConditionMdl

None.

AccidentInvestigationReportTakePhotos

Collection of AccidentInvestigationReportTakePhotosMdl

None.

AccidentInvestigationReportStabilizeScene

Collection of AccidentInvestigationReportStabilizeSceneMdl

None.

AccidentInvestigationReportCollectionStatement

Collection of AccidentInvestigationReportCollectionStatementMdl

None.

AccidentinvestigationReportPhaseofFlight

Collection of AccidentInvestigationReportPhaseofFlightMdl

None.

AccidentinvestigationReportIfYesToIdentifyWho

Collection of AccidentinvestigationReportIfYesToIdentifyWhoMdl

None.

didEmployeeTakeEveryReasonablePrecaution

Collection of AccidentInvestigationdidEmployeeTakeEveryReasonablePrecautionMdl

None.

AttachmentFile

Collection of AttachmentsDetailMdl

None.

SafetyEventLog

Collection of SafetyEventLogMdl

None.

DamageAttachmentFile

Collection of AttachmentsDetailMdl

None.

date

date

None.

ReportId

integer

None.

isActive

boolean

None.

caseNumber

string

None.

reportStatus

string

None.

comment1

string

None.

comment2

string

None.

comment3

string

None.

commentOnRejection

string

None.

descriptionOfDamage

string

None.

descriptionOfIncident

string

None.

systemImpect

string

None.

conclusion

string

None.

recommendations

string

None.

apprTime_AM_PM

string

None.

submiterId

string

None.

submiterName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "company": "sample string 2",
  "employee": "sample string 3",
  "employeeHaz": "sample string 4",
  "employeeDate": "2024-11-22T21:44:30.8820772-06:00",
  "apprTime": "sample string 5",
  "manager": "sample string 6",
  "managerPhone": "sample string 7",
  "managerDate": "2024-11-22T21:44:30.8820772-06:00",
  "phone": "sample string 8",
  "reportStatusId": 9,
  "stationId": 1,
  "stationName": "sample string 10",
  "stationType": "sample string 11",
  "accidentDate": "2024-11-22T21:44:30.8820772-06:00",
  "isTheEmployeesRegurlarJob": true,
  "employeeCertificated": true,
  "doCompanyTrainingMaterialsCoverTheCauseOfTheAccident": true,
  "ifYESEmployeeRecieved": true,
  "wereWitnessesPresent": true,
  "acTailNumberInvolvedId": 1,
  "acTailNumberInvolvedName": "sample string 12",
  "acTailNumberInvolvedType": "sample string 13",
  "didAccidentInvolvedAircraft": true,
  "didInjuryOccure": true,
  "additionalInformationAttachedReport": true,
  "employeeTakingDrugTesting": true,
  "damageToFacilities": true,
  "damageToEquipment": true,
  "distributeRequiredCopies": true,
  "AccidentinvestigationReportPilotDepartmentInvolved": [
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "pilotDepartmentInvolvedId": 1,
      "pilotDepartmentInvolvedName": "sample string 2",
      "DyanmicValue": "sample string 3"
    },
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "pilotDepartmentInvolvedId": 1,
      "pilotDepartmentInvolvedName": "sample string 2",
      "DyanmicValue": "sample string 3"
    }
  ],
  "AccidentInvestigationReportsPostionofEmployeeResponsibe": [
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "pilotPositionOfaccidentInvestigationReportId": 1,
      "pilotPositionOfaccidentInvestigationReportName": "sample string 2",
      "DyanmicValue": "sample string 3"
    },
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "pilotPositionOfaccidentInvestigationReportId": 1,
      "pilotPositionOfaccidentInvestigationReportName": "sample string 2",
      "DyanmicValue": "sample string 3"
    }
  ],
  "AccidentInvestigationReportsTimeOnPresentJobPostion": [
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "timeOnPresentJobPostionId": 1,
      "timeOnPresentJobPostionName": "sample string 2"
    },
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "timeOnPresentJobPostionId": 1,
      "timeOnPresentJobPostionName": "sample string 2"
    }
  ],
  "AccidentInvestigationReportCause": [
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "causeId": 1,
      "causeName": "sample string 2",
      "DyanmicValue": "sample string 3"
    },
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "causeId": 1,
      "causeName": "sample string 2",
      "DyanmicValue": "sample string 3"
    }
  ],
  "AccidentInvestigationReportContributingFactor": [
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "contributingFactorId": 1,
      "contributingFactorName": "sample string 2",
      "DyanmicValue": "sample string 3"
    },
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "contributingFactorId": 1,
      "contributingFactorName": "sample string 2",
      "DyanmicValue": "sample string 3"
    }
  ],
  "AccidentInvestigationReportDelayInformation": [
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "delayInformationId": 1,
      "delayInformationName": "sample string 2",
      "DyanmicValue": "sample string 3"
    },
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "delayInformationId": 1,
      "delayInformationName": "sample string 2",
      "DyanmicValue": "sample string 3"
    }
  ],
  "AccidentInvestigationReportEquipmetInvolvedEquip": [
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "equipmentInvolvedEquipId": 1,
      "equipmentInvolvedEquipName": "sample string 2",
      "DyanmicValue": "sample string 3"
    },
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "equipmentInvolvedEquipId": 1,
      "equipmentInvolvedEquipName": "sample string 2",
      "DyanmicValue": "sample string 3"
    }
  ],
  "AccidentInvestigationReportHoursWorkedAccident": [
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "hoursWorkedAccident": 1,
      "hoursWorkedAccidentName": "sample string 2"
    },
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "hoursWorkedAccident": 1,
      "hoursWorkedAccidentName": "sample string 2"
    }
  ],
  "AccidentInvestigationReportIfVehicleCaused": [
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "ifCausedByVehicleId": 1,
      "ifCausedByVehicleName": "sample string 2",
      "DyanmicValue": "sample string 3"
    },
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "ifCausedByVehicleId": 1,
      "ifCausedByVehicleName": "sample string 2",
      "DyanmicValue": "sample string 3"
    }
  ],
  "AccidentInvestigationReportInjuredIdentifier": [
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "injuredIdentifierId": 1,
      "injuredIdentifierName": "sample string 2"
    },
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "injuredIdentifierId": 1,
      "injuredIdentifierName": "sample string 2"
    }
  ],
  "AccidentInvestigationReportLightCondition": [
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "lightConditionsId": 1,
      "lightConditionsName": "sample string 2"
    },
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "lightConditionsId": 1,
      "lightConditionsName": "sample string 2"
    }
  ],
  "AccidentInvestigationReportNotification": [
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "notificationId": 1,
      "notificationName": "sample string 2"
    },
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "notificationId": 1,
      "notificationName": "sample string 2"
    }
  ],
  "AccidentInvestigationReportPrevious": [
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "noOfPreviousAccidentId": 1,
      "noOfPreviousAccidentName": "sample string 2"
    },
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "noOfPreviousAccidentId": 1,
      "noOfPreviousAccidentName": "sample string 2"
    }
  ],
  "AccidentInvestigationReportSurfaceCondition": [
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "surfaceConditionsId": 1,
      "surfaceConditionsName": "sample string 2",
      "DyanmicValue": "sample string 3"
    },
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "surfaceConditionsId": 1,
      "surfaceConditionsName": "sample string 2",
      "DyanmicValue": "sample string 3"
    }
  ],
  "AccidentInvestigationReportWeatherCondition": [
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "wheatherConditionId": 1,
      "wheatherConditionName": "sample string 2",
      "DyanmicValue": "sample string 3"
    },
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "wheatherConditionId": 1,
      "wheatherConditionName": "sample string 2",
      "DyanmicValue": "sample string 3"
    }
  ],
  "AccidentInvestigationReportTakePhotos": [
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "takePhotosId": 1,
      "takePhotosName": "sample string 2"
    },
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "takePhotosId": 1,
      "takePhotosName": "sample string 2"
    }
  ],
  "AccidentInvestigationReportStabilizeScene": [
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "stabilizeTheSceneId": 1,
      "stabilizeTheSceneName": "sample string 2",
      "DyanmicValue": "sample string 3"
    },
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "stabilizeTheSceneId": 1,
      "stabilizeTheSceneName": "sample string 2",
      "DyanmicValue": "sample string 3"
    }
  ],
  "AccidentInvestigationReportCollectionStatement": [
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "collectStatementId": 1,
      "collectStatementName": "sample string 2"
    },
    {
      "Id": 1,
      "accidentInvestigationReportId": 1,
      "collectStatementId": 1,
      "collectStatementName": "sample string 2"
    }
  ],
  "AccidentinvestigationReportPhaseofFlight": [
    {
      "Id": 1,
      "accidentInvestigationId": 1,
      "pilotPhaseOfFlightId": 1,
      "pilotPhaseOfFlightName": "sample string 2",
      "DyanmicValue": "sample string 3"
    },
    {
      "Id": 1,
      "accidentInvestigationId": 1,
      "pilotPhaseOfFlightId": 1,
      "pilotPhaseOfFlightName": "sample string 2",
      "DyanmicValue": "sample string 3"
    }
  ],
  "AccidentinvestigationReportIfYesToIdentifyWho": [
    {
      "Id": 1,
      "accidentInvestigationReportId": 2,
      "ifyesToIdentifyWhoId": 3,
      "ifyesToIdentifyWhoName": "sample string 4",
      "DyanmicValue": "sample string 5"
    },
    {
      "Id": 1,
      "accidentInvestigationReportId": 2,
      "ifyesToIdentifyWhoId": 3,
      "ifyesToIdentifyWhoName": "sample string 4",
      "DyanmicValue": "sample string 5"
    }
  ],
  "didEmployeeTakeEveryReasonablePrecaution": [
    {
      "Id": 1,
      "accidentInvestigationReportId": 2,
      "didEmployeeTakeEveryReasonablePrecautionId": 3,
      "didEmployeeTakeEveryReasonablePrecautionName": "sample string 4"
    },
    {
      "Id": 1,
      "accidentInvestigationReportId": 2,
      "didEmployeeTakeEveryReasonablePrecautionId": 3,
      "didEmployeeTakeEveryReasonablePrecautionName": "sample string 4"
    }
  ],
  "AttachmentFile": [
    {
      "Id": 1,
      "attachmentLocation": "sample string 2",
      "ThumbnailsAttachmentLocation": "sample string 3",
      "attachmentType": "sample string 4",
      "attachmentExt": "sample string 5",
      "BaseUrl": "https://staggingaccopsapi.aircar.com/"
    },
    {
      "Id": 1,
      "attachmentLocation": "sample string 2",
      "ThumbnailsAttachmentLocation": "sample string 3",
      "attachmentType": "sample string 4",
      "attachmentExt": "sample string 5",
      "BaseUrl": "https://staggingaccopsapi.aircar.com/"
    }
  ],
  "SafetyEventLog": [
    {
      "Id": 1,
      "ReportId": 2,
      "UserId": "sample string 3",
      "Action": "sample string 4",
      "FieldName": "sample string 5",
      "NewValue": "sample string 6",
      "OldValue": "sample string 7",
      "CreatedAt": "2024-11-22T21:44:30.8820772-06:00",
      "UpdatedAt": "2024-11-22T21:44:30.8820772-06:00"
    },
    {
      "Id": 1,
      "ReportId": 2,
      "UserId": "sample string 3",
      "Action": "sample string 4",
      "FieldName": "sample string 5",
      "NewValue": "sample string 6",
      "OldValue": "sample string 7",
      "CreatedAt": "2024-11-22T21:44:30.8820772-06:00",
      "UpdatedAt": "2024-11-22T21:44:30.8820772-06:00"
    }
  ],
  "DamageAttachmentFile": [
    {
      "Id": 1,
      "attachmentLocation": "sample string 2",
      "ThumbnailsAttachmentLocation": "sample string 3",
      "attachmentType": "sample string 4",
      "attachmentExt": "sample string 5",
      "BaseUrl": "https://staggingaccopsapi.aircar.com/"
    },
    {
      "Id": 1,
      "attachmentLocation": "sample string 2",
      "ThumbnailsAttachmentLocation": "sample string 3",
      "attachmentType": "sample string 4",
      "attachmentExt": "sample string 5",
      "BaseUrl": "https://staggingaccopsapi.aircar.com/"
    }
  ],
  "date": "2024-11-22T21:44:30.8820772-06:00",
  "ReportId": 14,
  "isActive": true,
  "caseNumber": "sample string 15",
  "reportStatus": "sample string 16",
  "comment1": "sample string 17",
  "comment2": "sample string 18",
  "comment3": "sample string 19",
  "commentOnRejection": "sample string 20",
  "descriptionOfDamage": "sample string 21",
  "descriptionOfIncident": "sample string 22",
  "systemImpect": "sample string 23",
  "conclusion": "sample string 24",
  "recommendations": "sample string 25",
  "apprTime_AM_PM": "sample string 26",
  "submiterId": "sample string 27",
  "submiterName": "sample string 28"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AccidentInvestigationReportsMdl'.

Response Information

Resource Description

ResponseMdl
NameDescriptionTypeAdditional information
Status

boolean

None.

Data

Object

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Data": {},
  "Message": "sample string 3"
}