import java.math.*
import java.util.*
import net.servicestack.client.*
open class GetApplicationInfo
{
var IncludeModules:Boolean? = null
var IncludeOfficeAddins:Boolean? = null
}
open class ApplicationInfo
{
var ApplicationName:String? = null
var Version:String? = null
var VersionGateway:String? = null
var Environment:String? = null
var MachineName:String? = null
var CustomerCode:String? = null
var CustomerBrandCode:String? = null
var DatabaseName:String? = null
var DatabaseVersion:String? = null
var DatabaseServer:String? = null
var UserName:String? = null
var UserLoginName:String? = null
var ModulesInformation:ArrayList<ModuleInformation> = ArrayList<ModuleInformation>()
var WebsiteIntranetUrl:String? = null
var IDBOpties:Boolean? = null
var OnPremisesUrl:String? = null
var OnLineUrl:String? = null
var IsApiGateway:Boolean? = null
var HasCRMModuleActive:Boolean? = null
var HasExtranetModuleActive:Boolean? = null
var HasHuisstijlMOModuleActive:Boolean? = null
var HasDigitaalOndertekenenModuleActive:Boolean? = null
var HasDOVoorWordHuisstijl:Boolean? = null
var HasDOVoorWordRegistreren:Boolean? = null
var HasDOVoorExcelHuisstijl:Boolean? = null
var HasDOVoorExcelRegistreren:Boolean? = null
var HasDOVoorPowerPointHuisstijl:Boolean? = null
var HasDOVoorPowerPointRegistreren:Boolean? = null
var HasDOVoorOutlookHuisstijl:Boolean? = null
var HasDOVoorOutlookRegistreren:Boolean? = null
}
open class ModuleInformation
{
var ModuleName:String? = null
var ModuleVersion:String? = null
var ModuleDate:Date? = null
}
Kotlin GetApplicationInfo DTOs
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: digiofficeapigateway.deltares.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 }