POST api/Reliability/AddReliabilityEvent

Request Information

URI Parameters

None.

Body Parameters

ReliabilityEventAddMdl
NameDescriptionTypeAdditional information
reliabilityWeatherEventMdls

ReliabilityWeatherEventMdl

None.

reliabilityQAPartsMdls

ReliabilityQAPartsMdl

None.

Request Formats

application/json, text/json

Sample:
{
  "reliabilityWeatherEventMdls": {
    "Id": 1,
    "ReportId": 2,
    "date": "2024-11-22T21:36:15.0958802-06:00",
    "FlightNumberId": 1,
    "FlightNumber": "sample string 3",
    "Is_AddManuallyFlightNumber": true,
    "PicId": 1,
    "PIC": "sample string 4",
    "SicId": 1,
    "SIC": "sample string 5",
    "TailNumberId": 1,
    "TailNumber": "sample string 6",
    "TailNumberType": "sample string 7",
    "Is_AddManuallyTailNumber": true,
    "CustomerId": 1,
    "Customer": "sample string 8",
    "Is_AddManuallyCustomer": true,
    "RouteId": 1,
    "Route": "sample string 9",
    "RegionId": 1,
    "Region": "sample string 10",
    "CountryId": 1,
    "Country": "sample string 11",
    "Is_AddManuallyCountry": true,
    "StateId": 1,
    "State": "sample string 12",
    "Is_AddManuallyState": true,
    "CityId": 1,
    "City": "sample string 13",
    "Is_AddManuallyCity": true,
    "AirportId": 1,
    "Aitport": "sample string 14",
    "Is_AddManuallyAirport": true,
    "Cxld": true,
    "CxldCodeId": 1,
    "CxldCode": "sample string 15",
    "MxOpsWxId": 1,
    "MxOpsWx": "sample string 16",
    "Synopsis": "sample string 17",
    "Contingency": "sample string 18",
    "CharterCo": "sample string 19",
    "ServiceFailure": true,
    "ServiceReportId": 1,
    "ServiceReport": "sample string 20",
    "ServiceReportPdfPath": "sample string 21",
    "ReportTypeId": 22,
    "ReportStatusId": 23,
    "CreatedBy": "sample string 24",
    "modifiedBy": "sample string 25",
    "UserRoleId": "sample string 26",
    "ArrivalDelay": [
      {
        "id": 1,
        "ReportId": 2,
        "DelayCodeId": 1,
        "DelayCode": "sample string 3",
        "DelayMins": "sample string 4",
        "DelayTypeId": 1,
        "DelayType": "sample string 5",
        "DelayId": 1,
        "Delay": "sample string 6"
      },
      {
        "id": 1,
        "ReportId": 2,
        "DelayCodeId": 1,
        "DelayCode": "sample string 3",
        "DelayMins": "sample string 4",
        "DelayTypeId": 1,
        "DelayType": "sample string 5",
        "DelayId": 1,
        "Delay": "sample string 6"
      }
    ],
    "DepartureDelay": [
      {
        "id": 1,
        "ReportId": 2,
        "DelayCodeId": 1,
        "DelayCode": "sample string 3",
        "DelayMins": "sample string 4",
        "DelayTypeId": 1,
        "DelayType": "sample string 5",
        "DelayId": 1,
        "Delay": "sample string 6"
      },
      {
        "id": 1,
        "ReportId": 2,
        "DelayCodeId": 1,
        "DelayCode": "sample string 3",
        "DelayMins": "sample string 4",
        "DelayTypeId": 1,
        "DelayType": "sample string 5",
        "DelayId": 1,
        "Delay": "sample string 6"
      }
    ],
    "StatusId": 27,
    "caseNumber": "sample string 28",
    "reportStatus": "sample string 29",
    "reportType": "sample string 30",
    "WeatherEventTypeId": 1,
    "StartAt": "2024-11-22T21:36:15.0958802-06:00",
    "EndAt": "2024-11-22T21:36:15.0958802-06:00",
    "IsAdminFlagging": true,
    "createdDate": "2024-11-22T21:36:15.0958802-06:00",
    "ReliabilityReportTimelines": [
      {
        "id": 1,
        "report_id": 2,
        "user_id": "sample string 3",
        "user_type": 4,
        "start_time": "2024-11-22T21:36:15.0958802-06:00",
        "end_time": "2024-11-22T21:36:15.0958802-06:00",
        "created_at": "2024-11-22T21:36:15.0958802-06:00",
        "updated_at": "2024-11-22T21:36:15.0958802-06:00",
        "TotalTime": "sample string 7"
      },
      {
        "id": 1,
        "report_id": 2,
        "user_id": "sample string 3",
        "user_type": 4,
        "start_time": "2024-11-22T21:36:15.0958802-06:00",
        "end_time": "2024-11-22T21:36:15.0958802-06:00",
        "created_at": "2024-11-22T21:36:15.0958802-06:00",
        "updated_at": "2024-11-22T21:36:15.0958802-06:00",
        "TotalTime": "sample string 7"
      }
    ]
  },
  "reliabilityQAPartsMdls": {
    "Id": 1,
    "ReportId": 2,
    "DateofEvent": "2024-11-22T21:36:15.0958802-06:00",
    "AtaNumberId": 1,
    "AtaNumber": "sample string 3",
    "Is_AddManuallyAtaNumber": true,
    "PartNumberDescription": [
      {
        "id": 1,
        "ReportId": 2,
        "Is_AddManuallyPartNumber": true,
        "PartNumberId": 1,
        "PartNumber": "sample string 3",
        "ProblemPartId": 1,
        "ProblemPart": "sample string 4",
        "QuarantinePart": true
      },
      {
        "id": 1,
        "ReportId": 2,
        "Is_AddManuallyPartNumber": true,
        "PartNumberId": 1,
        "PartNumber": "sample string 3",
        "ProblemPartId": 1,
        "ProblemPart": "sample string 4",
        "QuarantinePart": true
      }
    ],
    "SerialNumber": "sample string 4",
    "EndResolution": "sample string 5",
    "ServiceReportId": 1,
    "ServiceReport": "sample string 6",
    "NNumberId": 1,
    "NNumber": "sample string 7",
    "NNumberType": "sample string 8",
    "Is_AddManuallyNNumber": true,
    "StationId": 1,
    "Station": "sample string 9",
    "StationType": "sample string 10",
    "Is_AddManuallyStation": true,
    "Mdl": "sample string 11",
    "Mdw": "sample string 12",
    "MEL": true,
    "MaintenanceId": 1,
    "RoutineNonRoutineMxNote": "sample string 13",
    "ServiceReportPdfPath": "sample string 14",
    "QaPartsAttachmentPath": "sample string 15",
    "FaultFound": true,
    "Resolution": "sample string 16",
    "PartSentToVendor": true,
    "VendorName": "sample string 17",
    "ResolutionTailNumberId": 1,
    "ResolutionSerialNumber": "sample string 18",
    "RepairCost": "sample string 19",
    "VendorResolution": "sample string 20",
    "EventLogAction": "sample string 21",
    "ReportTypeId": 22,
    "ReportStatusId": 23,
    "CreatedBy": "sample string 24",
    "modifiedBy": "sample string 25",
    "UserRoleId": "sample string 26",
    "StatusId": 27,
    "caseNumber": "sample string 28",
    "reportStatus": "sample string 29",
    "reportType": "sample string 30",
    "Comment": "sample string 31",
    "Part10DaysCreationDate": "2024-11-22T21:36:15.0958802-06:00",
    "Parts10daysTime": 1,
    "QApartsTypeId": 1,
    "StartAt": "2024-11-22T21:36:15.0958802-06:00",
    "EndAt": "2024-11-22T21:36:15.0958802-06:00",
    "IsAdminFlagging": true,
    "IsEventLog": true,
    "Is_Skipping10DaysWaiting": true,
    "ReasonSkipping10DaysWaiting": "sample string 32",
    "createdDate": "2024-11-22T21:36:15.0958802-06:00",
    "AttachmentFile": [
      {
        "Id": 1,
        "attachmentLocation": "sample string 2",
        "ThumbnailsAttachmentLocation": "sample string 3",
        "attachmentType": "sample string 4",
        "attachmentExt": "sample string 5",
        "BaseUrl": "https://accopsapi.aircar.com/"
      },
      {
        "Id": 1,
        "attachmentLocation": "sample string 2",
        "ThumbnailsAttachmentLocation": "sample string 3",
        "attachmentType": "sample string 4",
        "attachmentExt": "sample string 5",
        "BaseUrl": "https://accopsapi.aircar.com/"
      }
    ],
    "ReliabilityEventLog": [
      {
        "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:36:15.0958802-06:00",
        "UpdatedAt": "2024-11-22T21:36:15.0958802-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:36:15.0958802-06:00",
        "UpdatedAt": "2024-11-22T21:36:15.0958802-06:00"
      }
    ],
    "ReliabilityReportTimelines": [
      {
        "id": 1,
        "report_id": 2,
        "user_id": "sample string 3",
        "user_type": 4,
        "start_time": "2024-11-22T21:36:15.0958802-06:00",
        "end_time": "2024-11-22T21:36:15.0958802-06:00",
        "created_at": "2024-11-22T21:36:15.0958802-06:00",
        "updated_at": "2024-11-22T21:36:15.0958802-06:00",
        "TotalTime": "sample string 7"
      },
      {
        "id": 1,
        "report_id": 2,
        "user_id": "sample string 3",
        "user_type": 4,
        "start_time": "2024-11-22T21:36:15.0958802-06:00",
        "end_time": "2024-11-22T21:36:15.0958802-06:00",
        "created_at": "2024-11-22T21:36:15.0958802-06:00",
        "updated_at": "2024-11-22T21:36:15.0958802-06:00",
        "TotalTime": "sample string 7"
      }
    ],
    "ResolutionPartNumberDescription": [
      {
        "id": 1,
        "ReportId": 2,
        "PartNumberId": 1,
        "ProblemPartId": 1,
        "PartNumber": "sample string 3",
        "ProblemPart": "sample string 4"
      },
      {
        "id": 1,
        "ReportId": 2,
        "PartNumberId": 1,
        "ProblemPartId": 1,
        "PartNumber": "sample string 3",
        "ProblemPart": "sample string 4"
      }
    ],
    "RoutineNonRoutineMxAction": "sample string 33"
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

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"
}