POST Api/Service/Quotation/BatchQuotationUpdate

批量更新政策

Request Information

URI Parameters

None.

Body Parameters

更新模型

SpeedPower.Utility.Models.Project.SQuery.Service.Quotations.BatchQuotationUpdateModel
NameDescriptionTypeAdditional information
Search

检索模型

SpeedPower.Utility.Models.Project.SQuery.Service.Quotations.SearchQuotationModel

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.

Status

政策状态

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

None.

PurchaseTag

生单路由标识

string

String length: inclusive between 0 and 20

ProviderCodes

适用数据源代码(CODE1,CODE2)

string

String length: inclusive between 0 and 500

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

Sample:
{
  "Search": {
    "SiteCodes": [
      "sample string 1",
      "sample string 2"
    ],
    "QuotationId": "e6a56127-78a4-44ef-89b9-e4cbbd4cb6a2",
    "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:16:20.5756265+08:00",
    "TravelDate": "2024-12-24T02:16:20.5756265+08:00",
    "MinDateTime": "2024-12-24T02:16:20.5756265+08:00",
    "MaxDateTime": "2024-12-24T02:16:20.5756265+08:00"
  },
  "KeepMoney": 1.1,
  "ReturnRebate": 1.1,
  "AddPrintPrice": 1,
  "AddPrintRebate": 1.1,
  "ProfitMoney": 1.1,
  "Status": 0,
  "PurchaseTag": "sample string 1",
  "ProviderCodes": "sample string 2",
  "ProductMark": "sample string 3",
  "ExtraSections": "sample string 4",
  "Remarks": "sample string 5"
}

Response Information

Resource Description

批量更新政策

SpeedPower.Utility.Models.Helper.ResultMessage
NameDescriptionTypeAdditional information
Succeed

操作是否成功

boolean

None.

Message

操作消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeed": true,
  "Message": "sample string 2"
}