POST api/Game/Login
Request Information
URI Parameters
None.
Body Parameters
LoginRequst| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
None. |
|
| pCode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"code": "sample string 1",
"pCode": 2
}
application/xml, text/xml
Sample:
<LoginRequst xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheGift.Api.Model.Requst"> <code>sample string 1</code> <pCode>2</pCode> </LoginRequst>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
LoginResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| SessionId | string |
None. |
|
| statusCode | StatusCode |
None. |
|
| isSuccessful | boolean |
None. |
|
| message | string |
None. |
|
| returnUrl | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"SessionId": "sample string 1",
"isSuccessful": true,
"statusCode": 0,
"message": "sample string 3",
"returnUrl": "sample string 4"
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.