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

<GetInbox xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DaBRemServices.ServiceModel">
  <AuthorizationID>String</AuthorizationID>
  <ClientKey>String</ClientKey>
  <CurrentRemID>0</CurrentRemID>
  <DateBegin>0001-01-01T00:00:00</DateBegin>
  <DateEnd>0001-01-01T00:00:00</DateEnd>
  <LastRemID>0</LastRemID>
  <RemAdressID>0</RemAdressID>
</GetInbox>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetInboxResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DaBRemServices.ServiceModel">
  <ErrorMesage>String</ErrorMesage>
  <Result>
    <ViewedRemMessage>
      <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>
      <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>
      <status>String</status>
    </ViewedRemMessage>
  </Result>
  <ServiceSuccessResult>false</ServiceSuccessResult>
</GetInboxResponse>