POST TestLogin
Request Information
URI Parameters
None.
Body Parameters
LoginInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Key | string |
None. |
|
| UserName | string |
None. |
|
| Pass | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Key": "sample string 1",
"UserName": "sample string 2",
"Pass": "sample string 3"
}
application/xml, text/xml
Sample:
<LoginInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yemek10.HesUp.Entity.Models"> <Key>sample string 1</Key> <Pass>sample string 3</Pass> <UserName>sample string 2</UserName> </LoginInfo>
application/x-www-form-urlencoded
Sample:
Key=value&UserName=value&Pass=value
Response Information
Resource Description
GeneralResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | ResultType |
None. |
|
| ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": 0,
"ErrorMessage": "sample string 1"
}
application/xml, text/xml
Sample:
<GeneralResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yemek10.HesUp.Entity.Models"> <ErrorMessage>sample string 1</ErrorMessage> <Result>False</Result> </GeneralResult>