DigiOffice Gateway Web Services

<back to all web services

QuickRegistrationOptions

Requires Authentication
namespace IDB.API.DTO.Document

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type RegistrationprofileInformation() = 
        member val ID:Nullable<Guid> = new Nullable<Guid>() with get,set
        member val Name:String = null with get,set
        member val WizardAutomatischDoorlopen:Boolean = new Boolean() with get,set

    type DragDropAction =
        | CopyEmailIncludingAttachments = 0
        | CopyEmailIncludingAndSeparateAttachments = 1
        | CopyEmailExcludingAndSeparateAttachments = 2
        | CopyEmailExcludingAttachments = 3
        | CopyOnlyAttachments = 4
        | MoveEmailIncludingAttachments = 5
        | MoveEmailIncludingAndSeparateAttachments = 6
        | MoveEmailExcludingAndSeparateAttachments = 7
        | MoveEmailExcludingAttachments = 8
        | MoveOnlyAttachments = 9
        | Files = 10
        | FileStream = 11

    [<AllowNullLiteral>]
    type QuickRegistrationOptions() = 
        member val ProgCode:String = null with get,set
        member val RegistrationProfileID:Nullable<Guid> = new Nullable<Guid>() with get,set
        member val RegistrationProfiles:ResizeArray<RegistrationprofileInformation> = new ResizeArray<RegistrationprofileInformation>() with get,set
        member val AttachmentRegistrationProfileID:Nullable<Guid> = new Nullable<Guid>() with get,set
        member val AttachmentProfiles:ResizeArray<RegistrationprofileInformation> = new ResizeArray<RegistrationprofileInformation>() with get,set
        member val RegistrationProfileNewEmailID:Nullable<Guid> = new Nullable<Guid>() with get,set
        member val EMailActie:String = null with get,set
        member val EMailActieNieuw:String = null with get,set
        member val EMailActieBeantwoorden:String = null with get,set
        member val EMailActieDoorsturen:String = null with get,set
        member val DefaultDragDropAction:DragDropAction = new DragDropAction() with get,set
        member val RegistratieWizard365URL:String = null with get,set
        member val ApplicationName:String = null with get,set
        member val Extension:String = null with get,set
        member val MenuTonenBijSlepen:Boolean = new Boolean() with get,set
        member val AllowMultipleRegistrations:Boolean = new Boolean() with get,set
        member val MinimumAttachmentSize:Int32 = new Int32() with get,set
        member val AllowEmptyEmailInRegistrationprofileWizard:Boolean = new Boolean() with get,set

F# QuickRegistrationOptions DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/reply/QuickRegistrationOptions HTTP/1.1 
Host: digiofficeapigateway.deltares.nl 
Accept: text/jsv
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
}
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
}