POST Api/Service/Quotation/AddQuotation
添加一条政策
Request Information
URI Parameters
None.
Body Parameters
政策模型
SpeedPower.Utility.Models.Project.SQuery.Service.Quotations.AddQuotationModelName | Description | Type | Additional information |
---|---|---|---|
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 |
Request Formats
application/json, text/json
{ "SiteCode": "sample string 1", "Carrier": "sample string 2", "DepartureAirport": "sample string 3", "ArrivalAirport": "sample string 4", "FlightNumbers": "sample string 5", "CabinCodes": "sample string 6", "CabinNames": "sample string 7", "BeforeDays": 8, "KeepMoney": 9.1, "ReturnRebate": 10.1, "AddPrintPrice": 11, "AddPrintRebate": 12.1, "ProfitMoney": 13.1, "IssueDate": "2024-12-24T02:19:35.0582453+08:00", "ExpiryDate": "2024-12-24T02:19:35.0582453+08:00", "TravelIssueDate": "2024-12-24T02:19:35.0582453+08:00", "TravelExpiryDate": "2024-12-24T02:19:35.0582453+08:00", "ProviderCodes": "sample string 18", "PurchaseTag": "sample string 19", "ProductMark": "sample string 20", "ExtraSections": "sample string 21", "Remarks": "sample string 22" }
Response Information
Resource Description
添加一条政策
SpeedPower.Utility.Models.Helper.ResultMessageName | Description | Type | Additional information |
---|---|---|---|
Succeed |
操作是否成功 |
boolean |
None. |
Message |
操作消息 |
string |
None. |
Response Formats
application/json, text/json
{ "Succeed": true, "Message": "sample string 2" }