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 .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/GetApplicationInfo HTTP/1.1
Host: doapigw.baasbv.nl
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
IncludeModules: False,
IncludeOfficeAddins: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ApplicationName: String,
Version: String,
VersionGateway: String,
Environment: String,
MachineName: String,
CustomerCode: String,
CustomerBrandCode: String,
DatabaseName: String,
DatabaseVersion: String,
DatabaseServer: String,
UserName: String,
UserLoginName: String,
ModulesInformation:
[
{
ModuleName: String,
ModuleVersion: String,
ModuleDate: 0001-01-01
}
],
WebsiteIntranetUrl: String,
IDBOpties: False,
OnPremisesUrl: String,
OnLineUrl: String,
IsApiGateway: False,
HasCRMModuleActive: False,
HasExtranetModuleActive: False,
HasHuisstijlMOModuleActive: False,
HasDigitaalOndertekenenModuleActive: False,
HasDOVoorWordHuisstijl: False,
HasDOVoorWordRegistreren: False,
HasDOVoorExcelHuisstijl: False,
HasDOVoorExcelRegistreren: False,
HasDOVoorPowerPointHuisstijl: False,
HasDOVoorPowerPointRegistreren: False,
HasDOVoorOutlookHuisstijl: False,
HasDOVoorOutlookRegistreren: False
}