POST api/VietLife/Login
Request Information
URI Parameters
None.
Body Parameters
LoginEntityName | Description | Type | Additional information |
---|---|---|---|
Username | string |
None. |
|
Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Username": "sample string 1", "Password": "sample string 2" }
application/xml, text/xml
Sample:
<DungChung.LoginEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NanoHISPublicAPI"> <Password>sample string 2</Password> <Username>sample string 1</Username> </DungChung.LoginEntity>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
OutputNewEntityName | Description | Type | Additional information |
---|---|---|---|
Comment | string |
None. |
|
StatusCode | integer |
None. |
|
data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Comment": "sample string 1", "StatusCode": 2, "data": {} }
application/xml, text/xml
Sample:
<DungChung.OutputNewEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NanoHISPublicAPI"> <Comment>sample string 1</Comment> <StatusCode>2</StatusCode> <data /> </DungChung.OutputNewEntity>