POST api/Flight/GetFligthDataByLeg

按航段(出发到达机场三字码)+日期方式查询(航班号为空)

Request Information

URI Parameters

None.

Body Parameters

条件列表

FlightRequestByLegCondition
NameDescriptionTypeAdditional information
dep

出发机场三字码

string

Required

arr

到达机场三字码

string

Required

date

航班日期

date

Required

Request Formats

application/json, text/json

Sample:
{
  "dep": "sample string 1",
  "arr": "sample string 2",
  "date": "2025-05-24T21:58:29.9806333+08:00"
}

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

Response Information

Resource Description

返回航班数据

Object

None.

Response Formats

application/json, text/json

Sample:
{}