| All Verbs | /cmd/integrations/sync/ssd |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class SyncPartnerSelfServiceDevice
{
public String id = null;
public String deviceWalletId = null;
public String deviceId = null;
public String sessionId = null;
public DeviceType deviceType = null;
public String getId() { return id; }
public SyncPartnerSelfServiceDevice setId(String value) { this.id = value; return this; }
public String getDeviceWalletId() { return deviceWalletId; }
public SyncPartnerSelfServiceDevice setDeviceWalletId(String value) { this.deviceWalletId = value; return this; }
public String getDeviceId() { return deviceId; }
public SyncPartnerSelfServiceDevice setDeviceId(String value) { this.deviceId = value; return this; }
public String getSessionId() { return sessionId; }
public SyncPartnerSelfServiceDevice setSessionId(String value) { this.sessionId = value; return this; }
public DeviceType getDeviceType() { return deviceType; }
public SyncPartnerSelfServiceDevice setDeviceType(DeviceType value) { this.deviceType = value; return this; }
}
public static enum DeviceType
{
@SerializedName("0") ClerkServicedKiosk(0),
@SerializedName("1") PersonalOnline(1),
@SerializedName("2") SelfServiceKiosk(2),
@SerializedName("-1") Unknown(-1);
private final int value;
DeviceType(final int intValue) { value = intValue; }
public int getValue() { return value; }
}
}
Java SyncPartnerSelfServiceDevice DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /cmd/integrations/sync/ssd HTTP/1.1
Host: api.sbbet.ath.cx
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"id":"String","deviceWalletId":"String","deviceId":"String","sessionId":"String","deviceType":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}