POST api/MallGShopWriteoffUser/AdminUpdateGShopWriteoffUser

后台--商家核销员工信息更新 dto 新增核销员自增id 传0表示插入核销员

Request Information

URI Parameters

None.

Body Parameters

商家核销员

GShopWriteoffUserDto
NameDescriptionTypeAdditional information
Id

核销员id

integer

None.

ShopId

商家id

integer

None.

UserId

用户id

integer

None.

UserName

用户名

string

None.

IsWriteoffOrder

是否能核销订单

boolean

None.

IsOrderManage

是否显示订单管理

boolean

None.

IsSettlementManage

是否显示结算管理

boolean

None.

IsCommdityManage

是否可以商品管理

boolean

None.

IsUpdateGShopInfo

是否能更维护资料

boolean

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:
<GShopWriteoffUserDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Mall.Service.Dto.GShop">
  <Id>1</Id>
  <IsCommdityManage>true</IsCommdityManage>
  <IsOrderManage>true</IsOrderManage>
  <IsSettlementManage>true</IsSettlementManage>
  <IsUpdateGShopInfo>true</IsUpdateGShopInfo>
  <IsWriteoffOrder>true</IsWriteoffOrder>
  <ShopId>2</ShopId>
  <UserId>3</UserId>
  <UserName>sample string 4</UserName>
</GShopWriteoffUserDto>

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

Response Information

Resource Description

后台--商家核销员工信息更新 dto 新增核销员自增id 传0表示插入核销员

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