1.4. IsLoggedIn
Shows if the user is currently logged in or not. Can be called to prevent being automatically logged-off from the system, if you need to maintain the session. The call has to be done every 4 minutes.
Request
Method | URL |
---|---|
GET | /AsianOddsService/IsLoggedIn |
Type | Params | Values |
---|---|---|
HEADER | AOToken | string |
HEADER | accept | string |
Request Values
Value | What is this for |
---|---|
AOToken | Token generated also by the Login method. This token identifies which user is requesting or executing the API Method. This has to be sent for all of the request except during execution of the Login method |
accept | application/json |
Response Values
Value | What is this for |
---|---|
Code | Holds the status of the response. If it’s 0, then it is successful. Negative values indicate failure |
CurrentlyLoggedIn | Returns a boolean if the user is currently logged in or not |
LastAccess | The last activity of the account in milliseconds since last epoch. |
Sample JSON Response
Response Type | Response |
---|---|
Success | { |
Fail | { |