GET api/winning_numbers/latestPrize/{prizeValue}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
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-11-04T23:52:53.546-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-11-04T23:52:53.5461205-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>