POST Api/Service/Quotation/SearchQuotations/{PageNumber}/{PageSize}

政策搜索

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PageNumber

页数

integer

Required

PageSize

页大小

integer

Required

Body Parameters

搜索模型

SpeedPower.Utility.Models.Project.SQuery.Service.Quotations.SearchQuotationModel
NameDescriptionTypeAdditional information
SiteCodes

站点代码

Collection of string

None.

QuotationId

政策ID

globally unique identifier

None.

Carriers

航空公司

Collection of string

None.

DepartureAirport

出发机场

string

String length: inclusive between 0 and 3

ArrivalAirport

到达机场

string

String length: inclusive between 0 and 3

PurchaseTag

采购路由标识

string

String length: inclusive between 0 and 20

Creater

创建人

string

String length: inclusive between 0 and 128

Status

政策状态

SpeedPower.Utility.Models.Project.SQuery.Enums.QuotationStatusType

None.

DataSource

政策添加方式

SpeedPower.Utility.Models.Project.SQuery.Enums.QuotationSourceType

None.

IssueDate

适用销售日期

date

None.

TravelDate

适用旅行日期

date

None.

MinDateTime

最小查询时间

date

None.

MaxDateTime

最大查询时间

date

None.

Request Formats

application/json, text/json

Sample:
{
  "SiteCodes": [
    "sample string 1",
    "sample string 2"
  ],
  "QuotationId": "1f41a23f-a5dd-48d4-9c08-f3b29feaeabd",
  "Carriers": [
    "sample string 1",
    "sample string 2"
  ],
  "DepartureAirport": "sample string 1",
  "ArrivalAirport": "sample string 2",
  "PurchaseTag": "sample string 3",
  "Creater": "sample string 4",
  "Status": 0,
  "DataSource": 0,
  "IssueDate": "2024-12-24T02:04:01.5204178+08:00",
  "TravelDate": "2024-12-24T02:04:01.5204178+08:00",
  "MinDateTime": "2024-12-24T02:04:01.5204178+08:00",
  "MaxDateTime": "2024-12-24T02:04:01.5204178+08:00"
}

Response Information

Resource Description

政策搜索

SpeedPower.Utility.Models.Helper.ResultDataGridOfSystem.Collections.Generic.IEnumerableOfSpeedPower.Utility.Models.Project.SQuery.Service.Quotations.GetQuotationModel
NameDescriptionTypeAdditional information
RowsCount

integer

None.

Contents

Collection of SpeedPower.Utility.Models.Project.SQuery.Service.Quotations.GetQuotationModel

None.

Response Formats

application/json, text/json

Sample:
{
  "RowsCount": 1,
  "Contents": [
    {
      "Time": "2024-12-24T02:04:01.5204178+08:00",
      "Creater": "sample string 2",
      "DataSource": 0,
      "ID": "c3fa5d28-e466-472f-b1f9-c75482447f58",
      "Status": 0,
      "Extensions": {
        "ID": "d217e714-754f-4c0a-90e0-94a426c7e8af",
        "ExtraMoney": 2.1,
        "ExtraRebate": 3.1,
        "ExtraPrintPrice": 4,
        "ExtraPrintRebate": 5.1,
        "ExtraProfitMoney": 6.1
      },
      "SiteCode": "sample string 4",
      "Carrier": "sample string 5",
      "DepartureAirport": "sample string 6",
      "ArrivalAirport": "sample string 7",
      "FlightNumbers": "sample string 8",
      "CabinCodes": "sample string 9",
      "CabinNames": "sample string 10",
      "BeforeDays": 11,
      "KeepMoney": 12.1,
      "ReturnRebate": 13.1,
      "AddPrintPrice": 14,
      "AddPrintRebate": 15.1,
      "ProfitMoney": 16.1,
      "IssueDate": "2024-12-24T02:04:01.5204178+08:00",
      "ExpiryDate": "2024-12-24T02:04:01.5204178+08:00",
      "TravelIssueDate": "2024-12-24T02:04:01.5204178+08:00",
      "TravelExpiryDate": "2024-12-24T02:04:01.5204178+08:00",
      "ProviderCodes": "sample string 21",
      "PurchaseTag": "sample string 22",
      "ProductMark": "sample string 23",
      "ExtraSections": "sample string 24",
      "Remarks": "sample string 25"
    },
    {
      "Time": "2024-12-24T02:04:01.5204178+08:00",
      "Creater": "sample string 2",
      "DataSource": 0,
      "ID": "c3fa5d28-e466-472f-b1f9-c75482447f58",
      "Status": 0,
      "Extensions": {
        "ID": "d217e714-754f-4c0a-90e0-94a426c7e8af",
        "ExtraMoney": 2.1,
        "ExtraRebate": 3.1,
        "ExtraPrintPrice": 4,
        "ExtraPrintRebate": 5.1,
        "ExtraProfitMoney": 6.1
      },
      "SiteCode": "sample string 4",
      "Carrier": "sample string 5",
      "DepartureAirport": "sample string 6",
      "ArrivalAirport": "sample string 7",
      "FlightNumbers": "sample string 8",
      "CabinCodes": "sample string 9",
      "CabinNames": "sample string 10",
      "BeforeDays": 11,
      "KeepMoney": 12.1,
      "ReturnRebate": 13.1,
      "AddPrintPrice": 14,
      "AddPrintRebate": 15.1,
      "ProfitMoney": 16.1,
      "IssueDate": "2024-12-24T02:04:01.5204178+08:00",
      "ExpiryDate": "2024-12-24T02:04:01.5204178+08:00",
      "TravelIssueDate": "2024-12-24T02:04:01.5204178+08:00",
      "TravelExpiryDate": "2024-12-24T02:04:01.5204178+08:00",
      "ProviderCodes": "sample string 21",
      "PurchaseTag": "sample string 22",
      "ProductMark": "sample string 23",
      "ExtraSections": "sample string 24",
      "Remarks": "sample string 25"
    }
  ]
}