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 .other suffix or ?format=other

HTTP + OTHER

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: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"AuthorizationID":"String","ClientKey":"String","RemID":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Result":{"kepId":0,"kepCC":"String","kepEventCode":"String","kepEvidenceType":"String","kepFrom":"String","kepIleti":"String","kepMessageID":"String","kepMsgType":"String","kepReceivedDate":"\/Date(-62135596800000-0000)\/","kepReceivedDateSpecified":false,"kepSendDate":"\/Date(-62135596800000-0000)\/","kepSendDateSpecified":false,"kepSubject":"String","kepTo":"String","kepTRgunSayac":"String","kepTRIletiID":"String","kepTRIletiTip":"String","kepUAMessageIdentifier":"String","Status":"String","kepEklistesi":[{"Name":"String","AttachmentContent":"AA==","AtachmentId":0}],"kepDelilListesi":[{"RemMessageEvidenceId":0,"RemId":0,"EvidenceTypeId":0,"EvidenceCodeId":0,"EvidenceRemSubject":"String","EvidenceMessageID":"String","EvidenceDate":"\/Date(-62135596800000-0000)\/"}],"kepTeslimalListesi":[{"RemDeliveryId":0,"RemId":0,"AddressType":"String","RemDisplayName":"String","RemAddress":"String","Status":"String","RemSPId":0,"SystemAcceptance":0,"SystemAcceptanceDate":"\/Date(-62135596800000-0000)\/","RecipientAcceptance":0,"RecipientAcceptanceDate":"\/Date(-62135596800000-0000)\/","Delivered":0,"DeliveredDate":"\/Date(-62135596800000-0000)\/","Read":0,"ReadDate":"\/Date(-62135596800000-0000)\/"}]},"ServiceSuccessResult":false,"ErrorMesage":"String"}