Multi-event Custom Bet on Soccer with Six Selections
This example is similar to the Single Custom Bet on Soccer with Three Selections, but contains 6 selections that refer to 3 different events.
The overlying uf-custom-bet selection contains the consolidated odds for all six selections, which were 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_948118",
"bets": [
{
"selections": [
{
"type": "uf-custom-bet",
"selections": [
{
"type": "uf",
"productId": "3",
"eventId": "sr:match:63685003",
"marketId": "1",
"outcomeId": "1",
"odds": {
"type": "decimal",
"value": "1.01"
}
},
{
"type": "uf",
"productId": "3",
"eventId": "sr:match:63685003",
"marketId": "18",
"outcomeId": "12",
"specifiers": "total=1.5",
"odds": {
"type": "decimal",
"value": "2.21"
}
},
{
"type": "uf",
"productId": "3",
"eventId": "sr:match:63685003",
"marketId": "18",
"outcomeId": "13",
"specifiers": "total=3.5",
"odds": {
"type": "decimal",
"value": "1.65"
}
},
{
"type": "uf",
"productId": "3",
"eventId": "sr:match:63684439",
"marketId": "90",
"outcomeId": "13",
"specifiers": "total=0.5",
"odds": {
"type": "decimal",
"value": "1.13"
}
},
{
"type": "uf",
"productId": "3",
"eventId": "sr:match:63684439",
"marketId": "65",
"outcomeId": "1711",
"specifiers": "hcp=0:2",
"odds": {
"type": "decimal",
"value": "1.85"
}
},
{
"type": "uf",
"productId": "3",
"eventId": "sr:match:66348362",
"marketId": "65",
"outcomeId": "1711",
"specifiers": "hcp=0:2",
"odds": {
"type": "decimal",
"value": "1.85"
}
}
],
"odds": {
"type": "decimal",
"value": "3.21"
}
}
],
"stake": [
{
"type": "cash",
"currency": "EUR",
"amount": "10"
}
]
}
],
"context": {
"channel": {
"type": "internet",
"ip": "212.9.11.2",
"lang": "EN"
},
"endCustomer": {
"id": "endCustomer_372a54"
},
"limitId": 1409
}
},
"correlationId": "kenZ7241bko96",
"timestampUtc": 1764914327403,
"operation": "ticket-placement",
"version": "3.0"
}Ticket Placement Response
{
"content": {
"type": "ticket-reply",
"message": "Transaction processed",
"code": 0,
"signature": "5X0JcVzrXhLrfdEuvGoG5Rt0M7G4NIET0KH7ErvoP9Sjt5v5/gLD5/luk+m+bkbUpdE0PYFyuEnlFQ+v",
"ticketId": "Ticket_948118",
"status": "accepted",
"betDetails": [
{
"code": 0,
"message": "Transaction processed",
"betId": "",
"selectionDetails": [
{
"code": 0,
"message": "Transaction processed",
"selection": {
"type": "uf",
"productId": "3",
"eventId": "sr:match:63685003",
"marketId": "1",
"specifiers": "",
"outcomeId": "1",
"odds": {
"type": "decimal",
"value": "1.01"
}
}
},
{
"code": 0,
"message": "Transaction processed",
"selection": {
"type": "uf",
"productId": "3",
"eventId": "sr:match:63685003",
"marketId": "18",
"specifiers": "total=1.5",
"outcomeId": "12",
"odds": {
"type": "decimal",
"value": "2.21"
}
}
},
{
"code": 0,
"message": "Transaction processed",
"selection": {
"type": "uf",
"productId": "3",
"eventId": "sr:match:63685003",
"marketId": "18",
"specifiers": "total=3.5",
"outcomeId": "13",
"odds": {
"type": "decimal",
"value": "1.65"
}
}
},
{
"code": 0,
"message": "Transaction processed",
"selection": {
"type": "uf",
"productId": "3",
"eventId": "sr:match:63684439",
"marketId": "90",
"specifiers": "total=0.5",
"outcomeId": "13",
"odds": {
"type": "decimal",
"value": "1.13"
}
}
},
{
"code": 0,
"message": "Transaction processed",
"selection": {
"type": "uf",
"productId": "3",
"eventId": "sr:match:63684439",
"marketId": "65",
"specifiers": "hcp=0:2",
"outcomeId": "1711",
"odds": {
"type": "decimal",
"value": "1.85"
}
}
},
{
"code": 0,
"message": "Transaction processed",
"selection": {
"type": "uf",
"productId": "3",
"eventId": "sr:match:66348362",
"marketId": "65",
"specifiers": "hcp=0:2",
"outcomeId": "1711",
"odds": {
"type": "decimal",
"value": "1.85"
}
}
}
]
}
],
"exchangeRate": [
{
"fromCurrency": "EUR",
"toCurrency": "EUR",
"rate": "1.00000000"
}
]
},
"correlationId": "kenZ7241bko96",
"timestampUtc": 1764914328422,
"operation": "ticket-placement",
"version": "3.0"
}Last updated
Was this helpful?