DigiOffice Gateway Web Services

<back to all web services

UpdateDraftCorporateIdentityMail

Requires Authentication
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class UpdateDraftCorporateIdentityMail extends CreateDraftCorporateIdentityMail
    {
        public String EmailHtml = null;
        
        public String getEmailHtml() { return EmailHtml; }
        public UpdateDraftCorporateIdentityMail setEmailHtml(String value) { this.EmailHtml = value; return this; }
    }

    public static class CreateDraftCorporateIdentityMail extends Outlook365Properties
    {
        public UUID RegistrationProfileID = null;
        public ArrayList<RegistrationValue> Values = null;
        public ArrayList<Process> Processes = null;
        public String DocumentUploadId = null;
        public String MessageQueueId = null;
        public String ReplyEmailHtml = null;
        
        public UUID getRegistrationProfileID() { return RegistrationProfileID; }
        public CreateDraftCorporateIdentityMail setRegistrationProfileID(UUID value) { this.RegistrationProfileID = value; return this; }
        public ArrayList<RegistrationValue> getValues() { return Values; }
        public CreateDraftCorporateIdentityMail setValues(ArrayList<RegistrationValue> value) { this.Values = value; return this; }
        public ArrayList<Process> getProcesses() { return Processes; }
        public CreateDraftCorporateIdentityMail setProcesses(ArrayList<Process> value) { this.Processes = value; return this; }
        public String getDocumentUploadId() { return DocumentUploadId; }
        public CreateDraftCorporateIdentityMail setDocumentUploadId(String value) { this.DocumentUploadId = value; return this; }
        public String getMessageQueueId() { return MessageQueueId; }
        public CreateDraftCorporateIdentityMail setMessageQueueId(String value) { this.MessageQueueId = value; return this; }
        public String getReplyEmailHtml() { return ReplyEmailHtml; }
        public CreateDraftCorporateIdentityMail setReplyEmailHtml(String value) { this.ReplyEmailHtml = value; return this; }
    }

    public static class Outlook365Properties
    {
        public String PidTag = null;
        public String ItemId = null;
        public String EwsUrl = null;
        public String Token = null;
        
        public String getPidTag() { return PidTag; }
        public Outlook365Properties setPidTag(String value) { this.PidTag = value; return this; }
        public String getItemId() { return ItemId; }
        public Outlook365Properties setItemId(String value) { this.ItemId = value; return this; }
        public String getEwsUrl() { return EwsUrl; }
        public Outlook365Properties setEwsUrl(String value) { this.EwsUrl = value; return this; }
        public String getToken() { return Token; }
        public Outlook365Properties setToken(String value) { this.Token = value; return this; }
    }

    public static class RegistrationValue
    {
        public UUID Key = null;
        public String Value = null;
        public String ShadowValue = null;
        
        public UUID getKey() { return Key; }
        public RegistrationValue setKey(UUID value) { this.Key = value; return this; }
        public String getValue() { return Value; }
        public RegistrationValue setValue(String value) { this.Value = value; return this; }
        public String getShadowValue() { return ShadowValue; }
        public RegistrationValue setShadowValue(String value) { this.ShadowValue = value; return this; }
    }

    public static class Process
    {
        public Integer ID = null;
        public String Title = null;
        public String Description = null;
        public String Note = null;
        public String Coordinator = null;
        public Boolean Urgent = null;
        public ArrayList<Transition> Transitions = null;
        
        public Integer getId() { return ID; }
        public Process setId(Integer value) { this.ID = value; return this; }
        public String getTitle() { return Title; }
        public Process setTitle(String value) { this.Title = value; return this; }
        public String getDescription() { return Description; }
        public Process setDescription(String value) { this.Description = value; return this; }
        public String getNote() { return Note; }
        public Process setNote(String value) { this.Note = value; return this; }
        public String getCoordinator() { return Coordinator; }
        public Process setCoordinator(String value) { this.Coordinator = value; return this; }
        public Boolean isUrgent() { return Urgent; }
        public Process setUrgent(Boolean value) { this.Urgent = value; return this; }
        public ArrayList<Transition> getTransitions() { return Transitions; }
        public Process setTransitions(ArrayList<Transition> value) { this.Transitions = value; return this; }
    }

    public static class Transition
    {
        public UUID ID = null;
        public String Reason = null;
        public Date DelayDate = null;
        public String DelayReason = null;
        public ArrayList<Integer> UserIDs = null;
        public ArrayList<Integer> GroupIDs = null;
        
        public UUID getId() { return ID; }
        public Transition setId(UUID value) { this.ID = value; return this; }
        public String getReason() { return Reason; }
        public Transition setReason(String value) { this.Reason = value; return this; }
        public Date getDelayDate() { return DelayDate; }
        public Transition setDelayDate(Date value) { this.DelayDate = value; return this; }
        public String getDelayReason() { return DelayReason; }
        public Transition setDelayReason(String value) { this.DelayReason = value; return this; }
        public ArrayList<Integer> getUserIDs() { return UserIDs; }
        public Transition setUserIDs(ArrayList<Integer> value) { this.UserIDs = value; return this; }
        public ArrayList<Integer> getGroupIDs() { return GroupIDs; }
        public Transition setGroupIDs(ArrayList<Integer> value) { this.GroupIDs = value; return this; }
    }

    public static class CorporateIdentityMail
    {
        public UUID DocumentId = null;
        public String EmailHtml = null;
        public Boolean IsRegistered = null;
        public String DocumentNr = null;
        public ArrayList<RegistrationProfileFieldStateBase> Values = null;
        public UUID RegistrationProfileID = null;
        public Boolean RegisterAutomatically = null;
        
        public UUID getDocumentId() { return DocumentId; }
        public CorporateIdentityMail setDocumentId(UUID value) { this.DocumentId = value; return this; }
        public String getEmailHtml() { return EmailHtml; }
        public CorporateIdentityMail setEmailHtml(String value) { this.EmailHtml = value; return this; }
        public Boolean getIsRegistered() { return IsRegistered; }
        public CorporateIdentityMail setIsRegistered(Boolean value) { this.IsRegistered = value; return this; }
        public String getDocumentNr() { return DocumentNr; }
        public CorporateIdentityMail setDocumentNr(String value) { this.DocumentNr = value; return this; }
        public ArrayList<RegistrationProfileFieldStateBase> getValues() { return Values; }
        public CorporateIdentityMail setValues(ArrayList<RegistrationProfileFieldStateBase> value) { this.Values = value; return this; }
        public UUID getRegistrationProfileID() { return RegistrationProfileID; }
        public CorporateIdentityMail setRegistrationProfileID(UUID value) { this.RegistrationProfileID = value; return this; }
        public Boolean isRegisterAutomatically() { return RegisterAutomatically; }
        public CorporateIdentityMail setRegisterAutomatically(Boolean value) { this.RegisterAutomatically = value; return this; }
    }

    public static class RegistrationProfileFieldStateBase
    {
        public UUID DocumentFieldID = null;
        public Boolean Required = null;
        public Boolean Visible = null;
        public Boolean Readonly = null;
        
        public UUID getDocumentFieldID() { return DocumentFieldID; }
        public RegistrationProfileFieldStateBase setDocumentFieldID(UUID value) { this.DocumentFieldID = value; return this; }
        public Boolean isRequired() { return Required; }
        public RegistrationProfileFieldStateBase setRequired(Boolean value) { this.Required = value; return this; }
        public Boolean isVisible() { return Visible; }
        public RegistrationProfileFieldStateBase setVisible(Boolean value) { this.Visible = value; return this; }
        public Boolean isReadonly() { return Readonly; }
        public RegistrationProfileFieldStateBase setReadonly(Boolean value) { this.Readonly = value; return this; }
    }

}

