3.3. GetBookies

Shows the possible bookies in the system.

 

Request

Method

URL

Method

URL

GET

/AsianOddsService/GetBookies

Type

Params

Values

Type

Params

Values

HEADER

AOToken

string

HEADER

accept

application/json

 

Request Values

Value

What is this for

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

Value

What is this for

Code

Holds the status of the response. If it is 0, then it is successful. Negative values indicate failure

Id

ID of the Bookie. This is the BookieID used on the system

Name

Name of the Bookie

IsFeedAvailable

True if the bookie is available in the system and has a feed, false if not.

 

Sample JSON Response

Response Type

Response

Response Type

Response

Success

{
"Code": 0,
"Data": [
{
"IsFeedAvailable": false,
"Id": "IBC",
"Name": "IBCBET"},
{
"IsFeedAvailable": true,
"Id": "SBO",
"Name": "SBOBET"
},
{
"IsFeedAvailable": false,
"Id": "PIN",
"Name": "PINNACLE"
},
{
"IsFeedAvailable": false,
"Id": "SIN",
"Name": "SINGBET"
},
{
"IsFeedAvailable": false,
"Id": "ISN",
"Name": "BETISN"
},
{
"IsFeedAvailable": false,
"Id": "GA2",
"Name": "GA288"
}
]
}

Fail

{
"Code": -1,
"Data": null
}