import Foundation
import ServiceStack
public class GetApplicationInfo : Codable
{
public var includeModules:Bool?
public var includeOfficeAddins:Bool?
required public init(){}
}
public class ApplicationInfo : Codable
{
public var applicationName:String?
public var version:String?
public var versionGateway:String?
public var environment:String?
public var machineName:String?
public var customerCode:String?
public var customerBrandCode:String?
public var databaseName:String?
public var databaseVersion:String?
public var databaseServer:String?
public var userName:String?
public var userLoginName:String?
public var modulesInformation:[ModuleInformation] = []
public var websiteIntranetUrl:String?
public var idbOpties:Bool?
public var onPremisesUrl:String?
public var onLineUrl:String?
public var isApiGateway:Bool?
public var hasCRMModuleActive:Bool?
public var hasExtranetModuleActive:Bool?
public var hasHuisstijlMOModuleActive:Bool?
public var hasDigitaalOndertekenenModuleActive:Bool?
public var hasDOVoorWordHuisstijl:Bool?
public var hasDOVoorWordRegistreren:Bool?
public var hasDOVoorExcelHuisstijl:Bool?
public var hasDOVoorExcelRegistreren:Bool?
public var hasDOVoorPowerPointHuisstijl:Bool?
public var hasDOVoorPowerPointRegistreren:Bool?
public var hasDOVoorOutlookHuisstijl:Bool?
public var hasDOVoorOutlookRegistreren:Bool?
required public init(){}
}
public class ModuleInformation : Codable
{
public var moduleName:String?
public var moduleVersion:String?
public var moduleDate:Date?
required public init(){}
}
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}