| 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
}
]
}