namespace IDB.Diagnostics.DTO
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type ModuleInformation() =
member val ModuleName:String = null with get,set
member val ModuleVersion:String = null with get,set
member val ModuleDate:DateTime = new DateTime() with get,set
[<AllowNullLiteral>]
type ApplicationInfo() =
member val ApplicationName:String = null with get,set
member val Version:String = null with get,set
member val VersionGateway:String = null with get,set
member val Environment:String = null with get,set
member val MachineName:String = null with get,set
member val CustomerCode:String = null with get,set
member val CustomerBrandCode:String = null with get,set
member val DatabaseName:String = null with get,set
member val DatabaseVersion:String = null with get,set
member val DatabaseServer:String = null with get,set
member val UserName:String = null with get,set
member val UserLoginName:String = null with get,set
member val ModulesInformation:ResizeArray<ModuleInformation> = new ResizeArray<ModuleInformation>() with get,set
member val WebsiteIntranetUrl:String = null with get,set
member val IDBOpties:Boolean = new Boolean() with get,set
member val OnPremisesUrl:String = null with get,set
member val OnLineUrl:String = null with get,set
member val IsApiGateway:Boolean = new Boolean() with get,set
member val HasCRMModuleActive:Boolean = new Boolean() with get,set
member val HasExtranetModuleActive:Boolean = new Boolean() with get,set
member val HasHuisstijlMOModuleActive:Boolean = new Boolean() with get,set
member val HasDigitaalOndertekenenModuleActive:Boolean = new Boolean() with get,set
member val HasDOVoorWordHuisstijl:Boolean = new Boolean() with get,set
member val HasDOVoorWordRegistreren:Boolean = new Boolean() with get,set
member val HasDOVoorExcelHuisstijl:Boolean = new Boolean() with get,set
member val HasDOVoorExcelRegistreren:Boolean = new Boolean() with get,set
member val HasDOVoorPowerPointHuisstijl:Boolean = new Boolean() with get,set
member val HasDOVoorPowerPointRegistreren:Boolean = new Boolean() with get,set
member val HasDOVoorOutlookHuisstijl:Boolean = new Boolean() with get,set
member val HasDOVoorOutlookRegistreren:Boolean = new Boolean() with get,set
[<AllowNullLiteral>]
type GetApplicationInfo() =
member val IncludeModules:Boolean = new Boolean() with get,set
member val IncludeOfficeAddins:Boolean = new Boolean() with get,set
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/reply/GetApplicationInfo HTTP/1.1
Host: digiofficeapigateway.deltares.nl
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<GetApplicationInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IDB.Diagnostics.DTO">
<IncludeModules>false</IncludeModules>
<IncludeOfficeAddins>false</IncludeOfficeAddins>
</GetApplicationInfo>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ApplicationInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IDB.Diagnostics.DTO"> <ApplicationName>String</ApplicationName> <CustomerBrandCode>String</CustomerBrandCode> <CustomerCode>String</CustomerCode> <DatabaseName>String</DatabaseName> <DatabaseServer>String</DatabaseServer> <DatabaseVersion>String</DatabaseVersion> <Environment>String</Environment> <HasCRMModuleActive>false</HasCRMModuleActive> <HasDOVoorExcelHuisstijl>false</HasDOVoorExcelHuisstijl> <HasDOVoorExcelRegistreren>false</HasDOVoorExcelRegistreren> <HasDOVoorOutlookHuisstijl>false</HasDOVoorOutlookHuisstijl> <HasDOVoorOutlookRegistreren>false</HasDOVoorOutlookRegistreren> <HasDOVoorPowerPointHuisstijl>false</HasDOVoorPowerPointHuisstijl> <HasDOVoorPowerPointRegistreren>false</HasDOVoorPowerPointRegistreren> <HasDOVoorWordHuisstijl>false</HasDOVoorWordHuisstijl> <HasDOVoorWordRegistreren>false</HasDOVoorWordRegistreren> <HasDigitaalOndertekenenModuleActive>false</HasDigitaalOndertekenenModuleActive> <HasExtranetModuleActive>false</HasExtranetModuleActive> <HasHuisstijlMOModuleActive>false</HasHuisstijlMOModuleActive> <IDBOpties>false</IDBOpties> <IsApiGateway>false</IsApiGateway> <IsEmpty>false</IsEmpty> <MachineName>String</MachineName> <ModulesInformation> <ModuleInformation> <ModuleDate>0001-01-01T00:00:00</ModuleDate> <ModuleName>String</ModuleName> <ModuleVersion>String</ModuleVersion> </ModuleInformation> </ModulesInformation> <OnLineUrl>String</OnLineUrl> <OnPremisesUrl>String</OnPremisesUrl> <UserLoginName>String</UserLoginName> <UserName>String</UserName> <Version>String</Version> <VersionGateway>String</VersionGateway> <WebsiteIntranetUrl>String</WebsiteIntranetUrl> </ApplicationInfo>