using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using IDB.Diagnostics.DTO;
namespace IDB.Diagnostics.DTO
{
public partial class ApplicationInfo
{
public ApplicationInfo()
{
ModulesInformation = new List<ModuleInformation>{};
}
public virtual string ApplicationName { get; set; }
public virtual string Version { get; set; }
public virtual string VersionGateway { get; set; }
public virtual string Environment { get; set; }
public virtual string MachineName { get; set; }
public virtual string CustomerCode { get; set; }
public virtual string CustomerBrandCode { get; set; }
public virtual string DatabaseName { get; set; }
public virtual string DatabaseVersion { get; set; }
public virtual string DatabaseServer { get; set; }
public virtual string UserName { get; set; }
public virtual string UserLoginName { get; set; }
public virtual List<ModuleInformation> ModulesInformation { get; set; }
public virtual string WebsiteIntranetUrl { get; set; }
public virtual bool IDBOpties { get; set; }
public virtual string OnPremisesUrl { get; set; }
public virtual string OnLineUrl { get; set; }
public virtual bool IsApiGateway { get; set; }
public virtual bool HasCRMModuleActive { get; set; }
public virtual bool HasExtranetModuleActive { get; set; }
public virtual bool HasHuisstijlMOModuleActive { get; set; }
public virtual bool HasDigitaalOndertekenenModuleActive { get; set; }
public virtual bool HasDOVoorWordHuisstijl { get; set; }
public virtual bool HasDOVoorWordRegistreren { get; set; }
public virtual bool HasDOVoorExcelHuisstijl { get; set; }
public virtual bool HasDOVoorExcelRegistreren { get; set; }
public virtual bool HasDOVoorPowerPointHuisstijl { get; set; }
public virtual bool HasDOVoorPowerPointRegistreren { get; set; }
public virtual bool HasDOVoorOutlookHuisstijl { get; set; }
public virtual bool HasDOVoorOutlookRegistreren { get; set; }
}
public partial class GetApplicationInfo
{
public virtual bool IncludeModules { get; set; }
public virtual bool IncludeOfficeAddins { get; set; }
}
public partial class ModuleInformation
{
public virtual string ModuleName { get; set; }
public virtual string ModuleVersion { get; set; }
public virtual DateTime ModuleDate { get; set; }
}
}
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>