POST api/FatigueReport/SaveFatigueReports
Request Information
URI Parameters
None.
Body Parameters
FatigueReportsMdl| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ReportId | integer |
None. |
|
| pilotInfoAssignedTrip | string |
None. |
|
| employee | string |
None. |
|
| departureStationId | integer |
None. |
|
| submitReportTime | date |
None. |
|
| describedHowYouFelt | string |
None. |
|
| departurestationName | string |
None. |
|
| departurestationType | string |
None. |
|
| timeOfEvent | string |
None. |
|
| pilotFlying | string |
None. |
|
| pilotNotFlying | string |
None. |
|
| whatHappened | string |
None. |
|
| name | string |
None. |
|
| pilotZuluDate | date |
None. |
|
| howLongwereyouawakewhentheeventhappened | string |
None. |
|
| howmuchsleepdidyouhaveinthe24hrsbeforetheevent | string |
None. |
|
| howmuchsleepdidyouhaveinthe72hrsbeforetheevent | string |
None. |
|
| whatDidYouDo | string |
None. |
|
| whatCouldBeDone | string |
None. |
|
| isActive | boolean |
None. |
|
| reportStatusId | integer |
None. |
|
| arrivalStationId | integer |
None. |
|
| arrivalstationName | string |
None. |
|
| arrivalstationType | string |
None. |
|
| reportStatus | string |
None. |
|
| caseNumber | string |
None. |
|
| comment1 | string |
None. |
|
| comment2 | string |
None. |
|
| comment3 | string |
None. |
|
| commentOnRejection | string |
None. |
|
| createdByName | string |
None. |
|
| submiterId | string |
None. |
|
| submiterName | string |
None. |
|
| FatigueReportsCheckHowYouFelt | Collection of FatigueReportsCheckHowYouFeltMdl |
None. |
|
| FatigueReportsWhyDidItHappened | Collection of FatigueReportsWhyDidItHappenedMdl |
None. |
|
| SafetyEventLog | Collection of SafetyEventLogMdl |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"ReportId": 2,
"pilotInfoAssignedTrip": "sample string 3",
"employee": "sample string 4",
"departureStationId": 1,
"submitReportTime": "2026-06-03T18:41:32.9274119-05:00",
"describedHowYouFelt": "sample string 5",
"departurestationName": "sample string 6",
"departurestationType": "sample string 7",
"timeOfEvent": "sample string 8",
"pilotFlying": "sample string 9",
"pilotNotFlying": "sample string 10",
"whatHappened": "sample string 11",
"name": "sample string 12",
"pilotZuluDate": "2026-06-03T18:41:32.9274119-05:00",
"howLongwereyouawakewhentheeventhappened": "sample string 13",
"howmuchsleepdidyouhaveinthe24hrsbeforetheevent": "sample string 14",
"howmuchsleepdidyouhaveinthe72hrsbeforetheevent": "sample string 15",
"whatDidYouDo": "sample string 16",
"whatCouldBeDone": "sample string 17",
"isActive": true,
"reportStatusId": 18,
"arrivalStationId": 1,
"arrivalstationName": "sample string 19",
"arrivalstationType": "sample string 20",
"reportStatus": "sample string 21",
"caseNumber": "sample string 22",
"comment1": "sample string 23",
"comment2": "sample string 24",
"comment3": "sample string 25",
"commentOnRejection": "sample string 26",
"createdByName": "sample string 27",
"submiterId": "sample string 28",
"submiterName": "sample string 29",
"FatigueReportsCheckHowYouFelt": [
{
"Id": 1,
"fatigueReportsId": 1,
"pilotCheckHowYouFeltId": 2,
"pilotCheckHowYouFeltName": "sample string 3"
},
{
"Id": 1,
"fatigueReportsId": 1,
"pilotCheckHowYouFeltId": 2,
"pilotCheckHowYouFeltName": "sample string 3"
}
],
"FatigueReportsWhyDidItHappened": [
{
"Id": 1,
"fatigueReportsId": 1,
"pilotWhyDidItHappenedId": 2,
"pilotWhyDidItHappenedName": "sample string 3",
"WhyDidItHappenedOtherComment": "sample string 4"
},
{
"Id": 1,
"fatigueReportsId": 1,
"pilotWhyDidItHappenedId": 2,
"pilotWhyDidItHappenedName": "sample string 3",
"WhyDidItHappenedOtherComment": "sample string 4"
}
],
"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": "2026-06-03T18:41:32.9274119-05:00",
"UpdatedAt": "2026-06-03T18:41:32.9274119-05: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": "2026-06-03T18:41:32.9274119-05:00",
"UpdatedAt": "2026-06-03T18:41:32.9274119-05:00"
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseMdl| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Data | Object |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Data": {},
"Message": "sample string 3"
}