DaBRemService

<back to all web services

GetOutRemMessage

The following routes are available for this service:
All Verbs/GetOutRemMessage
"use strict";
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 ViewedRemMessage {
    /** @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,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 {RemMsgEvidence[]} */
    kepDelilListesi;
    /** @type {RemMsgDelivery[]} */
    kepTeslimalListesi;
}
export class RemDelivery {
    /** @param {{AddressType?:string,RemAddress?:string,Status?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    AddressType;
    /** @type {string} */
    RemAddress;
    /** @type {string} */
    Status;
}
export class RemEvidence {
    /** @param {{EvidenceType?:string,EvidenceSubject?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    EvidenceType;
    /** @type {string} */
    EvidenceSubject;
}
export class GetOutRemMessageResponse {
    /** @param {{Result?:ViewedRemMessage,Deliveries?:RemDelivery[],Evidences?:RemEvidence[],ServiceSuccessResult?:boolean,ErrorMesage?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {ViewedRemMessage} */
    Result;
    /** @type {RemDelivery[]} */
    Deliveries;
    /** @type {RemEvidence[]} */
    Evidences;
    /** @type {boolean} */
    ServiceSuccessResult;
    /** @type {string} */
    ErrorMesage;
}
export class GetOutRemMessage {
    /** @param {{AuthorizationID?:string,ClientKey?:string,RemID?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    AuthorizationID;
    /** @type {string} */
    ClientKey;
    /** @type {number} */
    RemID;
}

JavaScript GetOutRemMessage DTOs

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

HTTP + JSV

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

POST /GetOutRemMessage HTTP/1.1 
Host: remservices.eyyubiye.bel.tr 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

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

{
	Result: 
	{
		kepId: 0,
		kepCC: String,
		kepEventCode: String,
		kepEvidenceType: String,
		kepFrom: String,
		kepIleti: String,
		kepMessageID: String,
		kepMsgType: String,
		kepReceivedDate: 0001-01-01,
		kepReceivedDateSpecified: False,
		kepSendDate: 0001-01-01,
		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: 0001-01-01
			}
		],
		kepTeslimalListesi: 
		[
			{
				RemDeliveryId: 0,
				RemId: 0,
				AddressType: String,
				RemDisplayName: String,
				RemAddress: String,
				Status: String,
				RemSPId: 0,
				SystemAcceptance: 0,
				SystemAcceptanceDate: 0001-01-01,
				RecipientAcceptance: 0,
				RecipientAcceptanceDate: 0001-01-01,
				Delivered: 0,
				DeliveredDate: 0001-01-01,
				Read: 0,
				ReadDate: 0001-01-01
			}
		]
	},
	Deliveries: 
	[
		{
			AddressType: String,
			RemAddress: String,
			Status: String
		}
	],
	Evidences: 
	[
		{
			EvidenceType: String,
			EvidenceSubject: String
		}
	],
	ServiceSuccessResult: False,
	ErrorMesage: String
}