Multi-bet with Mixed Content (External and Sportradar)
The example ticket contains two bets (the Bets array length = 2). The first bet contains its stake and two selections, the first one includes external (non-Sportradar) content ("event": "ext:match:736977", "outcome": "ext-pre:9985:s77"), whereas the second selection contains content from the Sportradar feed. The second bet also contains its stake and one selection with content from the Sportradar feed.
Ticket Placement Request
{
"operatorId": 9985,
"content": {
"type": "ticket",
"ticketId": "Ticket_5129",
"bets": [
{
"betId": "Ticket_5129_bet0",
"selections": [
{
"type": "external",
"event": "ext:match:736977",
"expSettleTime": 1691581504000,
"outcome": "ext-pre:9985:s77",
"odds": {
"type": "decimal",
"value": "7.1"
}
},
{
"type": "uf",
"productId": "1",
"eventId": "sr:match:15163591",
"marketId": "1",
"outcomeId": "2",
"specifiers": "hcp=1:0",
"odds": {
"type": "decimal",
"value": "1.48"
}
}
],
"stake": [
{
"type": "cash",
"currency": "EUR",
"amount": "50"
}
]
},
{
"betId": "Ticket_5129_bet1",
"selections": [
{
"type": "uf",
"productId": "3",
"eventId": "sr:season:55413",
"marketId": "534",
"outcomeId": "pre:outcometext:9919",
"specifiers": "variant=pre:markettext:60279",
"odds": {
"type": "decimal",
"value": "1.1"
}
}
],
"stake": [
{
"type": "cash",
"currency": "EUR",
"amount": "10"
}
]
}
],
"context": {
"channel": {
"type": "retail",
"shopId": "shop_789135"
},
"limitId": 1409
}
},
"correlationId": "tD01Nm532",
"timestampUtc": 1679060042000,
"operation": "ticket-placement",
"version": "3.0"
}Ticket Placement Response
{
"content": {
"type": "ticket-reply",
"signature": "JMK9a09B8vVm8tvHk3PPJTjNd0lHRklfh+7rXgQkDtU=",
"status": "accepted",
"ticketId": "Ticket_5129",
"code": 0,
"message": "Transaction processed",
"betDetails": [
{
"betId": "Ticket_5129_bet0",
"selectionDetails": [
{
"selection": {
"type": "external",
"event": "ext:match:736977",
"expSettleTime": 1691581504000,
"outcome": "ext-pre:9985:s77",
"odds": {
"type": "decimal",
"value": "7.1"
}
},
"code": 0,
"message": "Transaction processed"
}
],
"code": 0,
"message": "Transaction processed"
},
{
"betId": "Ticket_5129_bet1",
"selectionDetails": [
{
"selection": {
"type": "uf",
"productId": "3",
"eventId": "sr:season:55413",
"marketId": "534",
"outcomeId": "pre:outcometext:9919",
"specifiers": "variant=pre:markettext:60279",
"odds": {
"type": "decimal",
"value": "1.1"
}
},
"code": 0,
"message": "Transaction processed"
}
],
"code": 0,
"message": "Transaction processed"
}
],
"exchangeRate": [
{
"fromCurrency": "EUR",
"toCurrency": "EUR",
"rate": "1.00000"
},
{
"fromCurrency": "EUR",
"toCurrency": "EUR",
"rate": "1.00000"
}
]
},
"correlationId": "tD01Nm532",
"timestampUtc": 1679060043000,
"operation": "ticket-placement",
"version": "3.0"
}Last updated
Was this helpful?