System Bet 2/3 Including 1 Custom Bet

This is a system 2/3 bet example including 1 custom bet. The bet consists of one selection of type "system" which has 3 nested selections. The value of an element in the Size array specifies the number of combinations that should be used in the system (size = 2 in this example). One of the nested selections is of type "uf-custom-bet" (which contains its own nested "uf" selections and consolidated odds). The ticket contains only one bet (the Bets array length = 1).

Ticket Placement Request
{
  "operatorId": 9985,
  "content": {
    "type": "ticket",
    "ticketId": "Ticket_871535",
    "bets": [
      {
        "selections": [
          {
            "type": "system",
            "size": [
              2
            ],
            "selections": [
              {
                "type": "uf",
                "productId": "3",
                "eventId": "sr:match:62272348",
                "marketId": "66",
                "outcomeId": "1714",
                "specifiers": "hcp=-2.5",
                "odds": {
                  "type": "decimal",
                  "value": "1.54"
                }
              },
              {
                "type": "uf",
                "productId": "3",
                "eventId": "sr:match:62158798",
                "marketId": "45",
                "outcomeId": "308",
                "odds": {
                  "type": "decimal",
                  "value": "26.16"
                }
              },
              {
                "type": "uf-custom-bet",
                "selections": [
                  {
                    "type": "uf",
                    "productId": "3",
                    "eventId": "sr:match:61300815",
                    "marketId": "1",
                    "outcomeId": "1",
                    "odds": {
                      "type": "decimal",
                      "value": "1.01"
                    }
                  },
                  {
                    "type": "uf",
                    "productId": "3",
                    "eventId": "sr:match:61300815",
                    "marketId": "18",
                    "outcomeId": "12",
                    "specifiers": "total=0.5",
                    "odds": {
                      "type": "decimal",
                      "value": "2.21"
                    }
                  },
                  {
                    "type": "uf",
                    "productId": "3",
                    "eventId": "sr:match:61300815",
                    "marketId": "65",
                    "outcomeId": "1711",
                    "specifiers": "hcp=0:1",
                    "odds": {
                      "type": "decimal",
                      "value": "1.65"
                    }
                  }
                ],
                "odds": {
                  "type": "decimal",
                  "value": "2.56"
                }
              }
            ]
          }
        ],
        "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": 111,
  "operation": "ticket-placement",
  "version": "3.0"
}
Ticket Placement Response
{
  "content": {
    "type": "ticket-reply",
    "message": "Transaction processed",
    "code": 0,
    "signature": "7z40zmpvKXxPA5lG5C8vJ4rWJMlhR7/IcTi5Z9BWZiyIhi2zYiKCrZ1vvW5mdJTVtjTtOWf1TkAn/EZa",
    "ticketId": "Ticket_871535",
    "status": "accepted",
    "betDetails": [
      {
        "code": 0,
        "message": "Transaction processed",
        "betId": "",
        "selectionDetails": [
          {
            "code": 0,
            "message": "Transaction processed",
            "selection": {
              "type": "uf",
              "productId": "3",
              "eventId": "sr:match:62272348",
              "marketId": "66",
              "outcomeId": "1714",
              "specifiers": "hcp=-2.5",
              "odds": {
                "type": "decimal",
                "value": "1.54"
              }
            },
            "autoAcceptedOdds": {
              "type": "decimal",
              "value": "2.1"
            }
          },
          {
            "code": 0,
            "message": "Transaction processed",
            "selection": {
              "type": "uf",
              "productId": "3",
              "eventId": "sr:match:62158798",
              "marketId": "45",
              "outcomeId": "308",
              "specifiers": "",
              "odds": {
                "type": "decimal",
                "value": "26.16"
              }
            },
            "autoAcceptedOdds": {
              "type": "decimal",
              "value": "32.7"
            }
          },
          {
            "code": 0,
            "message": "Transaction processed",
            "selection": {
              "type": "uf",
              "productId": "3",
              "eventId": "sr:match:61300815",
              "marketId": "1",
              "outcomeId": "1",
              "specifiers": "",
              "odds": {
                "type": "decimal",
                "value": "1.01"
              }
            }
          },
          {
            "code": 0,
            "message": "Transaction processed",
            "selection": {
              "type": "uf",
              "productId": "3",
              "eventId": "sr:match:61300815",
              "marketId": "18",
              "outcomeId": "12",
              "specifiers": "total=0.5",
              "odds": {
                "type": "decimal",
                "value": "2.21"
              }
            }
          },
          {
            "code": 0,
            "message": "Transaction processed",
            "selection": {
              "type": "uf",
              "productId": "3",
              "eventId": "sr:match:61300815",
              "marketId": "65",
              "outcomeId": "1711",
              "specifiers": "hcp=0:1",
              "odds": {
                "type": "decimal",
                "value": "1.65"
              }
            }
          }
        ]
      }
    ],
    "exchangeRate": [
      {
        "fromCurrency": "EUR",
        "toCurrency": "EUR",
        "rate": "1.00000000"
      }
    ]
  },
  "correlationId": "Jem6q310lq7",
  "timestampUtc": 1765536661814,
  "operation": "ticket-placement",
  "version": "3.0"
}

Last updated

Was this helpful?