GET api/RandomMatches/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of FinalTicket
NameDescriptionTypeAdditional information
DateAndTime

date

None.

SportName

string

None.

LeagueName

string

None.

Home

string

None.

Away

string

None.

Tip

string

None.

Odds

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DateAndTime": "2024-06-16T10:46:57.9092341-07:00",
    "SportName": "sample string 1",
    "LeagueName": "sample string 2",
    "Home": "sample string 3",
    "Away": "sample string 4",
    "Tip": "sample string 5",
    "Odds": 1.0
  },
  {
    "DateAndTime": "2024-06-16T10:46:57.9092341-07:00",
    "SportName": "sample string 1",
    "LeagueName": "sample string 2",
    "Home": "sample string 3",
    "Away": "sample string 4",
    "Tip": "sample string 5",
    "Odds": 1.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfFinalTicket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BetonWebSite.Models">
  <FinalTicket>
    <Away>sample string 4</Away>
    <DateAndTime>2024-06-16T10:46:57.9092341-07:00</DateAndTime>
    <Home>sample string 3</Home>
    <LeagueName>sample string 2</LeagueName>
    <Odds>1</Odds>
    <SportName>sample string 1</SportName>
    <Tip>sample string 5</Tip>
  </FinalTicket>
  <FinalTicket>
    <Away>sample string 4</Away>
    <DateAndTime>2024-06-16T10:46:57.9092341-07:00</DateAndTime>
    <Home>sample string 3</Home>
    <LeagueName>sample string 2</LeagueName>
    <Odds>1</Odds>
    <SportName>sample string 1</SportName>
    <Tip>sample string 5</Tip>
  </FinalTicket>
</ArrayOfFinalTicket>