| All Verbs | /Transactions/Duplicate |
|---|
"use strict";
export class DuplicateTransactionDetail {
/** @param {{objectId?:string,createdOn?:string,route?:string,serialNumber?:string,transactionType?:string,amountProcessed?:number,locationName?:string,locationId?:string,computerName?:string,amex?:number,noAmex?:number,uniqueTransIdNum?:number,uniqueTransId?:string,transactionId?:string,deviceBatchNumber?:string,developerName?:string,deviceName?:string,version?:string,computerDateTime?:string,terminalDateTime?:string,companyName?:string,maskedAccount?:string,approvalNumberResult?:string,merchantId?:string,companyId?:string,missingTransactions?:boolean,numberMissing?:number,startDateFilter?:string,endDateFilter?:string,adjustmentTypeId?:string,fromLogFile?:string,resultStatus?:string,minsTermOffBy?:number,source?:string,duplicateFlag?:string,comment?:string,dupCreatedOn?:string,dupCreatedBy?:string,dupCount?:number,processorTransactionId?:string,transactionReference?:string,billingName?:string,resultMessage?:string,transrefDiff?:boolean,cashier?:string,accountCardType?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?string} */
objectId;
/** @type {string} */
createdOn;
/** @type {?string} */
route;
/** @type {?string} */
serialNumber;
/** @type {?string} */
transactionType;
/** @type {?number} */
amountProcessed;
/** @type {?string} */
locationName;
/** @type {?string} */
locationId;
/** @type {?string} */
computerName;
/** @type {?number} */
amex;
/** @type {?number} */
noAmex;
/** @type {?number} */
uniqueTransIdNum;
/** @type {?string} */
uniqueTransId;
/** @type {?string} */
transactionId;
/** @type {?string} */
deviceBatchNumber;
/** @type {?string} */
developerName;
/** @type {?string} */
deviceName;
/** @type {?string} */
version;
/** @type {?string} */
computerDateTime;
/** @type {?string} */
terminalDateTime;
/** @type {?string} */
companyName;
/** @type {?string} */
maskedAccount;
/** @type {?string} */
approvalNumberResult;
/** @type {?string} */
merchantId;
/** @type {?string} */
companyId;
/** @type {boolean} */
missingTransactions;
/** @type {number} */
numberMissing;
/** @type {?string} */
startDateFilter;
/** @type {?string} */
endDateFilter;
/** @type {?string} */
adjustmentTypeId;
/** @type {?string} */
fromLogFile;
/** @type {?string} */
resultStatus;
/** @type {?number} */
minsTermOffBy;
/** @type {?string} */
source;
/** @type {?string} */
duplicateFlag;
/** @type {?string} */
comment;
/** @type {?string} */
dupCreatedOn;
/** @type {?string} */
dupCreatedBy;
/** @type {?number} */
dupCount;
/** @type {?string} */
processorTransactionId;
/** @type {?string} */
transactionReference;
/** @type {?string} */
billingName;
/** @type {?string} */
resultMessage;
/** @type {?boolean} */
transrefDiff;
/** @type {?string} */
cashier;
/** @type {?string} */
accountCardType;
}
export class DuplicateTransactionEditRequest {
/** @param {{duplicateTrans?:DuplicateTransactionDetail[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?DuplicateTransactionDetail[]} */
duplicateTrans;
}
JavaScript DuplicateTransactionEditRequest DTOs
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 /Transactions/Duplicate HTTP/1.1
Host: cip-reporting-dev.chargeitpro.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
duplicateTrans:
[
{
objectId: String,
createdOn: 0001-01-01,
route: String,
serialNumber: String,
transactionType: String,
amountProcessed: 0,
locationName: String,
locationId: String,
computerName: String,
amex: 0,
noAmex: 0,
uniqueTransIdNum: 0,
uniqueTransId: String,
transactionId: String,
deviceBatchNumber: String,
developerName: String,
deviceName: String,
version: String,
computerDateTime: 0001-01-01,
terminalDateTime: 0001-01-01,
companyName: String,
maskedAccount: String,
approvalNumberResult: String,
merchantId: String,
companyId: String,
missingTransactions: False,
numberMissing: 0,
startDateFilter: String,
endDateFilter: String,
adjustmentTypeId: String,
fromLogFile: String,
resultStatus: String,
minsTermOffBy: 0,
source: String,
duplicateFlag: String,
comment: String,
dupCreatedOn: 0001-01-01,
dupCreatedBy: String,
dupCount: 0,
processorTransactionId: String,
transactionReference: String,
billingName: String,
resultMessage: String,
transrefDiff: False,
cashier: String,
accountCardType: String
}
]
}