POST api/Basic/LoginApi
根据用户编号获取用户数据
Request Information
Parameters
Name | Description | Data Type | Additional information |
---|---|---|---|
param | 用户编号 |
UserModel对象 |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "companyno": "sample string 1", "userno": "sample string 2", "pwd": "sample string 3" }
application/xml, text/xml
Sample:
<UserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <companyno>sample string 1</companyno> <pwd>sample string 3</pwd> <userno>sample string 2</userno> </UserModel>
application/x-www-form-urlencoded
Sample:
Response Information
Response body formats
application/json, text/json
Sample:
{ "Status": 1, "Message": "sample string 2" }
application/xml, text/xml
Sample:
<ResultBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <Message>sample string 2</Message> <Status>1</Status> </ResultBase>