DigiOffice Gateway Web Services

<back to all web services

PostQuickRegistrationOptions

Requires Authentication
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 PostQuickRegistrationOptions
            Inherits QuickRegistrationOptions
        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 PostQuickRegistrationOptions 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/PostQuickRegistrationOptions HTTP/1.1 
Host: digiofficeapigateway.deltares.nl 
Accept: application/json
Content-Type: application/json
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}
HTTP/1.1 200 OK
Content-Type: application/json
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}