POST api/MallDShop/TryUpdateDShop

会员中心 - 更新分销店铺信息

Request Information

URI Parameters

None.

Body Parameters

DShopInfoDto
NameDescriptionTypeAdditional information
DShopId

分销店铺标识

integer

None.

DShopName

分销店铺名

string

None.

DShopImgUrl

分销店铺分销图片路径

string

None.

DShopSlogan

分销店铺口号

string

None.

CommodityClasses

商品分类集合,没有即全部

string

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:
<DShopInfoDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Mall.Service.Dto.Distribution.Member">
  <CommodityClasses>sample string 5</CommodityClasses>
  <DShopId>1</DShopId>
  <DShopImgUrl>sample string 3</DShopImgUrl>
  <DShopName>sample string 2</DShopName>
  <DShopSlogan>sample string 4</DShopSlogan>
</DShopInfoDto>

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 'DShopInfoDto'.

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