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 .xml suffix or ?format=xml

HTTP + XML

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

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

<GetSystemInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Voice.Api" />
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<SystemInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Voice.Api">
  <IsDevEnvironment>false</IsDevEnvironment>
  <SipOriginationUrl>String</SipOriginationUrl>
  <TwilioCallbackBaseUrl>String</TwilioCallbackBaseUrl>
  <TwilioCallbackUrl>String</TwilioCallbackUrl>
  <TwilioFallbackBaseUrl>String</TwilioFallbackBaseUrl>
  <Version>String</Version>
</SystemInfo>