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

NFD运价数据查询

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-24T02:27:31.254575+08:00",
  "TravelDate": "2024-12-24T02:27:31.254575+08:00",
  "MinDateTime": "2024-12-24T02:27:31.254575+08:00",
  "MaxDateTime": "2024-12-24T02:27:31.254575+08:00"
}

Response Information

Resource Description

NFD运价数据查询

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

integer

None.

Contents

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

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-24T02:27:31.2706013+08:00"
      },
      "NfdFlightNos": [
        {
          "IssueNo": "sample string 1",
          "ExpiryNo": "sample string 2"
        },
        {
          "IssueNo": "sample string 1",
          "ExpiryNo": "sample string 2"
        }
      ],
      "NfdTimeSlots": [
        {
          "IssueTime": "sample string 1",
          "ExpiryTime": "sample string 2"
        },
        {
          "IssueTime": "sample string 1",
          "ExpiryTime": "sample string 2"
        }
      ],
      "NftCommand": true,
      "Carrier": "sample string 2",
      "ParentCode": "sample string 3",
      "CabinCode": "sample string 4",
      "CodeShare": true,
      "BeforeDays": 6,
      "EndDays": 7,
      "IssueDate": "2024-12-24T02:27:31.2706013+08:00",
      "ExpiryDate": "2024-12-24T02:27:31.2706013+08:00",
      "TravelIssueDate": "2024-12-24T02:27:31.2706013+08:00",
      "TravelExpiryDate": "2024-12-24T02:27:31.2706013+08:00",
      "AdultPrice": 12,
      "ChildPrice": 13,
      "BabyPrice": 14,
      "MON": true,
      "TUE": true,
      "WED": true,
      "THU": true,
      "FRI": true,
      "SAT": true,
      "SUN": true,
      "StayMin": "sample string 22",
      "StayMax": "sample string 23",
      "TransitAirport": "sample string 24",
      "Time": "2024-12-24T02:27:31.2706013+08:00"
    },
    {
      "FareRoutes": {
        "Departure": "sample string 1",
        "Arrival": "sample string 2",
        "Distance": 3,
        "DataSource": "sample string 4",
        "Time": "2024-12-24T02:27:31.2706013+08:00"
      },
      "NfdFlightNos": [
        {
          "IssueNo": "sample string 1",
          "ExpiryNo": "sample string 2"
        },
        {
          "IssueNo": "sample string 1",
          "ExpiryNo": "sample string 2"
        }
      ],
      "NfdTimeSlots": [
        {
          "IssueTime": "sample string 1",
          "ExpiryTime": "sample string 2"
        },
        {
          "IssueTime": "sample string 1",
          "ExpiryTime": "sample string 2"
        }
      ],
      "NftCommand": true,
      "Carrier": "sample string 2",
      "ParentCode": "sample string 3",
      "CabinCode": "sample string 4",
      "CodeShare": true,
      "BeforeDays": 6,
      "EndDays": 7,
      "IssueDate": "2024-12-24T02:27:31.2706013+08:00",
      "ExpiryDate": "2024-12-24T02:27:31.2706013+08:00",
      "TravelIssueDate": "2024-12-24T02:27:31.2706013+08:00",
      "TravelExpiryDate": "2024-12-24T02:27:31.2706013+08:00",
      "AdultPrice": 12,
      "ChildPrice": 13,
      "BabyPrice": 14,
      "MON": true,
      "TUE": true,
      "WED": true,
      "THU": true,
      "FRI": true,
      "SAT": true,
      "SUN": true,
      "StayMin": "sample string 22",
      "StayMax": "sample string 23",
      "TransitAirport": "sample string 24",
      "Time": "2024-12-24T02:27:31.2706013+08:00"
    }
  ]
}