POST Api/Service/Setting/AddOrderProviderSetting

添加生单配置项

Request Information

URI Parameters

None.

Body Parameters

设置参数

SpeedPower.Utility.Models.Project.Orders.Service.Setting.AddOrderProviderSettingModel
NameDescriptionTypeAdditional information
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:
{
  "OrderCarrierSettingId": "d42b10a6-2e25-4ba0-9865-074829fd3442",
  "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"
}