POST Api/Service/Setting/AddOrderProviderIntactSetting
添加生单完整配置项
Request Information
URI Parameters
None.
Body Parameters
设置参数
SpeedPower.Utility.Models.Project.Orders.Service.Setting.IntactOrderProviderSettingModelName | Description | Type | Additional information |
---|---|---|---|
OrderProviderAutoPaySettings |
自动支付设置 |
SpeedPower.Utility.Models.Project.Orders.Service.Setting.AddOrderProviderAutoPaySettingModel |
None. |
OrderProviderExpandSettings |
扩展参数列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.Setting.AddOrderProviderExpandSettingModel |
None. |
OrderCarrierSettingId |
父级ID |
globally unique identifier |
None. |
Sequence |
顺序设置 |
integer |
None. |
ProviderCode |
采购源代码 |
string |
Required String length: inclusive between 0 and 20 |
MatchCabin |
是否强制匹配舱位 |
boolean |
None. |
PriceChangeInterval |
变价区间(5元) |
integer |
None. |
Status |
启用状态 |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "OrderProviderAutoPaySettings": { "ID": "a0b3cc94-a64d-41fa-88aa-7229f53fef8c", "PaymentTag": "sample string 2", "SortType": 0, "UsedBalance": true }, "OrderProviderExpandSettings": [ { "OrderProviderSettingId": "98956a43-16c6-479d-997d-9eeddfd559cb", "SettingKey": "sample string 2", "SettingValue": "sample string 3" }, { "OrderProviderSettingId": "98956a43-16c6-479d-997d-9eeddfd559cb", "SettingKey": "sample string 2", "SettingValue": "sample string 3" } ], "OrderCarrierSettingId": "6b21e0bc-c67f-45ee-99cf-f39e7f688e0d", "Sequence": 2, "ProviderCode": "sample string 3", "MatchCabin": true, "PriceChangeInterval": 5, "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" }