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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/reply/GetApplicationInfo HTTP/1.1
Host: digiofficeapigateway.deltares.nl
Accept: application/json
Content-Type: application/json
Content-Length: length
{"IncludeModules":false,"IncludeOfficeAddins":false}
HTTP/1.1 200 OK Content-Type: application/json 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-01T00:00:00.0000000"}],"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}