POST api/IndepAgentService/UpdateIAPackages

后台-更新独立经纪人套餐配置

Request Information

URI Parameters

None.

Body Parameters

Collection of FinItemModifiedDtoOfHouseIndepAgentPackageDto
NameDescriptionTypeAdditional information
FinanceItem

FinItemDto

None.

ModifiedExtraParam

HouseIndepAgentPackageDto

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:
<ArrayOfFinItemModifiedDtoOfHouseIndepAgentPackageDtoKxZSEcGv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.Finance">
  <FinItemModifiedDtoOfHouseIndepAgentPackageDtoKxZSEcGv>
    <FinanceItem>
      <AllowCustomPrice>true</AllowCustomPrice>
      <CanBeRefunded>true</CanBeRefunded>
      <CreditNum>6</CreditNum>
      <ExtraParams>sample string 8</ExtraParams>
      <Id>1</Id>
      <Level>11</Level>
      <Module>None</Module>
      <Name>sample string 2</Name>
      <NumTimes>10</NumTimes>
      <PayMode>ByCredit</PayMode>
      <PeriodLength>12</PeriodLength>
      <PeriodUnit>Day</PeriodUnit>
      <PriceFen>510</PriceFen>
      <PriceYuan>5.1</PriceYuan>
      <Sellable>true</Sellable>
    </FinanceItem>
    <ModifiedExtraParam xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mh.House.Service.Dto.IndepAgent">
      <d3p1:CanViewFangyuanContact>true</d3p1:CanViewFangyuanContact>
      <d3p1:CanViewFanyuanVisitor>true</d3p1:CanViewFanyuanVisitor>
      <d3p1:FangyuanNeedAudit>true</d3p1:FangyuanNeedAudit>
      <d3p1:IAPackage>None</d3p1:IAPackage>
      <d3p1:IAPackageExpireTime>2024-05-09T12:41:53.2096475+08:00</d3p1:IAPackageExpireTime>
      <d3p1:IsSuggestedIA>true</d3p1:IsSuggestedIA>
      <d3p1:PublishFangyuanNum>1</d3p1:PublishFangyuanNum>
      <d3p1:RefreshOneFreeTimes>3</d3p1:RefreshOneFreeTimes>
    </ModifiedExtraParam>
  </FinItemModifiedDtoOfHouseIndepAgentPackageDtoKxZSEcGv>
  <FinItemModifiedDtoOfHouseIndepAgentPackageDtoKxZSEcGv>
    <FinanceItem>
      <AllowCustomPrice>true</AllowCustomPrice>
      <CanBeRefunded>true</CanBeRefunded>
      <CreditNum>6</CreditNum>
      <ExtraParams>sample string 8</ExtraParams>
      <Id>1</Id>
      <Level>11</Level>
      <Module>None</Module>
      <Name>sample string 2</Name>
      <NumTimes>10</NumTimes>
      <PayMode>ByCredit</PayMode>
      <PeriodLength>12</PeriodLength>
      <PeriodUnit>Day</PeriodUnit>
      <PriceFen>510</PriceFen>
      <PriceYuan>5.1</PriceYuan>
      <Sellable>true</Sellable>
    </FinanceItem>
    <ModifiedExtraParam xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mh.House.Service.Dto.IndepAgent">
      <d3p1:CanViewFangyuanContact>true</d3p1:CanViewFangyuanContact>
      <d3p1:CanViewFanyuanVisitor>true</d3p1:CanViewFanyuanVisitor>
      <d3p1:FangyuanNeedAudit>true</d3p1:FangyuanNeedAudit>
      <d3p1:IAPackage>None</d3p1:IAPackage>
      <d3p1:IAPackageExpireTime>2024-05-09T12:41:53.2096475+08:00</d3p1:IAPackageExpireTime>
      <d3p1:IsSuggestedIA>true</d3p1:IsSuggestedIA>
      <d3p1:PublishFangyuanNum>1</d3p1:PublishFangyuanNum>
      <d3p1:RefreshOneFreeTimes>3</d3p1:RefreshOneFreeTimes>
    </ModifiedExtraParam>
  </FinItemModifiedDtoOfHouseIndepAgentPackageDtoKxZSEcGv>
</ArrayOfFinItemModifiedDtoOfHouseIndepAgentPackageDtoKxZSEcGv>

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 'IEnumerable`1'.

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