POST api/Login/Index

用户登录

Request Information

URI Parameters

None.

Body Parameters

用户登录信息

loginInfo
NameDescriptionTypeAdditional information
name

用户名

string

None.

password

用户密码

string

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "password": "sample string 2"
}

application/xml, text/xml

Sample:
<LoginController.loginInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BN.SCM.WebAPI.Controllers">
  <name>sample string 1</name>
  <password>sample string 2</password>
</LoginController.loginInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

status:1:成功,0:失败,Supplier_Code:供应商编码,Com_Code:公司编码

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.