Reporting Services

<back to all web services

DuplicateTransactionEditRequest

Requires Authentication
The following routes are available for this service:
All Verbs/Transactions/Duplicate
import Foundation
import ServiceStack

public class DuplicateTransactionEditRequest : Codable
{
    public var duplicateTrans:[DuplicateTransactionDetail] = []

    required public init(){}
}

public class DuplicateTransactionDetail : Codable
{
    public var objectId:String?
    public var createdOn:Date?
    public var route:String?
    public var serialNumber:String?
    public var transactionType:String?
    public var amountProcessed:Double?
    public var locationName:String?
    public var locationId:String?
    public var computerName:String?
    public var amex:Double?
    public var noAmex:Double?
    public var uniqueTransIdNum:Int?
    public var uniqueTransId:String?
    public var transactionId:String?
    public var deviceBatchNumber:String?
    public var developerName:String?
    public var deviceName:String?
    public var version:String?
    public var computerDateTime:Date?
    public var terminalDateTime:Date?
    public var companyName:String?
    public var maskedAccount:String?
    public var approvalNumberResult:String?
    public var merchantId:String?
    public var companyId:String?
    public var missingTransactions:Bool?
    public var numberMissing:Int?
    public var startDateFilter:String?
    public var endDateFilter:String?
    public var adjustmentTypeId:String?
    public var fromLogFile:String?
    public var resultStatus:String?
    public var minsTermOffBy:Int?
    public var source:String?
    public var duplicateFlag:String?
    public var comment:String?
    public var dupCreatedOn:Date?
    public var dupCreatedBy:String?
    public var dupCount:Int?
    public var processorTransactionId:String?
    public var transactionReference:String?
    public var billingName:String?
    public var resultMessage:String?
    public var transrefDiff:Bool?
    public var cashier:String?
    public var accountCardType:String?

    required public init(){}
}


Swift DuplicateTransactionEditRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + 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-preview.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
		}
	]
}