POST api/LoveConfig/UpdateDistributionConfigDetail

更新分销配置详情

Request Information

URI Parameters

None.

Body Parameters

LoveDistributionConfigMore
NameDescriptionTypeAdditional information
ExtraBenefitYuan

额外奖励(元)

decimal number

None.

Configs

配置详情

Collection of LoveDistributionConfigDetailMore

None.

Id

配置标识

integer

None.

Name

级别名称

string

None.

Level

级别

LoveDistributionLevel

None.

MinimunLineRecord

最少牵线次数

integer

None.

BenefitTransferType

转账类型

LoveDistributionTransferType

None.

ExtraBenefit

额外奖励(分)

integer

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<LoveDistributionConfigMore xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Love.Service.Model.ModelAggregation">
  <BenefitTransferType xmlns="http://schemas.datacontract.org/2004/07/Mh.Love.Service.Model">Underline</BenefitTransferType>
  <ExtraBenefit xmlns="http://schemas.datacontract.org/2004/07/Mh.Love.Service.Model">5</ExtraBenefit>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Mh.Love.Service.Model">2</Id>
  <Level xmlns="http://schemas.datacontract.org/2004/07/Mh.Love.Service.Model">Level1</Level>
  <MinimunLineRecord xmlns="http://schemas.datacontract.org/2004/07/Mh.Love.Service.Model">4</MinimunLineRecord>
  <Name xmlns="http://schemas.datacontract.org/2004/07/Mh.Love.Service.Model">sample string 3</Name>
  <Configs>
    <LoveDistributionConfigDetailMore>
      <Benefit xmlns="http://schemas.datacontract.org/2004/07/Mh.Love.Service.Model">6</Benefit>
      <ConfigId xmlns="http://schemas.datacontract.org/2004/07/Mh.Love.Service.Model">4</ConfigId>
      <FinItemId xmlns="http://schemas.datacontract.org/2004/07/Mh.Love.Service.Model">5</FinItemId>
      <Id xmlns="http://schemas.datacontract.org/2004/07/Mh.Love.Service.Model">3</Id>
      <BenefitYuan>0.06</BenefitYuan>
      <FinItemName>sample string 1</FinItemName>
    </LoveDistributionConfigDetailMore>
    <LoveDistributionConfigDetailMore>
      <Benefit xmlns="http://schemas.datacontract.org/2004/07/Mh.Love.Service.Model">6</Benefit>
      <ConfigId xmlns="http://schemas.datacontract.org/2004/07/Mh.Love.Service.Model">4</ConfigId>
      <FinItemId xmlns="http://schemas.datacontract.org/2004/07/Mh.Love.Service.Model">5</FinItemId>
      <Id xmlns="http://schemas.datacontract.org/2004/07/Mh.Love.Service.Model">3</Id>
      <BenefitYuan>0.06</BenefitYuan>
      <FinItemName>sample string 1</FinItemName>
    </LoveDistributionConfigDetailMore>
  </Configs>
  <ExtraBenefitYuan>0.05</ExtraBenefitYuan>
</LoveDistributionConfigMore>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LoveDistributionConfigMore'.

Response Information

Resource Description

更新分销配置详情

Object

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />