3.4. GetUserInformation
Show the user configuration in the system. The information provided is based on the settings from the platform.
Â
Request
Method | URL |
---|---|
GET | /AsianOddsService/GetUserInformation |
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 |
BaseCurrency | Default Currency of the user |
ActiveBookies | Contains the Active Bookies. If a bookie is not put into the active list from the settings, that bookie will not appear on the bookie list. |
CreationDate | When the account was created in Milliseconds format since last epoch |
DefaultStake | Default Stake to be used, 0 if disabled. |
ExpiryDate | When the account will expire, in milliseconds format since last epoch |
ExternalIP | IP Address used. |
OddsType | OddsType by default. It can be : |
Status | Shows if the account is active or not |
UserId | Username used. |
Â
Sample JSON Response
Response Type | Response |
---|---|
Success | { |
Fail | { |