DaBRemService

<back to all web services

GetInbox

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

public class dtos
{

    public static class GetInbox
    {
        public String AuthorizationID = null;
        public String ClientKey = null;
        public Long RemAdressID = null;
        public Long LastRemID = null;
        public Date DateBegin = null;
        public Date DateEnd = null;
        public Long CurrentRemID = null;
        
        public String getAuthorizationID() { return AuthorizationID; }
        public GetInbox setAuthorizationID(String value) { this.AuthorizationID = value; return this; }
        public String getClientKey() { return ClientKey; }
        public GetInbox setClientKey(String value) { this.ClientKey = value; return this; }
        public Long getRemAdressID() { return RemAdressID; }
        public GetInbox setRemAdressID(Long value) { this.RemAdressID = value; return this; }
        public Long getLastRemID() { return LastRemID; }
        public GetInbox setLastRemID(Long value) { this.LastRemID = value; return this; }
        public Date getDateBegin() { return DateBegin; }
        public GetInbox setDateBegin(Date value) { this.DateBegin = value; return this; }
        public Date getDateEnd() { return DateEnd; }
        public GetInbox setDateEnd(Date value) { this.DateEnd = value; return this; }
        public Long getCurrentRemID() { return CurrentRemID; }
        public GetInbox setCurrentRemID(Long value) { this.CurrentRemID = value; return this; }
    }

    public static class GetInboxResponse
    {
        public ArrayList<ViewedRemMessage> Result = null;
        public Boolean ServiceSuccessResult = null;
        public String ErrorMesage = null;
        
        public ArrayList<ViewedRemMessage> getResult() { return Result; }
        public GetInboxResponse setResult(ArrayList<ViewedRemMessage> value) { this.Result = value; return this; }
        public Boolean isServiceSuccessResult() { return ServiceSuccessResult; }
        public GetInboxResponse setServiceSuccessResult(Boolean value) { this.ServiceSuccessResult = value; return this; }
        public String getErrorMesage() { return ErrorMesage; }
        public GetInboxResponse setErrorMesage(String value) { this.ErrorMesage = value; return this; }
    }

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

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /GetInbox HTTP/1.1 
Host: remservices.eyyubiye.bel.tr 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"AuthorizationID":"String","ClientKey":"String","RemAdressID":0,"LastRemID":0,"DateBegin":"\/Date(-62135596800000-0000)\/","DateEnd":"\/Date(-62135596800000-0000)\/","CurrentRemID":0}
HTTP/1.1 200 OK
Content-Type: application/json
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","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"}