To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/GetQuickRegistrationOptions HTTP/1.1
Host: digiofficeapigateway.deltares.nl
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<GetQuickRegistrationOptions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Document.Operations">
<ApplicationName>String</ApplicationName>
<Extension>String</Extension>
<ProgCode>String</ProgCode>
</GetQuickRegistrationOptions>
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>