DigiOffice Gateway Web Services

<back to all web services

GetApplicationInfo

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

namespace IDB.Diagnostics.DTO
{
    public partial class ApplicationInfo
    {
        public ApplicationInfo()
        {
            ModulesInformation = new List<ModuleInformation>{};
        }

        public virtual string ApplicationName { get; set; }
        public virtual string Version { get; set; }
        public virtual string VersionGateway { get; set; }
        public virtual string Environment { get; set; }
        public virtual string MachineName { get; set; }
        public virtual string CustomerCode { get; set; }
        public virtual string CustomerBrandCode { get; set; }
        public virtual string DatabaseName { get; set; }
        public virtual string DatabaseVersion { get; set; }
        public virtual string DatabaseServer { get; set; }
        public virtual string UserName { get; set; }
        public virtual string UserLoginName { get; set; }
        public virtual List<ModuleInformation> ModulesInformation { get; set; }
        public virtual string WebsiteIntranetUrl { get; set; }
        public virtual bool IDBOpties { get; set; }
        public virtual string OnPremisesUrl { get; set; }
        public virtual string OnLineUrl { get; set; }
        public virtual bool IsApiGateway { get; set; }
        public virtual bool HasCRMModuleActive { get; set; }
        public virtual bool HasExtranetModuleActive { get; set; }
        public virtual bool HasHuisstijlMOModuleActive { get; set; }
        public virtual bool HasDigitaalOndertekenenModuleActive { get; set; }
        public virtual bool HasDOVoorWordHuisstijl { get; set; }
        public virtual bool HasDOVoorWordRegistreren { get; set; }
        public virtual bool HasDOVoorExcelHuisstijl { get; set; }
        public virtual bool HasDOVoorExcelRegistreren { get; set; }
        public virtual bool HasDOVoorPowerPointHuisstijl { get; set; }
        public virtual bool HasDOVoorPowerPointRegistreren { get; set; }
        public virtual bool HasDOVoorOutlookHuisstijl { get; set; }
        public virtual bool HasDOVoorOutlookRegistreren { get; set; }
    }

    public partial class GetApplicationInfo
    {
        public virtual bool IncludeModules { get; set; }
        public virtual bool IncludeOfficeAddins { get; set; }
    }

    public partial class ModuleInformation
    {
        public virtual string ModuleName { get; set; }
        public virtual string ModuleVersion { get; set; }
        public virtual DateTime ModuleDate { get; set; }
    }

}

C# 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}