System Bet 2/4 Including Multiple Custom Bets
This example contains a system bet of two selections and two Custom bet selections.
The uf-custom-bet selections contain the consolidated odds for all included selections, which have been previously fetched from UOF. The ticket contains only one bet (the Bets array length = 1).
Ticket Placement Request
{
"operatorId": 9985,
"content": {
"type": "ticket",
"ticketId": "Ticket_355333",
"bets": [
{
"selections": [
{
"type": "system",
"size": [
2
],
"selections": [
{
"type": "uf",
"productId": "3",
"eventId": "sr:match:62228494",
"marketId": "1",
"outcomeId": "1",
"odds": {
"type": "decimal",
"value": "2.00"
}
},
{
"type": "uf",
"productId": "3",
"eventId": "sr:match:68423766",
"marketId": "1",
"outcomeId": "3",
"odds": {
"type": "decimal",
"value": "1.68"
}
},
{
"type": "uf-custom-bet",
"selections": [
{
"type": "uf",
"productId": "3",
"eventId": "sr:match:61301009",
"marketId": "65",
"outcomeId": "1711",
"specifiers": "hcp=0:2",
"odds": {
"type": "decimal",
"value": "1.50"
}
},
{
"type": "uf",
"productId": "3",
"eventId": "sr:match:61301009",
"marketId": "18",
"outcomeId": "12",
"specifiers": "total=1.5",
"odds": {
"type": "decimal",
"value": "2.14"
}
},
{
"type": "uf",
"productId": "3",
"eventId": "sr:match:61301009",
"marketId": "1",
"outcomeId": "3",
"odds": {
"type": "decimal",
"value": "1.14"
}
}
],
"odds": {
"type": "decimal",
"value": "2.56"
}
},
{
"type": "uf-custom-bet",
"selections": [
{
"type": "uf",
"productId": "3",
"eventId": "sr:match:61491027",
"marketId": "26",
"outcomeId": "70",
"odds": {
"type": "decimal",
"value": "1.01"
}
},
{
"type": "uf",
"productId": "3",
"eventId": "sr:match:61491027",
"marketId": "77",
"outcomeId": "74",
"odds": {
"type": "decimal",
"value": "2.14"
}
},
{
"type": "uf",
"productId": "3",
"eventId": "sr:match:61493459",
"marketId": "27",
"outcomeId": "70",
"odds": {
"type": "decimal",
"value": "1.16"
}
}
],
"odds": {
"type": "decimal",
"value": "2.40"
}
}
]
}
],
"stake": [
{
"type": "cash",
"currency": "EUR",
"amount": "10"
}
],
"context": {
"oddsChange": "any"
}
}
],
"context": {
"channel": {
"type": "internet",
"ip": "212.9.11.2",
"lang": "EN"
},
"endCustomer": {
"id": "endCustomer_384d54"
},
"limitId": 1409
}
},
"correlationId": "Jem6q310lq7",
"timestampUtc": 1770270348391,
"operation": "ticket-placement",
"version": "3.0"
}Ticket Placement Response
{
"content": {
"type": "ticket-reply",
"message": "Transaction processed",
"code": 0,
"signature": "PEO761f/iCw4ln0WeGVabxe9UZyWgKFyYam5h90yL4BE7aGHmwN7UvO7lKHpos2qD4m3YzBetbkATm5p",
"ticketId": "Ticket_355333",
"status": "accepted",
"betDetails": [
{
"code": 0,
"message": "Transaction processed",
"betId": "",
"selectionDetails": [
{
"code": 0,
"message": "Transaction processed",
"selection": {
"type": "uf",
"productId": "3",
"eventId": "sr:match:62228494",
"marketId": "1",
"outcomeId": "1",
"specifiers": "",
"odds": {
"type": "decimal",
"value": "2.00"
}
}
},
{
"code": 0,
"message": "Transaction processed",
"selection": {
"type": "uf",
"productId": "3",
"eventId": "sr:match:68423766",
"marketId": "1",
"outcomeId": "3",
"specifiers": "",
"odds": {
"type": "decimal",
"value": "1.68"
}
}
},
{
"code": 0,
"message": "Transaction processed",
"selection": {
"type": "uf-custom-bet",
"selections": [
{
"type": "uf",
"productId": "3",
"eventId": "sr:match:61301009",
"marketId": "65",
"outcomeId": "1711",
"specifiers": "hcp=0:2",
"odds": {
"type": "decimal",
"value": "1.50"
}
},
{
"type": "uf",
"productId": "3",
"eventId": "sr:match:61301009",
"marketId": "18",
"outcomeId": "12",
"specifiers": "total=1.5",
"odds": {
"type": "decimal",
"value": "2.14"
}
},
{
"type": "uf",
"productId": "3",
"eventId": "sr:match:61301009",
"marketId": "1",
"outcomeId": "3",
"specifiers": "",
"odds": {
"type": "decimal",
"value": "1.14"
}
}
],
"odds": {
"type": "decimal",
"value": "2.56"
},
"useHarmOdds": false,
"harmOddsApplied": false
}
},
{
"code": 0,
"message": "Transaction processed",
"selection": {
"type": "uf-custom-bet",
"selections": [
{
"type": "uf",
"productId": "3",
"eventId": "sr:match:61491027",
"marketId": "26",
"outcomeId": "70",
"specifiers": "",
"odds": {
"type": "decimal",
"value": "1.01"
}
},
{
"type": "uf",
"productId": "3",
"eventId": "sr:match:61491027",
"marketId": "77",
"outcomeId": "74",
"specifiers": "",
"odds": {
"type": "decimal",
"value": "2.14"
}
},
{
"type": "uf",
"productId": "3",
"eventId": "sr:match:61493459",
"marketId": "27",
"outcomeId": "70",
"specifiers": "",
"odds": {
"type": "decimal",
"value": "1.16"
}
}
],
"odds": {
"type": "decimal",
"value": "2.40"
},
"useHarmOdds": false,
"harmOddsApplied": false
}
}
]
}
],
"exchangeRate": [
{
"fromCurrency": "EUR",
"toCurrency": "EUR",
"rate": "1.00000000"
}
]
},
"correlationId": "Jem6q310lq7",
"timestampUtc": 1770270349375,
"operation": "ticket-placement",
"version": "3.0"
}Last updated
Was this helpful?