Betting.WebApi

<back to all web services

RedirectToProductInstanceApp

The following routes are available for this service:
GET/qry/game
import 'package:servicestack/servicestack.dart';

class RedirectToProductInstanceApp implements IConvertible
{
    String? gameId;
    bool? isKiosk;
    String? clientType;

    RedirectToProductInstanceApp({this.gameId,this.isKiosk,this.clientType});
    RedirectToProductInstanceApp.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        gameId = json['gameId'];
        isKiosk = json['isKiosk'];
        clientType = json['clientType'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'gameId': gameId,
        'isKiosk': isKiosk,
        'clientType': clientType
    };

    getTypeName() => "RedirectToProductInstanceApp";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'api.sbbet.ath.cx', types: <String, TypeInfo> {
    'RedirectToProductInstanceApp': TypeInfo(TypeOf.Class, create:() => RedirectToProductInstanceApp()),
});

Dart RedirectToProductInstanceApp DTOs

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

HTTP + JSV

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

GET /qry/game HTTP/1.1 
Host: api.sbbet.ath.cx 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	
}