| GET | /qry/recentJackpotWinners |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
import com.google.gson.annotations.*
import com.google.gson.reflect.*
open class GetRecentJackpotWinners
{
}
open class RecentJackpot5Winners
{
open var id:String? = null
open var recentWinners:ArrayList<RecentJackpot5Winner>? = null
}
open class RecentJackpot5Winner
{
open var slipId:String? = null
open var betId:String? = null
open var winningsAmount:BigDecimal? = null
open var origin:Origin? = null
open var placedAt:Date? = null
open var payload:HashMap<String,String>? = null
open var results:String? = null
open var bettor:Ref? = null
open var roundId:String? = null
}
open class Origin
{
open var application:BettingApp? = null
open var ip:String? = null
open var organization:RefEx? = null
open var region:Ref? = null
open var locationGroup:Ref? = null
open var location:RefEx? = null
open var device:RefEx? = null
open var clerk:Ref? = null
}
open class BettingApp
{
open var name:String? = null
open var version:String? = null
}
open class RefEx : Ref()
{
@SerializedName("data") open var Data:RecordDictionary<String, String>? = null
}
open class Ref
{
open var id:String? = null
@SerializedName("val") open var Val:String? = null
}
open class RecordDictionary<TKey, TVal> : HashMap<TKey,TVal>()
{
}
Kotlin GetRecentJackpotWinners DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /qry/recentJackpotWinners HTTP/1.1 Host: s4w2.api.bettor.cc Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"id":"RecentJackpotWinners-1","recentWinners":[]}