DigiOffice Gateway Web Services

<back to all web services

GetApplicationInfo

Requires Authentication
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports IDB.Diagnostics.DTO

Namespace Global

    Namespace IDB.Diagnostics.DTO

        Public Partial Class ApplicationInfo
            Public Sub New()
                ModulesInformation = New List(Of ModuleInformation)
            End Sub

            Public Overridable Property ApplicationName As String
            Public Overridable Property Version As String
            Public Overridable Property VersionGateway As String
            Public Overridable Property Environment As String
            Public Overridable Property MachineName As String
            Public Overridable Property CustomerCode As String
            Public Overridable Property CustomerBrandCode As String
            Public Overridable Property DatabaseName As String
            Public Overridable Property DatabaseVersion As String
            Public Overridable Property DatabaseServer As String
            Public Overridable Property UserName As String
            Public Overridable Property UserLoginName As String
            Public Overridable Property ModulesInformation As List(Of ModuleInformation)
            Public Overridable Property WebsiteIntranetUrl As String
            Public Overridable Property IDBOpties As Boolean
            Public Overridable Property OnPremisesUrl As String
            Public Overridable Property OnLineUrl As String
            Public Overridable Property IsApiGateway As Boolean
            Public Overridable Property HasCRMModuleActive As Boolean
            Public Overridable Property HasExtranetModuleActive As Boolean
            Public Overridable Property HasHuisstijlMOModuleActive As Boolean
            Public Overridable Property HasDigitaalOndertekenenModuleActive As Boolean
            Public Overridable Property HasDOVoorWordHuisstijl As Boolean
            Public Overridable Property HasDOVoorWordRegistreren As Boolean
            Public Overridable Property HasDOVoorExcelHuisstijl As Boolean
            Public Overridable Property HasDOVoorExcelRegistreren As Boolean
            Public Overridable Property HasDOVoorPowerPointHuisstijl As Boolean
            Public Overridable Property HasDOVoorPowerPointRegistreren As Boolean
            Public Overridable Property HasDOVoorOutlookHuisstijl As Boolean
            Public Overridable Property HasDOVoorOutlookRegistreren As Boolean
        End Class

        Public Partial Class GetApplicationInfo
            Public Overridable Property IncludeModules As Boolean
            Public Overridable Property IncludeOfficeAddins As Boolean
        End Class

        Public Partial Class ModuleInformation
            Public Overridable Property ModuleName As String
            Public Overridable Property ModuleVersion As String
            Public Overridable Property ModuleDate As Date
        End Class
    End Namespace
End Namespace

VB.NET 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

HTTP + JSON

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}