POST Api/Service/Setting/AddOrderProviderIntactSetting

添加生单完整配置项

Request Information

URI Parameters

None.

Body Parameters

设置参数

SpeedPower.Utility.Models.Project.Orders.Service.Setting.IntactOrderProviderSettingModel
NameDescriptionTypeAdditional 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": "e5412fe7-f665-430c-ab95-68c25f39a8a8",
    "PaymentTag": "sample string 2",
    "SortType": 0,
    "UsedBalance": true
  },
  "OrderProviderExpandSettings": [
    {
      "OrderProviderSettingId": "5fdffbd0-abb0-48d5-89b9-9cd8277bae28",
      "SettingKey": "sample string 2",
      "SettingValue": "sample string 3"
    },
    {
      "OrderProviderSettingId": "5fdffbd0-abb0-48d5-89b9-9cd8277bae28",
      "SettingKey": "sample string 2",
      "SettingValue": "sample string 3"
    }
  ],
  "OrderCarrierSettingId": "1e0fd4b1-1278-483c-a44a-7993ad2d6f0f",
  "Sequence": 2,
  "ProviderCode": "sample string 3",
  "MatchCabin": true,
  "PriceChangeInterval": 5,
  "Status": true
}

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"
}