3.1. GetAccountSummary
This method show the account summary of the user. The information shown is similar to the Account Summary provided from the platform.
Request
Method | URL |
---|---|
GET | /AsianOddsService/GetAccountSummary |
Type | Params | Values |
---|---|---|
HEADER | AOToken | string |
HEADER | accept | application/json |
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 is 0, then it is successful. Negative values indicate failure |
Credit | Credit of the user’s account |
CreditCurrency | Currency of user account’s credit |
Message | The message from the system |
Outstanding | Outstanding Amount of the user’s account |
OutstandingCurrency | Currency of the Outstanding Amount of the user. |
TodayPnL | Today’s Profit and Loss |
TodayPnlCurrency | Currency of Today’s Profit and Loss |
YesterdayPnl | Yesterday’s Profit and Loss |
YesterdayPnlCurrency | Currency of Yesterday’s profile and loss |
Sample JSON Response
Response Type | Response |
---|---|
Success | { |
Fail | { |