POST Api/Service/Setting/AddOrderCarrierIntactSetting
添加航司生单完整设置
Request Information
URI Parameters
None.
Body Parameters
设置参数
SpeedPower.Utility.Models.Project.Orders.Service.Setting.IntactOrderCarrierSettingModelName | Description | Type | Additional information |
---|---|---|---|
OrderProviderSettings |
设置列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.Setting.IntactOrderProviderSettingModel |
None. |
SiteSettingId |
父级ID |
string |
Required String length: inclusive between 0 and 128 |
Carrier |
航空公司 |
string |
Required String length: inclusive between 0 and 2 |
Normal |
当前设置是否为默认项 |
boolean |
None. |
PurchaseTag |
采购路由 |
string |
Required String length: inclusive between 0 and 20 |
Status |
启用状态 |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "OrderProviderSettings": [ { "OrderProviderAutoPaySettings": { "ID": "5177ee9f-54c2-4ce3-8158-a93406ef1616", "PaymentTag": "sample string 2", "SortType": 0, "UsedBalance": true }, "OrderProviderExpandSettings": [ { "OrderProviderSettingId": "296bf87e-339a-4b43-85ed-7e4299a71c55", "SettingKey": "sample string 2", "SettingValue": "sample string 3" }, { "OrderProviderSettingId": "296bf87e-339a-4b43-85ed-7e4299a71c55", "SettingKey": "sample string 2", "SettingValue": "sample string 3" } ], "OrderCarrierSettingId": "efb3e477-af19-473f-bce9-d0f642c252f1", "Sequence": 2, "ProviderCode": "sample string 3", "MatchCabin": true, "PriceChangeInterval": 5, "Status": true }, { "OrderProviderAutoPaySettings": { "ID": "5177ee9f-54c2-4ce3-8158-a93406ef1616", "PaymentTag": "sample string 2", "SortType": 0, "UsedBalance": true }, "OrderProviderExpandSettings": [ { "OrderProviderSettingId": "296bf87e-339a-4b43-85ed-7e4299a71c55", "SettingKey": "sample string 2", "SettingValue": "sample string 3" }, { "OrderProviderSettingId": "296bf87e-339a-4b43-85ed-7e4299a71c55", "SettingKey": "sample string 2", "SettingValue": "sample string 3" } ], "OrderCarrierSettingId": "efb3e477-af19-473f-bce9-d0f642c252f1", "Sequence": 2, "ProviderCode": "sample string 3", "MatchCabin": true, "PriceChangeInterval": 5, "Status": true } ], "SiteSettingId": "sample string 1", "Carrier": "sample string 2", "Normal": true, "PurchaseTag": "sample string 4", "Status": true }
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
Sample:
{ "Succeed": true, "Message": "sample string 2" }