POST Authentication/Login
Request Information
URI Parameters
None.
Body Parameters
LoginRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Phone | string |
None. |
|
| Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Phone": "sample string 1",
"Password": "sample string 2"
}
application/xml, text/xml
Sample:
<LoginRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Models"> <Password>sample string 2</Password> <Phone>sample string 1</Phone> </LoginRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
LoginResult| Name | Description | Type | Additional information |
|---|---|---|---|
| key | string |
None. |
|
| success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"key": "sample string 1",
"success": true
}
application/xml, text/xml
Sample:
<LoginResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Models"> <key>sample string 1</key> <success>true</success> </LoginResult>