POST Api/FareDatas/SearchFdFares/{PageNumber}/{PageSize}

FD运价数据查询

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PageNumber

页数

integer

Required

PageSize

页大小

integer

Required

Body Parameters

搜索模型

SpeedPower.Utility.Models.Project.SQuery.Service.FareData.SearchFareRouteModel
NameDescriptionTypeAdditional information
Departure

出发地

string

String length: inclusive between 0 and 3

Arrival

到达地

string

String length: inclusive between 0 and 3

Carrier

承运人(航空公司)

string

String length: inclusive between 0 and 2

IssueDate

适用销售日期

date

None.

TravelDate

适用旅行日期

date

None.

MinDateTime

最小查询时间

date

None.

MaxDateTime

最大查询时间

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Departure": "sample string 1",
  "Arrival": "sample string 2",
  "Carrier": "sample string 3",
  "IssueDate": "2024-12-24T01:54:57.3823633+08:00",
  "TravelDate": "2024-12-24T01:54:57.3823633+08:00",
  "MinDateTime": "2024-12-24T01:54:57.3823633+08:00",
  "MaxDateTime": "2024-12-24T01:54:57.3823633+08:00"
}

Response Information

Resource Description

FD运价数据查询

SpeedPower.Utility.Models.Helper.ResultDataGridOfSystem.Collections.Generic.IEnumerableOfSpeedPower.Utility.Models.Project.SQuery.Service.FareData.ReverseFdFareModel
NameDescriptionTypeAdditional information
RowsCount

integer

None.

Contents

Collection of SpeedPower.Utility.Models.Project.SQuery.Service.FareData.ReverseFdFareModel

None.

Response Formats

application/json, text/json

Sample:
{
  "RowsCount": 1,
  "Contents": [
    {
      "FareRoutes": {
        "Departure": "sample string 1",
        "Arrival": "sample string 2",
        "Distance": 3,
        "DataSource": "sample string 4",
        "Time": "2024-12-24T01:54:57.3823633+08:00"
      },
      "Carrier": "sample string 1",
      "CabinLevel": 0,
      "ParentCode": "sample string 2",
      "CabinCode": "sample string 3",
      "AdultPrice": 4,
      "ChildPrice": 5,
      "BabyPrice": 6,
      "IssueDate": "2024-12-24T01:54:57.3823633+08:00",
      "ExpiryDate": "2024-12-24T01:54:57.3823633+08:00",
      "Notes": "sample string 9",
      "Time": "2024-12-24T01:54:57.3823633+08:00"
    },
    {
      "FareRoutes": {
        "Departure": "sample string 1",
        "Arrival": "sample string 2",
        "Distance": 3,
        "DataSource": "sample string 4",
        "Time": "2024-12-24T01:54:57.3823633+08:00"
      },
      "Carrier": "sample string 1",
      "CabinLevel": 0,
      "ParentCode": "sample string 2",
      "CabinCode": "sample string 3",
      "AdultPrice": 4,
      "ChildPrice": 5,
      "BabyPrice": 6,
      "IssueDate": "2024-12-24T01:54:57.3823633+08:00",
      "ExpiryDate": "2024-12-24T01:54:57.3823633+08:00",
      "Notes": "sample string 9",
      "Time": "2024-12-24T01:54:57.3823633+08:00"
    }
  ]
}