Reporting Services

<back to all web services

DuplicateTransactionEditRequest

Requires Authentication
The following routes are available for this service:
All Verbs/Transactions/Duplicate
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class DuplicateTransactionEditRequest
    {
        public ArrayList<DuplicateTransactionDetail> DuplicateTrans = null;
        
        public ArrayList<DuplicateTransactionDetail> getDuplicateTrans() { return DuplicateTrans; }
        public DuplicateTransactionEditRequest setDuplicateTrans(ArrayList<DuplicateTransactionDetail> value) { this.DuplicateTrans = value; return this; }
    }

    public static class DuplicateTransactionDetail
    {
        public String ObjectId = null;
        public Date CreatedOn = null;
        public String Route = null;
        public String SerialNumber = null;
        public String TransactionType = null;
        public BigDecimal AmountProcessed = null;
        public String LocationName = null;
        public String LocationId = null;
        public String ComputerName = null;
        public BigDecimal Amex = null;
        public BigDecimal NoAmex = null;
        public Integer UniqueTransIdNum = null;
        public String UniqueTransId = null;
        public String TransactionId = null;
        public String DeviceBatchNumber = null;
        public String DeveloperName = null;
        public String DeviceName = null;
        public String Version = null;
        public Date ComputerDateTime = null;
        public Date TerminalDateTime = null;
        public String CompanyName = null;
        public String MaskedAccount = null;
        public String ApprovalNumberResult = null;
        public String MerchantId = null;
        public String CompanyId = null;
        public Boolean MissingTransactions = null;
        public Integer NumberMissing = null;
        public String StartDateFilter = null;
        public String EndDateFilter = null;
        public String AdjustmentTypeId = null;
        public String FromLogFile = null;
        public String ResultStatus = null;
        public Integer MinsTermOffBy = null;
        public String Source = null;
        public String DuplicateFlag = null;
        public String Comment = null;
        public Date DupCreatedOn = null;
        public String DupCreatedBy = null;
        public Integer DupCount = null;
        public String ProcessorTransactionId = null;
        public String TransactionReference = null;
        public String BillingName = null;
        public String ResultMessage = null;
        public Boolean TransrefDiff = null;
        public String Cashier = null;
        public String AccountCardType = null;
        
        public String getObjectId() { return ObjectId; }
        public DuplicateTransactionDetail setObjectId(String value) { this.ObjectId = value; return this; }
        public Date getCreatedOn() { return CreatedOn; }
        public DuplicateTransactionDetail setCreatedOn(Date value) { this.CreatedOn = value; return this; }
        public String getRoute() { return Route; }
        public DuplicateTransactionDetail setRoute(String value) { this.Route = value; return this; }
        public String getSerialNumber() { return SerialNumber; }
        public DuplicateTransactionDetail setSerialNumber(String value) { this.SerialNumber = value; return this; }
        public String getTransactionType() { return TransactionType; }
        public DuplicateTransactionDetail setTransactionType(String value) { this.TransactionType = value; return this; }
        public BigDecimal getAmountProcessed() { return AmountProcessed; }
        public DuplicateTransactionDetail setAmountProcessed(BigDecimal value) { this.AmountProcessed = value; return this; }
        public String getLocationName() { return LocationName; }
        public DuplicateTransactionDetail setLocationName(String value) { this.LocationName = value; return this; }
        public String getLocationId() { return LocationId; }
        public DuplicateTransactionDetail setLocationId(String value) { this.LocationId = value; return this; }
        public String getComputerName() { return ComputerName; }
        public DuplicateTransactionDetail setComputerName(String value) { this.ComputerName = value; return this; }
        public BigDecimal getAmex() { return Amex; }
        public DuplicateTransactionDetail setAmex(BigDecimal value) { this.Amex = value; return this; }
        public BigDecimal getNoAmex() { return NoAmex; }
        public DuplicateTransactionDetail setNoAmex(BigDecimal value) { this.NoAmex = value; return this; }
        public Integer getUniqueTransIdNum() { return UniqueTransIdNum; }
        public DuplicateTransactionDetail setUniqueTransIdNum(Integer value) { this.UniqueTransIdNum = value; return this; }
        public String getUniqueTransId() { return UniqueTransId; }
        public DuplicateTransactionDetail setUniqueTransId(String value) { this.UniqueTransId = value; return this; }
        public String getTransactionId() { return TransactionId; }
        public DuplicateTransactionDetail setTransactionId(String value) { this.TransactionId = value; return this; }
        public String getDeviceBatchNumber() { return DeviceBatchNumber; }
        public DuplicateTransactionDetail setDeviceBatchNumber(String value) { this.DeviceBatchNumber = value; return this; }
        public String getDeveloperName() { return DeveloperName; }
        public DuplicateTransactionDetail setDeveloperName(String value) { this.DeveloperName = value; return this; }
        public String getDeviceName() { return DeviceName; }
        public DuplicateTransactionDetail setDeviceName(String value) { this.DeviceName = value; return this; }
        public String getVersion() { return Version; }
        public DuplicateTransactionDetail setVersion(String value) { this.Version = value; return this; }
        public Date getComputerDateTime() { return ComputerDateTime; }
        public DuplicateTransactionDetail setComputerDateTime(Date value) { this.ComputerDateTime = value; return this; }
        public Date getTerminalDateTime() { return TerminalDateTime; }
        public DuplicateTransactionDetail setTerminalDateTime(Date value) { this.TerminalDateTime = value; return this; }
        public String getCompanyName() { return CompanyName; }
        public DuplicateTransactionDetail setCompanyName(String value) { this.CompanyName = value; return this; }
        public String getMaskedAccount() { return MaskedAccount; }
        public DuplicateTransactionDetail setMaskedAccount(String value) { this.MaskedAccount = value; return this; }
        public String getApprovalNumberResult() { return ApprovalNumberResult; }
        public DuplicateTransactionDetail setApprovalNumberResult(String value) { this.ApprovalNumberResult = value; return this; }
        public String getMerchantId() { return MerchantId; }
        public DuplicateTransactionDetail setMerchantId(String value) { this.MerchantId = value; return this; }
        public String getCompanyId() { return CompanyId; }
        public DuplicateTransactionDetail setCompanyId(String value) { this.CompanyId = value; return this; }
        public Boolean isMissingTransactions() { return MissingTransactions; }
        public DuplicateTransactionDetail setMissingTransactions(Boolean value) { this.MissingTransactions = value; return this; }
        public Integer getNumberMissing() { return NumberMissing; }
        public DuplicateTransactionDetail setNumberMissing(Integer value) { this.NumberMissing = value; return this; }
        public String getStartDateFilter() { return StartDateFilter; }
        public DuplicateTransactionDetail setStartDateFilter(String value) { this.StartDateFilter = value; return this; }
        public String getEndDateFilter() { return EndDateFilter; }
        public DuplicateTransactionDetail setEndDateFilter(String value) { this.EndDateFilter = value; return this; }
        public String getAdjustmentTypeId() { return AdjustmentTypeId; }
        public DuplicateTransactionDetail setAdjustmentTypeId(String value) { this.AdjustmentTypeId = value; return this; }
        public String getFromLogFile() { return FromLogFile; }
        public DuplicateTransactionDetail setFromLogFile(String value) { this.FromLogFile = value; return this; }
        public String getResultStatus() { return ResultStatus; }
        public DuplicateTransactionDetail setResultStatus(String value) { this.ResultStatus = value; return this; }
        public Integer getMinsTermOffBy() { return MinsTermOffBy; }
        public DuplicateTransactionDetail setMinsTermOffBy(Integer value) { this.MinsTermOffBy = value; return this; }
        public String getSource() { return Source; }
        public DuplicateTransactionDetail setSource(String value) { this.Source = value; return this; }
        public String getDuplicateFlag() { return DuplicateFlag; }
        public DuplicateTransactionDetail setDuplicateFlag(String value) { this.DuplicateFlag = value; return this; }
        public String getComment() { return Comment; }
        public DuplicateTransactionDetail setComment(String value) { this.Comment = value; return this; }
        public Date getDupCreatedOn() { return DupCreatedOn; }
        public DuplicateTransactionDetail setDupCreatedOn(Date value) { this.DupCreatedOn = value; return this; }
        public String getDupCreatedBy() { return DupCreatedBy; }
        public DuplicateTransactionDetail setDupCreatedBy(String value) { this.DupCreatedBy = value; return this; }
        public Integer getDupCount() { return DupCount; }
        public DuplicateTransactionDetail setDupCount(Integer value) { this.DupCount = value; return this; }
        public String getProcessorTransactionId() { return ProcessorTransactionId; }
        public DuplicateTransactionDetail setProcessorTransactionId(String value) { this.ProcessorTransactionId = value; return this; }
        public String getTransactionReference() { return TransactionReference; }
        public DuplicateTransactionDetail setTransactionReference(String value) { this.TransactionReference = value; return this; }
        public String getBillingName() { return BillingName; }
        public DuplicateTransactionDetail setBillingName(String value) { this.BillingName = value; return this; }
        public String getResultMessage() { return ResultMessage; }
        public DuplicateTransactionDetail setResultMessage(String value) { this.ResultMessage = value; return this; }
        public Boolean isTransrefDiff() { return TransrefDiff; }
        public DuplicateTransactionDetail setTransrefDiff(Boolean value) { this.TransrefDiff = value; return this; }
        public String getCashier() { return Cashier; }
        public DuplicateTransactionDetail setCashier(String value) { this.Cashier = value; return this; }
        public String getAccountCardType() { return AccountCardType; }
        public DuplicateTransactionDetail setAccountCardType(String value) { this.AccountCardType = value; return this; }
    }

}

Java 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>