GET Api/Invoke/GetQuotation/{QuotationId}
查看一条政策
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
QuotationId |
政策ID |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
查看一条政策
SpeedPower.Utility.Models.Project.SQuery.Service.Quotations.GetQuotationModelName | Description | Type | Additional information |
---|---|---|---|
Time |
时间 |
date |
None. |
Creater |
创建人 |
string |
String length: inclusive between 0 and 128 |
DataSource |
政策添加方式 |
SpeedPower.Utility.Models.Project.SQuery.Enums.QuotationSourceType |
None. |
ID |
政策ID |
globally unique identifier |
None. |
Status |
政策状态 |
SpeedPower.Utility.Models.Project.SQuery.Enums.QuotationStatusType |
None. |
Extensions |
扩展模型 |
SpeedPower.Utility.Models.Project.SQuery.Service.Quotations.GetExtensionModel |
None. |
SiteCode |
站点代码 |
string |
Required String length: inclusive between 0 and 20 |
Carrier |
航空公司 |
string |
Required String length: inclusive between 0 and 2 |
DepartureAirport |
出发机场 |
string |
Required String length: inclusive between 0 and 3 |
ArrivalAirport |
到达机场 |
string |
Required String length: inclusive between 0 and 3 |
FlightNumbers |
适用航班(*或者FligthNo1,FligthNo2) |
string |
String length: inclusive between 0 and 500 |
CabinCodes |
适用舱位(*或者Cabin1,Cabin2) |
string |
String length: inclusive between 0 and 100 |
CabinNames |
适用舱位名称((*或者name1,name2)) |
string |
String length: inclusive between 0 and 500 |
BeforeDays |
提天售卖天数 |
integer |
None. |
KeepMoney |
留钱(10.99元) |
decimal number |
None. |
ReturnRebate |
返点(5.5返点为5.5个点) |
decimal number |
None. |
AddPrintPrice |
票面加钱值(100元) |
integer |
None. |
AddPrintRebate |
票面加点值(5.5个点) |
decimal number |
None. |
ProfitMoney |
比价范围(15.26元) |
decimal number |
None. |
IssueDate |
售票开始日期 |
date |
None. |
ExpiryDate |
售票结束日期 |
date |
None. |
TravelIssueDate |
旅行有效开始日期 |
date |
None. |
TravelExpiryDate |
旅行有效结束日期 |
date |
None. |
ProviderCodes |
适用数据源代码(CODE1,CODE2) |
string |
String length: inclusive between 0 and 500 |
PurchaseTag |
生单路由标识 |
string |
String length: inclusive between 0 and 20 |
ProductMark |
产品标识 |
string |
String length: inclusive between 0 and 500 |
ExtraSections |
计算扩展项([50(销售价起价)-100(销售价结束价),10(留钱),4.6(反点),100(额外加票面价),5.5(额外票面加点),4.5(比价范围)][100-200,10,4.6,100,5.5,4.5]) |
string |
None. |
Remarks |
政策备注 |
string |
String length: inclusive between 0 and 500 |
Response Formats
application/json, text/json
{ "Time": "2024-12-24T02:38:05.2418973+08:00", "Creater": "sample string 2", "DataSource": 0, "ID": "e8af03bf-0a17-462b-910d-a4f0df002513", "Status": 0, "Extensions": { "ID": "5b15ef20-deb7-44e5-a598-39f15c7ce52e", "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:38:05.2418973+08:00", "ExpiryDate": "2024-12-24T02:38:05.2418973+08:00", "TravelIssueDate": "2024-12-24T02:38:05.2418973+08:00", "TravelExpiryDate": "2024-12-24T02:38:05.2418973+08:00", "ProviderCodes": "sample string 21", "PurchaseTag": "sample string 22", "ProductMark": "sample string 23", "ExtraSections": "sample string 24", "Remarks": "sample string 25" }