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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/reply/QuickRegistrationOptions 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}