POST api/AdminUser/AdminCreateAdminUser

后台-创建后台用户

Request Information

URI Parameters

None.

Body Parameters

AdminUserEditDto
NameDescriptionTypeAdditional information
Id

用户自增长id

integer

None.

Chrname

用户登录名(编辑时不会修改)

string

None.

Chrpwd

用户密码

string

None.

ChrTel

手机号码

string

None.

Chrtruename

用户真实名称

string

None.

GroupId

用户组id

integer

None.

GroupName

用户组名称

string

None.

OpenId

微信openid

string

None.

IsBindWx

是否绑定微信

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:
<AdminUserEditDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.AdminUser">
  <ChrTel>sample string 4</ChrTel>
  <Chrname>sample string 2</Chrname>
  <Chrpwd>sample string 3</Chrpwd>
  <Chrtruename>sample string 5</Chrtruename>
  <GroupId>6</GroupId>
  <GroupName>sample string 7</GroupName>
  <Id>1</Id>
  <IsBindWx>true</IsBindWx>
  <OpenId>sample string 8</OpenId>
</AdminUserEditDto>

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

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