Six4Win.WebApi

<back to all web services

GetLocationFeed

The following routes are available for this service:
All Verbs/qry/feed/locations
GetLocationFeed Parameters:
NameParameterData TypeRequiredDescription
IdquerystringNo
LocationFeed Parameters:
NameParameterData TypeRequiredDescription
ExistsformboolNo
IdformstringNo
LCPInfoformLocalCodePotInfoNo
LocalCodePotInfo Parameters:
NameParameterData TypeRequiredDescription
IsActiveformboolNo
CurrentformCurrentRoundInfoNo
WinnersformList<Winner>No
CurrentRoundInfo Parameters:
NameParameterData TypeRequiredDescription
RoundIdformstringNo
AmountformdecimalNo
InertCodeformstringNo
Winner Parameters:
NameParameterData TypeRequiredDescription
RoundIdformstringNo
SlipIdformstringNo
BetIdformstringNo
CodeformstringNo
AmountformdecimalNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /qry/feed/locations HTTP/1.1 
Host: s4w2.api.bengabet.webhop.biz 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"id":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"exists":false,"id":"String","lcpInfo":{"isActive":false,"current":{"roundId":"String","amount":0,"inertCode":"String"},"winners":[{"roundId":"String","slipId":"String","betId":"String","code":"String","amount":0}]}}