POST api/AdminUser/ModifyOtherPassAndBindingUser

后台-修改其他管理员密码和绑定网站前台用户(全站通用接口)

Request Information

URI Parameters

None.

Body Parameters

ModifyOtherPassBindingUserDto
NameDescriptionTypeAdditional information
adminUser

要修改的管理员用户名

string

None.

NewPassword

管理员新密码(不传时不更改密码)

string

None.

userId

需绑定的前台用户id(不传时不绑定前台用户)

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:
<ModifyOtherPassBindingUserDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.User">
  <NewPassword>sample string 2</NewPassword>
  <userId>3</userId>
  <adminUser>sample string 1</adminUser>
</ModifyOtherPassBindingUserDto>

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

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