All Verbs | /Transactions/Duplicate |
---|
export class DuplicateTransactionDetail
{
public ObjectId?: string;
public CreatedOn?: string;
public Route?: string;
public SerialNumber?: string;
public TransactionType?: string;
public AmountProcessed?: number;
public LocationName?: string;
public LocationId?: string;
public ComputerName?: string;
public Amex?: number;
public NoAmex?: number;
public UniqueTransIdNum?: number;
public UniqueTransId?: string;
public TransactionId?: string;
public DeviceBatchNumber?: string;
public DeveloperName?: string;
public DeviceName?: string;
public Version?: string;
public ComputerDateTime?: string;
public TerminalDateTime?: string;
public CompanyName?: string;
public MaskedAccount?: string;
public ApprovalNumberResult?: string;
public MerchantId?: string;
public CompanyId?: string;
public MissingTransactions?: boolean;
public NumberMissing?: number;
public StartDateFilter?: string;
public EndDateFilter?: string;
public AdjustmentTypeId?: string;
public FromLogFile?: string;
public ResultStatus?: string;
public MinsTermOffBy?: number;
public Source?: string;
public DuplicateFlag?: string;
public Comment?: string;
public DupCreatedOn?: string;
public DupCreatedBy?: string;
public DupCount?: number;
public ProcessorTransactionId?: string;
public TransactionReference?: string;
public BillingName?: string;
public ResultMessage?: string;
public TransrefDiff?: boolean;
public Cashier?: string;
public AccountCardType?: string;
public constructor(init?: Partial<DuplicateTransactionDetail>) { (Object as any).assign(this, init); }
}
export class DuplicateTransactionEditRequest
{
public DuplicateTrans?: DuplicateTransactionDetail[];
public constructor(init?: Partial<DuplicateTransactionEditRequest>) { (Object as any).assign(this, init); }
}
TypeScript 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-staging.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
}
]
}