GET api/winning_numbers/latestPrize/{game}/{prizeValue}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
game

string

Required

prizeValue

string

Required

Body Parameters

None.

Response Information

Resource Description

Prizes
NameDescriptionTypeAdditional information
game

string

None.

draw_date

date

None.

winnings

Collection of Winning

None.

Response Formats

application/json, text/json

Sample:
{
  "game": "sample string 1",
  "draw_date": "2024-12-18T19:46:58.078-04:00",
  "winnings": [
    {
      "amount": 1.1,
      "region": "sample string 2",
      "province": "sample string 3",
      "city": "sample string 4"
    },
    {
      "amount": 1.1,
      "region": "sample string 2",
      "province": "sample string 3",
      "city": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<Prizes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SG.DS.DataContract">
  <draw_date>2024-12-18T19:46:58.0781089-04:00</draw_date>
  <game>sample string 1</game>
  <winnings>
    <Winning>
      <amount>1.1</amount>
      <city>sample string 4</city>
      <province>sample string 3</province>
      <region>sample string 2</region>
    </Winning>
    <Winning>
      <amount>1.1</amount>
      <city>sample string 4</city>
      <province>sample string 3</province>
      <region>sample string 2</region>
    </Winning>
  </winnings>
</Prizes>