POST api/StockTaking/login
Request Information
URI Parameters
None.
Body Parameters
LoginModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Username | string |
None. |
|
| Password | string |
None. |
|
| Pswd | string |
None. |
|
| isActive | integer |
None. |
|
| BranchCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Code": 1,
"Username": "sample string 2",
"Password": "sample string 3",
"Pswd": "sample string 4",
"isActive": 5,
"BranchCode": "sample string 6"
}
application/xml, text/xml
Sample:
<LoginModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/v2SeApi.Models"> <BranchCode>sample string 6</BranchCode> <Code>1</Code> <Password>sample string 3</Password> <Pswd>sample string 4</Pswd> <Username>sample string 2</Username> <isActive>5</isActive> </LoginModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfLoginModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | integer |
None. |
|
| Message | string |
None. |
|
| Data | LoginModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 1,
"Message": "sample string 2",
"Data": {
"Code": 1,
"Username": "sample string 2",
"Password": "sample string 3",
"Pswd": "sample string 4",
"isActive": 5,
"BranchCode": "sample string 6"
}
}
application/xml, text/xml
Sample:
<ResultModelOfLoginModelC6pxiZC7 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/v2SeApi.Models">
<Data>
<BranchCode>sample string 6</BranchCode>
<Code>1</Code>
<Password>sample string 3</Password>
<Pswd>sample string 4</Pswd>
<Username>sample string 2</Username>
<isActive>5</isActive>
</Data>
<Message>sample string 2</Message>
<ResponseCode>1</ResponseCode>
</ResultModelOfLoginModelC6pxiZC7>