| All Verbs | /GetInbox |
|---|
"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 GetInboxResponse {
/** @param {{Result?:ViewedRemMessage[],ServiceSuccessResult?:boolean,ErrorMesage?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ViewedRemMessage[]} */
Result;
/** @type {boolean} */
ServiceSuccessResult;
/** @type {string} */
ErrorMesage;
}
export class GetInbox {
/** @param {{AuthorizationID?:string,ClientKey?:string,RemAdressID?:number,LastRemID?:number,DateBegin?:string,DateEnd?:string,CurrentRemID?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
AuthorizationID;
/** @type {string} */
ClientKey;
/** @type {number} */
RemAdressID;
/** @type {number} */
LastRemID;
/** @type {string} */
DateBegin;
/** @type {string} */
DateEnd;
/** @type {?number} */
CurrentRemID;
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
AuthorizationID: String,
ClientKey: String,
RemAdressID: 0,
LastRemID: 0,
DateBegin: 0001-01-01,
DateEnd: 0001-01-01,
CurrentRemID: 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
}
]
}
],
ServiceSuccessResult: False,
ErrorMesage: String
}