> For the complete documentation index, see [llms.txt](https://docs.sportradar.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sportradar.com/mts/transaction-3.0-api/mts-related-transaction-examples/bet-types-examples-singles-accumulators-custom-bets.../system-bet-2-4-including-multiple-custom-bets.md).

# 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).

<details>

<summary><strong>Ticket Placement Request</strong></summary>

```json
{
  "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"
}
```

</details>

<details>

<summary><strong>Ticket Placement Response</strong></summary>

```json
{
  "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"
}
```

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sportradar.com/mts/transaction-3.0-api/mts-related-transaction-examples/bet-types-examples-singles-accumulators-custom-bets.../system-bet-2-4-including-multiple-custom-bets.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
