POST api/MallGShop/UpdateMyGShop

会员中心-更新当前登录会员商家信息

Request Information

URI Parameters

None.

Body Parameters

商家信息

GShopUpdateDto
NameDescriptionTypeAdditional information
Id

好店id

integer

None.

ShopAddress

好店地址

string

None.

ShopContactTel

好店联系方式

string

None.

ShopBusinessTime

好店营业时间

string

None.

ShopTel

电话

string

None.

IsRemote

远程附件

boolean

None.

ShopContent

好店内容

string

None.

SectionId

地段id

integer

None.

RegionId

区域id

integer

None.

Shop_X

好店坐标x

decimal number

None.

Shop_Y

好店坐标y

decimal number

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:
<GShopUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Mall.Service.Dto.GShop">
  <Id>1</Id>
  <IsRemote>true</IsRemote>
  <RegionId>9</RegionId>
  <SectionId>8</SectionId>
  <ShopAddress>sample string 2</ShopAddress>
  <ShopBusinessTime>sample string 4</ShopBusinessTime>
  <ShopContactTel>sample string 3</ShopContactTel>
  <ShopContent>sample string 7</ShopContent>
  <ShopTel>sample string 5</ShopTel>
  <Shop_X>10.1</Shop_X>
  <Shop_Y>11.1</Shop_Y>
</GShopUpdateDto>

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

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