Reporting Services

<back to all web services

DuplicateTransactionEditRequest

Requires Authentication
The following routes are available for this service:
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 .xml suffix or ?format=xml

HTTP + XML

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: application/xml
Content-Type: application/xml
Content-Length: length

<DuplicateTransactionEditRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ReportingService.Services.Rest.Transactions">
  <DuplicateTrans xmlns:d2p1="http://schemas.datacontract.org/2004/07/ReportingService.Data.Models.Transactions">
    <d2p1:DuplicateTransactionDetail>
      <d2p1:AccountCardType>String</d2p1:AccountCardType>
      <d2p1:AdjustmentTypeId>String</d2p1:AdjustmentTypeId>
      <d2p1:Amex>0</d2p1:Amex>
      <d2p1:AmountProcessed>0</d2p1:AmountProcessed>
      <d2p1:ApprovalNumberResult>String</d2p1:ApprovalNumberResult>
      <d2p1:BillingName>String</d2p1:BillingName>
      <d2p1:Cashier>String</d2p1:Cashier>
      <d2p1:Comment>String</d2p1:Comment>
      <d2p1:CompanyId>String</d2p1:CompanyId>
      <d2p1:CompanyName>String</d2p1:CompanyName>
      <d2p1:ComputerDateTime>0001-01-01T00:00:00</d2p1:ComputerDateTime>
      <d2p1:ComputerName>String</d2p1:ComputerName>
      <d2p1:CreatedOn>0001-01-01T00:00:00</d2p1:CreatedOn>
      <d2p1:DeveloperName>String</d2p1:DeveloperName>
      <d2p1:DeviceBatchNumber>String</d2p1:DeviceBatchNumber>
      <d2p1:DeviceName>String</d2p1:DeviceName>
      <d2p1:DupCount>0</d2p1:DupCount>
      <d2p1:DupCreatedBy>String</d2p1:DupCreatedBy>
      <d2p1:DupCreatedOn>0001-01-01T00:00:00</d2p1:DupCreatedOn>
      <d2p1:DuplicateFlag>String</d2p1:DuplicateFlag>
      <d2p1:EndDateFilter>String</d2p1:EndDateFilter>
      <d2p1:FromLogFile>String</d2p1:FromLogFile>
      <d2p1:LocationId>String</d2p1:LocationId>
      <d2p1:LocationName>String</d2p1:LocationName>
      <d2p1:MaskedAccount>String</d2p1:MaskedAccount>
      <d2p1:MerchantId>String</d2p1:MerchantId>
      <d2p1:MinsTermOffBy>0</d2p1:MinsTermOffBy>
      <d2p1:MissingTransactions>false</d2p1:MissingTransactions>
      <d2p1:NoAmex>0</d2p1:NoAmex>
      <d2p1:NumberMissing>0</d2p1:NumberMissing>
      <d2p1:ObjectId>String</d2p1:ObjectId>
      <d2p1:ProcessorTransactionId>String</d2p1:ProcessorTransactionId>
      <d2p1:ResultMessage>String</d2p1:ResultMessage>
      <d2p1:ResultStatus>String</d2p1:ResultStatus>
      <d2p1:Route>String</d2p1:Route>
      <d2p1:SerialNumber>String</d2p1:SerialNumber>
      <d2p1:Source>String</d2p1:Source>
      <d2p1:StartDateFilter>String</d2p1:StartDateFilter>
      <d2p1:TerminalDateTime>0001-01-01T00:00:00</d2p1:TerminalDateTime>
      <d2p1:TransactionId>String</d2p1:TransactionId>
      <d2p1:TransactionReference>String</d2p1:TransactionReference>
      <d2p1:TransactionType>String</d2p1:TransactionType>
      <d2p1:TransrefDiff>false</d2p1:TransrefDiff>
      <d2p1:UniqueTransId>String</d2p1:UniqueTransId>
      <d2p1:UniqueTransIdNum>0</d2p1:UniqueTransIdNum>
      <d2p1:Version>String</d2p1:Version>
    </d2p1:DuplicateTransactionDetail>
  </DuplicateTrans>
</DuplicateTransactionEditRequest>