TicketUserServices

<back to all web services

SystemInfoRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequires the permission:ReadData
The following routes are available for this service:
GET POST/system/info
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class SystemInfoRequest
    {
        public String phoneFullNumber = null;
        public String deviceId = null;
        public Long requestUnixUTCTimeStamp = null;
        public RequestSignature signature = null;
        
        public String getPhoneFullNumber() { return phoneFullNumber; }
        public SystemInfoRequest setPhoneFullNumber(String value) { this.phoneFullNumber = value; return this; }
        public String getDeviceId() { return deviceId; }
        public SystemInfoRequest setDeviceId(String value) { this.deviceId = value; return this; }
        public Long getRequestUnixUTCTimeStamp() { return requestUnixUTCTimeStamp; }
        public SystemInfoRequest setRequestUnixUTCTimeStamp(Long value) { this.requestUnixUTCTimeStamp = value; return this; }
        public RequestSignature getSignature() { return signature; }
        public SystemInfoRequest setSignature(RequestSignature value) { this.signature = value; return this; }
    }

    public static class RequestSignature
    {
        public String systemId = null;
        public String systemSecret = null;
        public String signature = null;
        
        public String getSystemId() { return systemId; }
        public RequestSignature setSystemId(String value) { this.systemId = value; return this; }
        public String getSystemSecret() { return systemSecret; }
        public RequestSignature setSystemSecret(String value) { this.systemSecret = value; return this; }
        public String getSignature() { return signature; }
        public RequestSignature setSignature(String value) { this.signature = value; return this; }
    }

    public static class SystemInfo
    {
        public String redirectTo = null;
        public Boolean acceptingPayments = null;
        public Boolean canSaveCard = null;
        public String errorResponse = null;
        public Integer minVersion = null;
        
        public String getRedirectTo() { return redirectTo; }
        public SystemInfo setRedirectTo(String value) { this.redirectTo = value; return this; }
        public Boolean isAcceptingPayments() { return acceptingPayments; }
        public SystemInfo setAcceptingPayments(Boolean value) { this.acceptingPayments = value; return this; }
        public Boolean isCanSaveCard() { return canSaveCard; }
        public SystemInfo setCanSaveCard(Boolean value) { this.canSaveCard = value; return this; }
        public String getErrorResponse() { return errorResponse; }
        public SystemInfo setErrorResponse(String value) { this.errorResponse = value; return this; }
        public Integer getMinVersion() { return minVersion; }
        public SystemInfo setMinVersion(Integer value) { this.minVersion = value; return this; }
    }

}

Java SystemInfoRequest DTOs

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

HTTP + JSON

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

POST /system/info HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"phoneFullNumber":"String","deviceId":"String","requestUnixUTCTimeStamp":0,"signature":{"systemId":"String","systemSecret":"String","signature":"String"}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"redirectTo":"String","acceptingPayments":false,"canSaveCard":false,"errorResponse":"String","minVersion":0}