DaBRemService

<back to all web services

GetRemMessage

The following routes are available for this service:
All Verbs/GetRemMessage
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class GetRemMessage
    {
        public String AuthorizationID = null;
        public String ClientKey = null;
        public Long RemID = null;
        
        public String getAuthorizationID() { return AuthorizationID; }
        public GetRemMessage setAuthorizationID(String value) { this.AuthorizationID = value; return this; }
        public String getClientKey() { return ClientKey; }
        public GetRemMessage setClientKey(String value) { this.ClientKey = value; return this; }
        public Long getRemID() { return RemID; }
        public GetRemMessage setRemID(Long value) { this.RemID = value; return this; }
    }

    public static class GetRemMessageResponse
    {
        public DownloadedRemMessage Result = null;
        public Boolean ServiceSuccessResult = null;
        public String ErrorMesage = null;
        
        public DownloadedRemMessage getResult() { return Result; }
        public GetRemMessageResponse setResult(DownloadedRemMessage value) { this.Result = value; return this; }
        public Boolean isServiceSuccessResult() { return ServiceSuccessResult; }
        public GetRemMessageResponse setServiceSuccessResult(Boolean value) { this.ServiceSuccessResult = value; return this; }
        public String getErrorMesage() { return ErrorMesage; }
        public GetRemMessageResponse setErrorMesage(String value) { this.ErrorMesage = value; return this; }
    }

    public static class DownloadedRemMessage
    {
        public Long kepId = null;
        public String kepCC = null;
        public String kepEventCode = null;
        public String kepEvidenceType = null;
        public String kepFrom = null;
        public String kepIleti = null;
        public String kepMessageID = null;
        public String kepMsgType = null;
        public Date kepReceivedDate = null;
        public Boolean kepReceivedDateSpecified = null;
        public Date kepSendDate = null;
        public Boolean kepSendDateSpecified = null;
        public String kepSubject = null;
        public String kepTo = null;
        public String kepTRgunSayac = null;
        public String kepTRIletiID = null;
        public String kepTRIletiTip = null;
        public String kepUAMessageIdentifier = null;
        public String Status = null;
        public ArrayList<RemMessageEK> kepEklistesi = null;
        public ArrayList<RemMsgEvidence> kepDelilListesi = null;
        public ArrayList<RemMsgDelivery> kepTeslimalListesi = null;
        
        public Long getKepId() { return kepId; }
        public DownloadedRemMessage setKepId(Long value) { this.kepId = value; return this; }
        public String getKepCC() { return kepCC; }
        public DownloadedRemMessage setKepCC(String value) { this.kepCC = value; return this; }
        public String getKepEventCode() { return kepEventCode; }
        public DownloadedRemMessage setKepEventCode(String value) { this.kepEventCode = value; return this; }
        public String getKepEvidenceType() { return kepEvidenceType; }
        public DownloadedRemMessage setKepEvidenceType(String value) { this.kepEvidenceType = value; return this; }
        public String getKepFrom() { return kepFrom; }
        public DownloadedRemMessage setKepFrom(String value) { this.kepFrom = value; return this; }
        public String getKepIleti() { return kepIleti; }
        public DownloadedRemMessage setKepIleti(String value) { this.kepIleti = value; return this; }
        public String getKepMessageID() { return kepMessageID; }
        public DownloadedRemMessage setKepMessageID(String value) { this.kepMessageID = value; return this; }
        public String getKepMsgType() { return kepMsgType; }
        public DownloadedRemMessage setKepMsgType(String value) { this.kepMsgType = value; return this; }
        public Date getKepReceivedDate() { return kepReceivedDate; }
        public DownloadedRemMessage setKepReceivedDate(Date value) { this.kepReceivedDate = value; return this; }
        public Boolean isKepReceivedDateSpecified() { return kepReceivedDateSpecified; }
        public DownloadedRemMessage setKepReceivedDateSpecified(Boolean value) { this.kepReceivedDateSpecified = value; return this; }
        public Date getKepSendDate() { return kepSendDate; }
        public DownloadedRemMessage setKepSendDate(Date value) { this.kepSendDate = value; return this; }
        public Boolean isKepSendDateSpecified() { return kepSendDateSpecified; }
        public DownloadedRemMessage setKepSendDateSpecified(Boolean value) { this.kepSendDateSpecified = value; return this; }
        public String getKepSubject() { return kepSubject; }
        public DownloadedRemMessage setKepSubject(String value) { this.kepSubject = value; return this; }
        public String getKepTo() { return kepTo; }
        public DownloadedRemMessage setKepTo(String value) { this.kepTo = value; return this; }
        public String getKepTRgunSayac() { return kepTRgunSayac; }
        public DownloadedRemMessage setKepTRgunSayac(String value) { this.kepTRgunSayac = value; return this; }
        public String getKepTRIletiID() { return kepTRIletiID; }
        public DownloadedRemMessage setKepTRIletiID(String value) { this.kepTRIletiID = value; return this; }
        public String getKepTRIletiTip() { return kepTRIletiTip; }
        public DownloadedRemMessage setKepTRIletiTip(String value) { this.kepTRIletiTip = value; return this; }
        public String getKepUAMessageIdentifier() { return kepUAMessageIdentifier; }
        public DownloadedRemMessage setKepUAMessageIdentifier(String value) { this.kepUAMessageIdentifier = value; return this; }
        public String getStatus() { return Status; }
        public DownloadedRemMessage setStatus(String value) { this.Status = value; return this; }
        public ArrayList<RemMessageEK> getKepEklistesi() { return kepEklistesi; }
        public DownloadedRemMessage setKepEklistesi(ArrayList<RemMessageEK> value) { this.kepEklistesi = value; return this; }
        public ArrayList<RemMsgEvidence> getKepDelilListesi() { return kepDelilListesi; }
        public DownloadedRemMessage setKepDelilListesi(ArrayList<RemMsgEvidence> value) { this.kepDelilListesi = value; return this; }
        public ArrayList<RemMsgDelivery> getKepTeslimalListesi() { return kepTeslimalListesi; }
        public DownloadedRemMessage setKepTeslimalListesi(ArrayList<RemMsgDelivery> value) { this.kepTeslimalListesi = value; return this; }
    }

    public static class RemMessageEK
    {
        public String Name = null;
        public byte[] AttachmentContent = null;
        public Long AtachmentId = null;
        
        public String getName() { return Name; }
        public RemMessageEK setName(String value) { this.Name = value; return this; }
        public byte[] getAttachmentContent() { return AttachmentContent; }
        public RemMessageEK setAttachmentContent(byte[] value) { this.AttachmentContent = value; return this; }
        public Long getAtachmentId() { return AtachmentId; }
        public RemMessageEK setAtachmentId(Long value) { this.AtachmentId = value; return this; }
    }

    public static class RemMsgEvidence
    {
        public Long RemMessageEvidenceId = null;
        public Long RemId = null;
        public Integer EvidenceTypeId = null;
        public Integer EvidenceCodeId = null;
        public String EvidenceRemSubject = null;
        public String EvidenceMessageID = null;
        public Date EvidenceDate = null;
        
        public Long getRemMessageEvidenceId() { return RemMessageEvidenceId; }
        public RemMsgEvidence setRemMessageEvidenceId(Long value) { this.RemMessageEvidenceId = value; return this; }
        public Long getRemId() { return RemId; }
        public RemMsgEvidence setRemId(Long value) { this.RemId = value; return this; }
        public Integer getEvidenceTypeId() { return EvidenceTypeId; }
        public RemMsgEvidence setEvidenceTypeId(Integer value) { this.EvidenceTypeId = value; return this; }
        public Integer getEvidenceCodeId() { return EvidenceCodeId; }
        public RemMsgEvidence setEvidenceCodeId(Integer value) { this.EvidenceCodeId = value; return this; }
        public String getEvidenceRemSubject() { return EvidenceRemSubject; }
        public RemMsgEvidence setEvidenceRemSubject(String value) { this.EvidenceRemSubject = value; return this; }
        public String getEvidenceMessageID() { return EvidenceMessageID; }
        public RemMsgEvidence setEvidenceMessageID(String value) { this.EvidenceMessageID = value; return this; }
        public Date getEvidenceDate() { return EvidenceDate; }
        public RemMsgEvidence setEvidenceDate(Date value) { this.EvidenceDate = value; return this; }
    }

    public static class RemMsgDelivery
    {
        public Long RemDeliveryId = null;
        public Long RemId = null;
        public String AddressType = null;
        public String RemDisplayName = null;
        public String RemAddress = null;
        public String Status = null;
        public Integer RemSPId = null;
        public Short SystemAcceptance = null;
        public Date SystemAcceptanceDate = null;
        public Short RecipientAcceptance = null;
        public Date RecipientAcceptanceDate = null;
        public Short Delivered = null;
        public Date DeliveredDate = null;
        public Short Read = null;
        public Date ReadDate = null;
        
        public Long getRemDeliveryId() { return RemDeliveryId; }
        public RemMsgDelivery setRemDeliveryId(Long value) { this.RemDeliveryId = value; return this; }
        public Long getRemId() { return RemId; }
        public RemMsgDelivery setRemId(Long value) { this.RemId = value; return this; }
        public String getAddressType() { return AddressType; }
        public RemMsgDelivery setAddressType(String value) { this.AddressType = value; return this; }
        public String getRemDisplayName() { return RemDisplayName; }
        public RemMsgDelivery setRemDisplayName(String value) { this.RemDisplayName = value; return this; }
        public String getRemAddress() { return RemAddress; }
        public RemMsgDelivery setRemAddress(String value) { this.RemAddress = value; return this; }
        public String getStatus() { return Status; }
        public RemMsgDelivery setStatus(String value) { this.Status = value; return this; }
        public Integer getRemSPId() { return RemSPId; }
        public RemMsgDelivery setRemSPId(Integer value) { this.RemSPId = value; return this; }
        public Short getSystemAcceptance() { return SystemAcceptance; }
        public RemMsgDelivery setSystemAcceptance(Short value) { this.SystemAcceptance = value; return this; }
        public Date getSystemAcceptanceDate() { return SystemAcceptanceDate; }
        public RemMsgDelivery setSystemAcceptanceDate(Date value) { this.SystemAcceptanceDate = value; return this; }
        public Short getRecipientAcceptance() { return RecipientAcceptance; }
        public RemMsgDelivery setRecipientAcceptance(Short value) { this.RecipientAcceptance = value; return this; }
        public Date getRecipientAcceptanceDate() { return RecipientAcceptanceDate; }
        public RemMsgDelivery setRecipientAcceptanceDate(Date value) { this.RecipientAcceptanceDate = value; return this; }
        public Short getDelivered() { return Delivered; }
        public RemMsgDelivery setDelivered(Short value) { this.Delivered = value; return this; }
        public Date getDeliveredDate() { return DeliveredDate; }
        public RemMsgDelivery setDeliveredDate(Date value) { this.DeliveredDate = value; return this; }
        public Short getRead() { return Read; }
        public RemMsgDelivery setRead(Short value) { this.Read = value; return this; }
        public Date getReadDate() { return ReadDate; }
        public RemMsgDelivery setReadDate(Date value) { this.ReadDate = value; return this; }
    }

}

