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
[<AllowNullLiteral>]
type PostQuickRegistrationOptions() =
inherit QuickRegistrationOptions()
F# PostQuickRegistrationOptions DTOs
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/PostQuickRegistrationOptions HTTP/1.1
Host: digiofficeapigateway.deltares.nl
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<PostQuickRegistrationOptions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Document.Operations">
<AllowEmptyEmailInRegistrationprofileWizard xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Document">false</AllowEmptyEmailInRegistrationprofileWizard>
<AllowMultipleRegistrations xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Document">false</AllowMultipleRegistrations>
<ApplicationName xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Document">String</ApplicationName>
<AttachmentProfiles xmlns:d2p1="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Registrationprofile" xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Document">
<d2p1:RegistrationprofileInformation>
<d2p1:ID>00000000-0000-0000-0000-000000000000</d2p1:ID>
<d2p1:Name>String</d2p1:Name>
<d2p1:WizardAutomatischDoorlopen>false</d2p1:WizardAutomatischDoorlopen>
</d2p1:RegistrationprofileInformation>
</AttachmentProfiles>
<AttachmentRegistrationProfileID xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Document">00000000-0000-0000-0000-000000000000</AttachmentRegistrationProfileID>
<DefaultDragDropAction xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Document">CopyEmailIncludingAttachments</DefaultDragDropAction>
<EMailActieBeantwoorden xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Document">String</EMailActieBeantwoorden>
<EMailActieDoorsturen xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Document">String</EMailActieDoorsturen>
<EMailActieNieuw xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Document">String</EMailActieNieuw>
<Extension xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Document">String</Extension>
<MenuTonenBijSlepen xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Document">false</MenuTonenBijSlepen>
<MinimumAttachmentSize xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Document">0</MinimumAttachmentSize>
<ProgCode xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Document">String</ProgCode>
<RegistratieWizard365URL xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Document">String</RegistratieWizard365URL>
<RegistrationProfileID xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Document">00000000-0000-0000-0000-000000000000</RegistrationProfileID>
<RegistrationProfileNewEmailID xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Document">00000000-0000-0000-0000-000000000000</RegistrationProfileNewEmailID>
<RegistrationProfiles xmlns:d2p1="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Registrationprofile" xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Document">
<d2p1:RegistrationprofileInformation>
<d2p1:ID>00000000-0000-0000-0000-000000000000</d2p1:ID>
<d2p1:Name>String</d2p1:Name>
<d2p1:WizardAutomatischDoorlopen>false</d2p1:WizardAutomatischDoorlopen>
</d2p1:RegistrationprofileInformation>
</RegistrationProfiles>
</PostQuickRegistrationOptions>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <QuickRegistrationOptions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Document"> <AllowEmptyEmailInRegistrationprofileWizard>false</AllowEmptyEmailInRegistrationprofileWizard> <AllowMultipleRegistrations>false</AllowMultipleRegistrations> <ApplicationName>String</ApplicationName> <AttachmentProfiles xmlns:d2p1="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Registrationprofile"> <d2p1:RegistrationprofileInformation> <d2p1:ID>00000000-0000-0000-0000-000000000000</d2p1:ID> <d2p1:Name>String</d2p1:Name> <d2p1:WizardAutomatischDoorlopen>false</d2p1:WizardAutomatischDoorlopen> </d2p1:RegistrationprofileInformation> </AttachmentProfiles> <AttachmentRegistrationProfileID>00000000-0000-0000-0000-000000000000</AttachmentRegistrationProfileID> <DefaultDragDropAction>CopyEmailIncludingAttachments</DefaultDragDropAction> <EMailActieBeantwoorden>String</EMailActieBeantwoorden> <EMailActieDoorsturen>String</EMailActieDoorsturen> <EMailActieNieuw>String</EMailActieNieuw> <Extension>String</Extension> <MenuTonenBijSlepen>false</MenuTonenBijSlepen> <MinimumAttachmentSize>0</MinimumAttachmentSize> <ProgCode>String</ProgCode> <RegistratieWizard365URL>String</RegistratieWizard365URL> <RegistrationProfileID>00000000-0000-0000-0000-000000000000</RegistrationProfileID> <RegistrationProfileNewEmailID>00000000-0000-0000-0000-000000000000</RegistrationProfileNewEmailID> <RegistrationProfiles xmlns:d2p1="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Registrationprofile"> <d2p1:RegistrationprofileInformation> <d2p1:ID>00000000-0000-0000-0000-000000000000</d2p1:ID> <d2p1:Name>String</d2p1:Name> <d2p1:WizardAutomatischDoorlopen>false</d2p1:WizardAutomatischDoorlopen> </d2p1:RegistrationprofileInformation> </RegistrationProfiles> </QuickRegistrationOptions>