DigiOffice Gateway Web Services

<back to all web services

GetApplicationInfo

Requires Authentication
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(){}
}


Swift GetApplicationInfo DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsonl/reply/GetApplicationInfo HTTP/1.1 
Host: doapigw.baasbv.nl 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"IncludeModules":false,"IncludeOfficeAddins":false}
HTTP/1.1 200 OK
Content-Type: text/jsonl
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}