| All Verbs | /qry/wallet/ssd |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class GetSSDWallet
{
public String deviceId = null;
public String sessionId = null;
public String getDeviceId() { return deviceId; }
public GetSSDWallet setDeviceId(String value) { this.deviceId = value; return this; }
public String getSessionId() { return sessionId; }
public GetSSDWallet setSessionId(String value) { this.sessionId = value; return this; }
}
public static class Wallet
{
public Money balance = null;
public Money getBalance() { return balance; }
public Wallet setBalance(Money value) { this.balance = value; return this; }
}
public static class Money
{
public BigDecimal amount = null;
public String currency = null;
public BigDecimal getAmount() { return amount; }
public Money setAmount(BigDecimal value) { this.amount = value; return this; }
public String getCurrency() { return currency; }
public Money setCurrency(String value) { this.currency = value; return this; }
}
}
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.
POST /qry/wallet/ssd HTTP/1.1
Host: api.sbbet.ath.cx
Accept: application/json
Content-Type: application/json
Content-Length: length
{"deviceId":"String","sessionId":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"balance":{"amount":0,"currency":"String"}}