DaBRemService

<back to all web services

GetRemMessage

The following routes are available for this service:
All Verbs/GetRemMessage
"use strict";
export class RemMessageEK {
    /** @param {{Name?:string,AttachmentContent?:string,AtachmentId?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    Name;
    /** @type {string} */
    AttachmentContent;
    /** @type {number} */
    AtachmentId;
}
export class RemMsgEvidence {
    /** @param {{RemMessageEvidenceId?:number,RemId?:number,EvidenceTypeId?:number,EvidenceCodeId?:number,EvidenceRemSubject?:string,EvidenceMessageID?:string,EvidenceDate?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    RemMessageEvidenceId;
    /** @type {?number} */
    RemId;
    /** @type {?number} */
    EvidenceTypeId;
    /** @type {?number} */
    EvidenceCodeId;
    /** @type {string} */
    EvidenceRemSubject;
    /** @type {string} */
    EvidenceMessageID;
    /** @type {?string} */
    EvidenceDate;
}
export class RemMsgDelivery {
    /** @param {{RemDeliveryId?:number,RemId?:number,AddressType?:string,RemDisplayName?:string,RemAddress?:string,Status?:string,RemSPId?:number,SystemAcceptance?:number,SystemAcceptanceDate?:string,RecipientAcceptance?:number,RecipientAcceptanceDate?:string,Delivered?:number,DeliveredDate?:string,Read?:number,ReadDate?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    RemDeliveryId;
    /** @type {number} */
    RemId;
    /** @type {string} */
    AddressType;
    /** @type {string} */
    RemDisplayName;
    /** @type {string} */
    RemAddress;
    /** @type {string} */
    Status;
    /** @type {?number} */
    RemSPId;
    /** @type {number} */
    SystemAcceptance;
    /** @type {?string} */
    SystemAcceptanceDate;
    /** @type {number} */
    RecipientAcceptance;
    /** @type {?string} */
    RecipientAcceptanceDate;
    /** @type {number} */
    Delivered;
    /** @type {?string} */
    DeliveredDate;
    /** @type {number} */
    Read;
    /** @type {?string} */
    ReadDate;
}
export class DownloadedRemMessage {
    /** @param {{kepId?:number,kepCC?:string,kepEventCode?:string,kepEvidenceType?:string,kepFrom?:string,kepIleti?:string,kepMessageID?:string,kepMsgType?:string,kepReceivedDate?:string,kepReceivedDateSpecified?:boolean,kepSendDate?:string,kepSendDateSpecified?:boolean,kepSubject?:string,kepTo?:string,kepTRgunSayac?:string,kepTRIletiID?:string,kepTRIletiTip?:string,kepUAMessageIdentifier?:string,Status?:string,kepEklistesi?:RemMessageEK[],kepDelilListesi?:RemMsgEvidence[],kepTeslimalListesi?:RemMsgDelivery[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    kepId;
    /** @type {string} */
    kepCC;
    /** @type {string} */
    kepEventCode;
    /** @type {string} */
    kepEvidenceType;
    /** @type {string} */
    kepFrom;
    /** @type {string} */
    kepIleti;
    /** @type {string} */
    kepMessageID;
    /** @type {string} */
    kepMsgType;
    /** @type {string} */
    kepReceivedDate;
    /** @type {boolean} */
    kepReceivedDateSpecified;
    /** @type {string} */
    kepSendDate;
    /** @type {boolean} */
    kepSendDateSpecified;
    /** @type {string} */
    kepSubject;
    /** @type {string} */
    kepTo;
    /** @type {string} */
    kepTRgunSayac;
    /** @type {string} */
    kepTRIletiID;
    /** @type {string} */
    kepTRIletiTip;
    /** @type {string} */
    kepUAMessageIdentifier;
    /** @type {string} */
    Status;
    /** @type {RemMessageEK[]} */
    kepEklistesi;
    /** @type {RemMsgEvidence[]} */
    kepDelilListesi;
    /** @type {RemMsgDelivery[]} */
    kepTeslimalListesi;
}
export class GetRemMessageResponse {
    /** @param {{Result?:DownloadedRemMessage,ServiceSuccessResult?:boolean,ErrorMesage?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {DownloadedRemMessage} */
    Result;
    /** @type {boolean} */
    ServiceSuccessResult;
    /** @type {string} */
    ErrorMesage;
}
export class GetRemMessage {
    /** @param {{AuthorizationID?:string,ClientKey?:string,RemID?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    AuthorizationID;
    /** @type {string} */
    ClientKey;
    /** @type {number} */
    RemID;
}

JavaScript 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>