POST api/Auth/UserLogin

个人用户登录

Request Information

URI Parameters

None.

Body Parameters

AuthModelParms
NameDescriptionTypeAdditional information
UserName

用户名

string

Required

PassWord

密码

string

Required

Code

Code

string

None.

UserType

string

None.

IsInstead

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "PassWord": "sample string 2",
  "Code": "sample string 3",
  "UserType": "sample string 4",
  "IsInstead": 5
}

multipart/form-data

Sample:
<AuthModelParms xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Easyman.Api.Areas.HelpPage.Models"><Code>sample string 3</Code><IsInstead>5</IsInstead><PassWord>sample string 2</PassWord><UserName>sample string 1</UserName><UserType>sample string 4</UserType></AuthModelParms>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServerResponse
NameDescriptionTypeAdditional information
errcode

返回码

integer

None.

errmsg

对返回码的文本描述内容

string

None.

ReturnValue

返回值

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "ReturnValue": {}
}

multipart/form-data

Sample:
<ServerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Easyman.Api.Models"><_x003C_ReturnValue_x003E_k__BackingField /><_x003C_errcode_x003E_k__BackingField>1</_x003C_errcode_x003E_k__BackingField><_x003C_errmsg_x003E_k__BackingField>sample string 2</_x003C_errmsg_x003E_k__BackingField></ServerResponse>