Evo Voice

<back to all web services

GetSystemInfo

import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class GetSystemInfo
    {
        
    }

    public static class SystemInfo
    {
        public String version = null;
        public String twilioFallbackBaseUrl = null;
        public String twilioCallbackUrl = null;
        public String twilioCallbackBaseUrl = null;
        public String sipOriginationUrl = null;
        public Boolean isDevEnvironment = null;
        
        public String getVersion() { return version; }
        public SystemInfo setVersion(String value) { this.version = value; return this; }
        public String getTwilioFallbackBaseUrl() { return twilioFallbackBaseUrl; }
        public SystemInfo setTwilioFallbackBaseUrl(String value) { this.twilioFallbackBaseUrl = value; return this; }
        public String getTwilioCallbackUrl() { return twilioCallbackUrl; }
        public SystemInfo setTwilioCallbackUrl(String value) { this.twilioCallbackUrl = value; return this; }
        public String getTwilioCallbackBaseUrl() { return twilioCallbackBaseUrl; }
        public SystemInfo setTwilioCallbackBaseUrl(String value) { this.twilioCallbackBaseUrl = value; return this; }
        public String getSipOriginationUrl() { return sipOriginationUrl; }
        public SystemInfo setSipOriginationUrl(String value) { this.sipOriginationUrl = value; return this; }
        public Boolean getIsDevEnvironment() { return isDevEnvironment; }
        public SystemInfo setIsDevEnvironment(Boolean value) { this.isDevEnvironment = value; return this; }
    }

}

Java GetSystemInfo 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 /json/reply/GetSystemInfo HTTP/1.1 
Host: evovoice.io 
Accept: application/json
Content-Type: application/json
Content-Length: length

{}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"version":"String","twilioFallbackBaseUrl":"String","twilioCallbackUrl":"String","twilioCallbackBaseUrl":"String","sipOriginationUrl":"String","isDevEnvironment":false}