POST api/WeatherEvent

Request Information

URI Parameters

None.

Body Parameters

ReliabilityWeatherEventMdl
NameDescriptionTypeAdditional information
Id

integer

None.

ReportId

integer

None.

date

date

None.

FlightNumberId

integer

None.

FlightNumber

string

None.

Is_AddManuallyFlightNumber

boolean

None.

PicId

integer

None.

PIC

string

None.

SicId

integer

None.

SIC

string

None.

TailNumberId

integer

None.

TailNumber

string

None.

TailNumberType

string

None.

Is_AddManuallyTailNumber

boolean

None.

CustomerId

integer

None.

Customer

string

None.

Is_AddManuallyCustomer

boolean

None.

RouteId

integer

None.

Route

string

None.

RegionId

integer

None.

Region

string

None.

CountryId

integer

None.

Country

string

None.

Is_AddManuallyCountry

boolean

None.

StateId

integer

None.

State

string

None.

Is_AddManuallyState

boolean

None.

CityId

integer

None.

City

string

None.

Is_AddManuallyCity

boolean

None.

AirportId

integer

None.

Aitport

string

None.

Is_AddManuallyAirport

boolean

None.

Cxld

boolean

None.

CxldCodeId

integer

None.

CxldCode

string

None.

MxOpsWxId

integer

None.

MxOpsWx

string

None.

Synopsis

string

None.

Contingency

string

None.

CharterCo

string

None.

ServiceFailure

boolean

None.

ServiceReportId

integer

None.

ServiceReport

string

None.

ServiceReportPdfPath

string

None.

ReportTypeId

integer

None.

ReportStatusId

integer

None.

CreatedBy

string

None.

modifiedBy

string

None.

UserRoleId

string

None.

ArrivalDelay

Collection of ArrivalDelayMdl

None.

DepartureDelay

Collection of DepartureDelayMdl

None.

StatusId

integer

None.

caseNumber

string

None.

reportStatus

string

None.

reportType

string

None.

WeatherEventTypeId

integer

None.

StartAt

date

None.

EndAt

date

None.

IsAdminFlagging

boolean

None.

createdDate

date

None.

ReliabilityReportTimelines

Collection of ReliabilityReportTimelinesMdl

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ReportId": 2,
  "date": "2024-11-22T21:40:29.5364703-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:40:29.5364703-06:00",
  "EndAt": "2024-11-22T21:40:29.5364703-06:00",
  "IsAdminFlagging": true,
  "createdDate": "2024-11-22T21:40:29.5364703-06:00",
  "ReliabilityReportTimelines": [
    {
      "id": 1,
      "report_id": 2,
      "user_id": "sample string 3",
      "user_type": 4,
      "start_time": "2024-11-22T21:40:29.5364703-06:00",
      "end_time": "2024-11-22T21:40:29.5364703-06:00",
      "created_at": "2024-11-22T21:40:29.5364703-06:00",
      "updated_at": "2024-11-22T21:40:29.5364703-06:00",
      "TotalTime": "sample string 7"
    },
    {
      "id": 1,
      "report_id": 2,
      "user_id": "sample string 3",
      "user_type": 4,
      "start_time": "2024-11-22T21:40:29.5364703-06:00",
      "end_time": "2024-11-22T21:40:29.5364703-06:00",
      "created_at": "2024-11-22T21:40:29.5364703-06:00",
      "updated_at": "2024-11-22T21:40:29.5364703-06:00",
      "TotalTime": "sample string 7"
    }
  ]
}

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 'ReliabilityWeatherEventMdl'.

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