🚀 Public API
Home preview lista endpointa (routes + primeri + očekivani parametri).
Returns content of ~/GameList.json as JSON.
- 404 if
GameList.jsonnot found - 500 on server error
Game + ticket info (renders MVC view). Returns Error view if ticket not found.
/GetGameInfo/200/125087
- gameId (int)
- ticketId (string)
Launch game request (reads JSON from request body, validates, processes & inserts to DB).
ParseLaunchRequest and validated by
ValidateLaunchRequest.
- Returns
WRONG_INPUT_PARAMETERSif body cannot be deserialized - Returns validation JSON if validation fails
- Returns
DB_ERRORif DB insert fails
Company jackpots info.
/GetCompanyJackpots/1
/GetCompanyJackpots/5?currency=USD
- companyId (int, must be > 0)
- currency (query string, default: EUR)
Game jackpots info.
/Jackpots/101/1/EUR
/Jackpots/102/5/USD
- GameID (int)
- CompanyID (int, default: 0)
- Currency (string, default: EUR)
Returns jackpots for company in selected currency (JSON).
/GetJackpots/5/EUR
- companyId (int)
- currency (string, default: EUR in action signature)
Returns all user tickets for specific game round (renders MVC view based on gameId).
/GetUserTicketsInRound/101/20240224001/12345
- gameId (int)
- roundId (long)
- userId (string)
- Supported gameIds in code:
101(Rocketman),111(Soaring) - Returns Error view if no tickets or unsupported gameId
Slot spin preview info (reads raw JSON body, returns JSON with camelCase).
GetSlotSpinPreviewRequest.
- 400:
INVALID_JSONorBAD_REQUEST - 500:
SERVER_ERROR
Demo slot spin preview.
DemoSpinRequest
- Service returns spin result payload
- HTTP status code is set from service result
- Response body: JSON payload