Java GetRemMessage 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 /GetRemMessage HTTP/1.1 
Host: remservices.eyyubiye.bel.tr 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<GetRemMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DaBRemServices.ServiceModel">
  <AuthorizationID>String</AuthorizationID>
  <ClientKey>String</ClientKey>
  <RemID>0</RemID>
</GetRemMessage>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetRemMessageResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DaBRemServices.ServiceModel">
  <ErrorMesage>String</ErrorMesage>
  <Result>
    <Status>String</Status>
    <kepCC>String</kepCC>
    <kepDelilListesi>
      <RemMsgEvidence>
        <EvidenceCodeId>0</EvidenceCodeId>
        <EvidenceDate>0001-01-01T00:00:00</EvidenceDate>
        <EvidenceMessageID>String</EvidenceMessageID>
        <EvidenceRemSubject>String</EvidenceRemSubject>
        <EvidenceTypeId>0</EvidenceTypeId>
        <RemId>0</RemId>
        <RemMessageEvidenceId>0</RemMessageEvidenceId>
      </RemMsgEvidence>
    </kepDelilListesi>
    <kepEklistesi>
      <RemMessageEK>
        <AtachmentId>0</AtachmentId>
        <AttachmentContent>AA==</AttachmentContent>
        <Name>String</Name>
      </RemMessageEK>
    </kepEklistesi>
    <kepEventCode>String</kepEventCode>
    <kepEvidenceType>String</kepEvidenceType>
    <kepFrom>String</kepFrom>
    <kepId>0</kepId>
    <kepIleti>String</kepIleti>
    <kepMessageID>String</kepMessageID>
    <kepMsgType>String</kepMsgType>
    <kepReceivedDate>0001-01-01T00:00:00</kepReceivedDate>
    <kepReceivedDateSpecified>false</kepReceivedDateSpecified>
    <kepSendDate>0001-01-01T00:00:00</kepSendDate>
    <kepSendDateSpecified>false</kepSendDateSpecified>
    <kepSubject>String</kepSubject>
    <kepTRIletiID>String</kepTRIletiID>
    <kepTRIletiTip>String</kepTRIletiTip>
    <kepTRgunSayac>String</kepTRgunSayac>
    <kepTeslimalListesi>
      <RemMsgDelivery>
        <AddressType>String</AddressType>
        <Delivered>0</Delivered>
        <DeliveredDate>0001-01-01T00:00:00</DeliveredDate>
        <Read>0</Read>
        <ReadDate>0001-01-01T00:00:00</ReadDate>
        <RecipientAcceptance>0</RecipientAcceptance>
        <RecipientAcceptanceDate>0001-01-01T00:00:00</RecipientAcceptanceDate>
        <RemAddress>String</RemAddress>
        <RemDeliveryId>0</RemDeliveryId>
        <RemDisplayName>String</RemDisplayName>
        <RemId>0</RemId>
        <RemSPId>0</RemSPId>
        <Status>String</Status>
        <SystemAcceptance>0</SystemAcceptance>
        <SystemAcceptanceDate>0001-01-01T00:00:00</SystemAcceptanceDate>
      </RemMsgDelivery>
    </kepTeslimalListesi>
    <kepTo>String</kepTo>
    <kepUAMessageIdentifier>String</kepUAMessageIdentifier>
  </Result>
  <ServiceSuccessResult>false</ServiceSuccessResult>
</GetRemMessageResponse>