POST system/login
Request Information
URI Parameters
None.
Body Parameters
Request_System_Login| Name | Description | Type | Additional information |
|---|---|---|---|
| username | string |
Required |
|
| password | string |
Required |
|
| token | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"username": "sample string 1",
"password": "sample string 2",
"token": "sample string 3"
}
application/xml, text/xml
Sample:
<Request_System_Login xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TRUNGTAM_API.Areas.TrungTam.Directory.Models.Store"> <token xmlns="http://schemas.datacontract.org/2004/07/TRUNGTAM_API.Areas.TrungTam">sample string 3</token> <password>sample string 2</password> <username>sample string 1</username> </Request_System_Login>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| status | integer |
None. |
|
| error_code | string |
None. |
|
| content | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 1,
"error_code": "sample string 2",
"content": {}
}
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TRUNGTAM_API.Areas.TrungTam"> <content /> <error_code>sample string 2</error_code> <status>1</status> </Result>