Available Selections

Request Parameters

Parameter
Type
Required
Description
Example

urn_type

string

Yes

The event type

sr:match

id

int

Yes

ID of the event

6623456

Response

Element
Description
Attribute(s)
Attribute Description
Possible Values

available_selections

Root element

xmlns

XML namespace.

Always http://schemas.sportradar.com/custombet/v1/endpoints

generated_at

Date and time of generated response in ISO 8601 format.

2019-05-06T12:34:49+00:00

event

Element containing event-specific attributes.

id

This id represents a unique match.

sr:match:12345

markets

Element containing all markets for a specific event.

-

-

-

market

Element containing all outcomes for a market.

id

The unique id for a specific market.

Integer value: • 18 • 26 • 551

specifiers (optional)

Specifiers are a way to uniquely identify a market with additional parameters together with the market id.

Example: specifiers="total=1.5" and outcomes "under 1.5" or "over 1.5".

outcome

Element containing a unique outcome id for a market.

id

The identifier of a unique outcome within a specific market.

Integer or string value: • 12 • 70 • sr:goal_range:7+-1343 • sr:player:123456

Available selections

get

Retrieve all available markets and outcomes for a given sport event. Response is returned in XML format.

Authorizations
x-access-tokenstringRequired
Path parameters
urn_typestring · enumRequired

The event type.

Example: sr:matchPossible values:
idintegerRequired

ID of the event.

Responses
200

Successful operation

application/xml
get
/custombet/{urn_type}:{id}/available_selections

Last updated

Was this helpful?