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 .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.

POST /jsv/reply/GetSystemInfo HTTP/1.1 
Host: evovoice.io 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	version: String,
	twilioFallbackBaseUrl: String,
	twilioCallbackUrl: String,
	twilioCallbackBaseUrl: String,
	sipOriginationUrl: String,
	isDevEnvironment: False
}