import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class GetApplicationInfo
{
public Boolean IncludeModules = null;
public Boolean IncludeOfficeAddins = null;
public Boolean isIncludeModules() { return IncludeModules; }
public GetApplicationInfo setIncludeModules(Boolean value) { this.IncludeModules = value; return this; }
public Boolean isIncludeOfficeAddins() { return IncludeOfficeAddins; }
public GetApplicationInfo setIncludeOfficeAddins(Boolean value) { this.IncludeOfficeAddins = value; return this; }
}
public static class ApplicationInfo
{
public String ApplicationName = null;
public String Version = null;
public String VersionGateway = null;
public String Environment = null;
public String MachineName = null;
public String CustomerCode = null;
public String CustomerBrandCode = null;
public String DatabaseName = null;
public String DatabaseVersion = null;
public String DatabaseServer = null;
public String UserName = null;
public String UserLoginName = null;
public ArrayList<ModuleInformation> ModulesInformation = null;
public String WebsiteIntranetUrl = null;
public Boolean IDBOpties = null;
public String OnPremisesUrl = null;
public String OnLineUrl = null;
public Boolean IsApiGateway = null;
public Boolean HasCRMModuleActive = null;
public Boolean HasExtranetModuleActive = null;
public Boolean HasHuisstijlMOModuleActive = null;
public Boolean HasDigitaalOndertekenenModuleActive = null;
public Boolean HasDOVoorWordHuisstijl = null;
public Boolean HasDOVoorWordRegistreren = null;
public Boolean HasDOVoorExcelHuisstijl = null;
public Boolean HasDOVoorExcelRegistreren = null;
public Boolean HasDOVoorPowerPointHuisstijl = null;
public Boolean HasDOVoorPowerPointRegistreren = null;
public Boolean HasDOVoorOutlookHuisstijl = null;
public Boolean HasDOVoorOutlookRegistreren = null;
public String getApplicationName() { return ApplicationName; }
public ApplicationInfo setApplicationName(String value) { this.ApplicationName = value; return this; }
public String getVersion() { return Version; }
public ApplicationInfo setVersion(String value) { this.Version = value; return this; }
public String getVersionGateway() { return VersionGateway; }
public ApplicationInfo setVersionGateway(String value) { this.VersionGateway = value; return this; }
public String getEnvironment() { return Environment; }
public ApplicationInfo setEnvironment(String value) { this.Environment = value; return this; }
public String getMachineName() { return MachineName; }
public ApplicationInfo setMachineName(String value) { this.MachineName = value; return this; }
public String getCustomerCode() { return CustomerCode; }
public ApplicationInfo setCustomerCode(String value) { this.CustomerCode = value; return this; }
public String getCustomerBrandCode() { return CustomerBrandCode; }
public ApplicationInfo setCustomerBrandCode(String value) { this.CustomerBrandCode = value; return this; }
public String getDatabaseName() { return DatabaseName; }
public ApplicationInfo setDatabaseName(String value) { this.DatabaseName = value; return this; }
public String getDatabaseVersion() { return DatabaseVersion; }
public ApplicationInfo setDatabaseVersion(String value) { this.DatabaseVersion = value; return this; }
public String getDatabaseServer() { return DatabaseServer; }
public ApplicationInfo setDatabaseServer(String value) { this.DatabaseServer = value; return this; }
public String getUserName() { return UserName; }
public ApplicationInfo setUserName(String value) { this.UserName = value; return this; }
public String getUserLoginName() { return UserLoginName; }
public ApplicationInfo setUserLoginName(String value) { this.UserLoginName = value; return this; }
public ArrayList<ModuleInformation> getModulesInformation() { return ModulesInformation; }
public ApplicationInfo setModulesInformation(ArrayList<ModuleInformation> value) { this.ModulesInformation = value; return this; }
public String getWebsiteIntranetUrl() { return WebsiteIntranetUrl; }
public ApplicationInfo setWebsiteIntranetUrl(String value) { this.WebsiteIntranetUrl = value; return this; }
public Boolean isIdbOpties() { return IDBOpties; }
public ApplicationInfo setIdbOpties(Boolean value) { this.IDBOpties = value; return this; }
public String getOnPremisesUrl() { return OnPremisesUrl; }
public ApplicationInfo setOnPremisesUrl(String value) { this.OnPremisesUrl = value; return this; }
public String getOnLineUrl() { return OnLineUrl; }
public ApplicationInfo setOnLineUrl(String value) { this.OnLineUrl = value; return this; }
public Boolean getIsApiGateway() { return IsApiGateway; }
public ApplicationInfo setIsApiGateway(Boolean value) { this.IsApiGateway = value; return this; }
public Boolean isHasCRMModuleActive() { return HasCRMModuleActive; }
public ApplicationInfo setHasCRMModuleActive(Boolean value) { this.HasCRMModuleActive = value; return this; }
public Boolean isHasExtranetModuleActive() { return HasExtranetModuleActive; }
public ApplicationInfo setHasExtranetModuleActive(Boolean value) { this.HasExtranetModuleActive = value; return this; }
public Boolean isHasHuisstijlMOModuleActive() { return HasHuisstijlMOModuleActive; }
public ApplicationInfo setHasHuisstijlMOModuleActive(Boolean value) { this.HasHuisstijlMOModuleActive = value; return this; }
public Boolean isHasDigitaalOndertekenenModuleActive() { return HasDigitaalOndertekenenModuleActive; }
public ApplicationInfo setHasDigitaalOndertekenenModuleActive(Boolean value) { this.HasDigitaalOndertekenenModuleActive = value; return this; }
public Boolean isHasDOVoorWordHuisstijl() { return HasDOVoorWordHuisstijl; }
public ApplicationInfo setHasDOVoorWordHuisstijl(Boolean value) { this.HasDOVoorWordHuisstijl = value; return this; }
public Boolean isHasDOVoorWordRegistreren() { return HasDOVoorWordRegistreren; }
public ApplicationInfo setHasDOVoorWordRegistreren(Boolean value) { this.HasDOVoorWordRegistreren = value; return this; }
public Boolean isHasDOVoorExcelHuisstijl() { return HasDOVoorExcelHuisstijl; }
public ApplicationInfo setHasDOVoorExcelHuisstijl(Boolean value) { this.HasDOVoorExcelHuisstijl = value; return this; }
public Boolean isHasDOVoorExcelRegistreren() { return HasDOVoorExcelRegistreren; }
public ApplicationInfo setHasDOVoorExcelRegistreren(Boolean value) { this.HasDOVoorExcelRegistreren = value; return this; }
public Boolean isHasDOVoorPowerPointHuisstijl() { return HasDOVoorPowerPointHuisstijl; }
public ApplicationInfo setHasDOVoorPowerPointHuisstijl(Boolean value) { this.HasDOVoorPowerPointHuisstijl = value; return this; }
public Boolean isHasDOVoorPowerPointRegistreren() { return HasDOVoorPowerPointRegistreren; }
public ApplicationInfo setHasDOVoorPowerPointRegistreren(Boolean value) { this.HasDOVoorPowerPointRegistreren = value; return this; }
public Boolean isHasDOVoorOutlookHuisstijl() { return HasDOVoorOutlookHuisstijl; }
public ApplicationInfo setHasDOVoorOutlookHuisstijl(Boolean value) { this.HasDOVoorOutlookHuisstijl = value; return this; }
public Boolean isHasDOVoorOutlookRegistreren() { return HasDOVoorOutlookRegistreren; }
public ApplicationInfo setHasDOVoorOutlookRegistreren(Boolean value) { this.HasDOVoorOutlookRegistreren = value; return this; }
}
public static class ModuleInformation
{
public String ModuleName = null;
public String ModuleVersion = null;
public Date ModuleDate = null;
public String getModuleName() { return ModuleName; }
public ModuleInformation setModuleName(String value) { this.ModuleName = value; return this; }
public String getModuleVersion() { return ModuleVersion; }
public ModuleInformation setModuleVersion(String value) { this.ModuleVersion = value; return this; }
public Date getModuleDate() { return ModuleDate; }
public ModuleInformation setModuleDate(Date value) { this.ModuleDate = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/reply/GetApplicationInfo HTTP/1.1
Host: doapigw.baasbv.nl
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<GetApplicationInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IDB.Diagnostics.DTO">
<IncludeModules>false</IncludeModules>
<IncludeOfficeAddins>false</IncludeOfficeAddins>
</GetApplicationInfo>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ApplicationInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IDB.Diagnostics.DTO">
<ApplicationName>String</ApplicationName>
<CustomerBrandCode>String</CustomerBrandCode>
<CustomerCode>String</CustomerCode>
<DatabaseName>String</DatabaseName>
<DatabaseServer>String</DatabaseServer>
<DatabaseVersion>String</DatabaseVersion>
<Environment>String</Environment>
<HasCRMModuleActive>false</HasCRMModuleActive>
<HasDOVoorExcelHuisstijl>false</HasDOVoorExcelHuisstijl>
<HasDOVoorExcelRegistreren>false</HasDOVoorExcelRegistreren>
<HasDOVoorOutlookHuisstijl>false</HasDOVoorOutlookHuisstijl>
<HasDOVoorOutlookRegistreren>false</HasDOVoorOutlookRegistreren>
<HasDOVoorPowerPointHuisstijl>false</HasDOVoorPowerPointHuisstijl>
<HasDOVoorPowerPointRegistreren>false</HasDOVoorPowerPointRegistreren>
<HasDOVoorWordHuisstijl>false</HasDOVoorWordHuisstijl>
<HasDOVoorWordRegistreren>false</HasDOVoorWordRegistreren>
<HasDigitaalOndertekenenModuleActive>false</HasDigitaalOndertekenenModuleActive>
<HasExtranetModuleActive>false</HasExtranetModuleActive>
<HasHuisstijlMOModuleActive>false</HasHuisstijlMOModuleActive>
<IDBOpties>false</IDBOpties>
<IsApiGateway>false</IsApiGateway>
<IsEmpty>false</IsEmpty>
<MachineName>String</MachineName>
<ModulesInformation>
<ModuleInformation>
<ModuleDate>0001-01-01T00:00:00</ModuleDate>
<ModuleName>String</ModuleName>
<ModuleVersion>String</ModuleVersion>
</ModuleInformation>
</ModulesInformation>
<OnLineUrl>String</OnLineUrl>
<OnPremisesUrl>String</OnPremisesUrl>
<UserLoginName>String</UserLoginName>
<UserName>String</UserName>
<Version>String</Version>
<VersionGateway>String</VersionGateway>
<WebsiteIntranetUrl>String</WebsiteIntranetUrl>
</ApplicationInfo>