Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports IDB.API.DTO.Document.Operations
Imports IDB.API.DTO.Document
Imports IDB.API.DTO.Registrationprofile
Namespace Global
Namespace IDB.API.DTO.Document
Public Partial Class QuickRegistrationOptions
Public Sub New()
RegistrationProfiles = New List(Of RegistrationprofileInformation)
AttachmentProfiles = New List(Of RegistrationprofileInformation)
End Sub
Public Overridable Property ProgCode As String
Public Overridable Property RegistrationProfileID As Nullable(Of Guid)
Public Overridable Property RegistrationProfiles As List(Of RegistrationprofileInformation)
Public Overridable Property AttachmentRegistrationProfileID As Nullable(Of Guid)
Public Overridable Property AttachmentProfiles As List(Of RegistrationprofileInformation)
Public Overridable Property RegistrationProfileNewEmailID As Nullable(Of Guid)
Public Overridable Property EMailActie As String
Public Overridable Property EMailActieNieuw As String
Public Overridable Property EMailActieBeantwoorden As String
Public Overridable Property EMailActieDoorsturen As String
Public Overridable Property DefaultDragDropAction As QuickRegistrationOptions.DragDropAction
Public Overridable Property RegistratieWizard365URL As String
Public Overridable Property ApplicationName As String
Public Overridable Property Extension As String
Public Overridable Property MenuTonenBijSlepen As Boolean
Public Overridable Property AllowMultipleRegistrations As Boolean
Public Overridable Property MinimumAttachmentSize As Integer
Public Overridable Property AllowEmptyEmailInRegistrationprofileWizard As Boolean
Public Enum DragDropAction
CopyEmailIncludingAttachments
CopyEmailIncludingAndSeparateAttachments
CopyEmailExcludingAndSeparateAttachments
CopyEmailExcludingAttachments
CopyOnlyAttachments
MoveEmailIncludingAttachments
MoveEmailIncludingAndSeparateAttachments
MoveEmailExcludingAndSeparateAttachments
MoveEmailExcludingAttachments
MoveOnlyAttachments
Files
FileStream
End Enum
End Class
End Namespace
Namespace IDB.API.DTO.Document.Operations
Public Partial Class GetQuickRegistrationOptions
Public Overridable Property ProgCode As String
Public Overridable Property ApplicationName As String
Public Overridable Property Extension As String
End Class
End Namespace
Namespace IDB.API.DTO.Registrationprofile
Public Partial Class RegistrationprofileInformation
Public Overridable Property ID As Nullable(Of Guid)
Public Overridable Property Name As String
Public Overridable Property WizardAutomatischDoorlopen As Boolean
End Class
End Namespace
End Namespace
VB.NET GetQuickRegistrationOptions DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/GetQuickRegistrationOptions HTTP/1.1
Host: digiofficeapigateway.deltares.nl
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ProgCode: String,
ApplicationName: String,
Extension: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { ProgCode: String, RegistrationProfileID: 00000000-0000-0000-0000-000000000000, RegistrationProfiles: [ { ID: 00000000-0000-0000-0000-000000000000, Name: String, WizardAutomatischDoorlopen: False } ], AttachmentRegistrationProfileID: 00000000-0000-0000-0000-000000000000, AttachmentProfiles: [ { ID: 00000000-0000-0000-0000-000000000000, Name: String, WizardAutomatischDoorlopen: False } ], RegistrationProfileNewEmailID: 00000000-0000-0000-0000-000000000000, EMailActie: String, EMailActieNieuw: String, EMailActieBeantwoorden: String, EMailActieDoorsturen: String, DefaultDragDropAction: CopyEmailIncludingAttachments, RegistratieWizard365URL: String, ApplicationName: String, Extension: String, MenuTonenBijSlepen: False, AllowMultipleRegistrations: False, MinimumAttachmentSize: 0, AllowEmptyEmailInRegistrationprofileWizard: False }