Java UpdateDraftCorporateIdentityMail DTOs

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/UpdateDraftCorporateIdentityMail HTTP/1.1 
Host: digiofficeapigateway.deltares.nl 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<UpdateDraftCorporateIdentityMail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Outlook.Operations">
  <EwsUrl>String</EwsUrl>
  <ItemId>String</ItemId>
  <PidTag>String</PidTag>
  <Token>String</Token>
  <DocumentUploadId>String</DocumentUploadId>
  <MessageQueueId>String</MessageQueueId>
  <Processes xmlns:d2p1="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Workflow">
    <d2p1:Process>
      <d2p1:Coordinator>String</d2p1:Coordinator>
      <d2p1:Description>String</d2p1:Description>
      <d2p1:ID>0</d2p1:ID>
      <d2p1:Note>String</d2p1:Note>
      <d2p1:Title>String</d2p1:Title>
      <d2p1:Transitions>
        <d2p1:Transition>
          <d2p1:DelayDate>0001-01-01T00:00:00</d2p1:DelayDate>
          <d2p1:DelayReason>String</d2p1:DelayReason>
          <d2p1:GroupIDs xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:int>0</d6p1:int>
          </d2p1:GroupIDs>
          <d2p1:ID>00000000-0000-0000-0000-000000000000</d2p1:ID>
          <d2p1:Reason>String</d2p1:Reason>
          <d2p1:UserIDs xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:int>0</d6p1:int>
          </d2p1:UserIDs>
        </d2p1:Transition>
      </d2p1:Transitions>
      <d2p1:Urgent>false</d2p1:Urgent>
    </d2p1:Process>
  </Processes>
  <RegistrationProfileID>00000000-0000-0000-0000-000000000000</RegistrationProfileID>
  <ReplyEmailHtml>String</ReplyEmailHtml>
  <Values xmlns:d2p1="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Registrationprofile">
    <d2p1:RegistrationValue>
      <d2p1:Key>00000000-0000-0000-0000-000000000000</d2p1:Key>
      <d2p1:ShadowValue>String</d2p1:ShadowValue>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:RegistrationValue>
  </Values>
  <EmailHtml>String</EmailHtml>
</UpdateDraftCorporateIdentityMail>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<CorporateIdentityMail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Outlook">
  <DocumentId>00000000-0000-0000-0000-000000000000</DocumentId>
  <DocumentNr>String</DocumentNr>
  <EmailHtml>String</EmailHtml>
  <IsRegistered>false</IsRegistered>
  <RegisterAutomatically>false</RegisterAutomatically>
  <RegistrationProfileID>00000000-0000-0000-0000-000000000000</RegistrationProfileID>
  <Values xmlns:d2p1="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Registrationprofile">
    <d2p1:RegistrationProfileFieldStateBase>
      <d2p1:DocumentFieldID>00000000-0000-0000-0000-000000000000</d2p1:DocumentFieldID>
      <d2p1:Readonly>false</d2p1:Readonly>
      <d2p1:Required>false</d2p1:Required>
      <d2p1:Visible>false</d2p1:Visible>
    </d2p1:RegistrationProfileFieldStateBase>
  </Values>
</CorporateIdentityMail>