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 .csv suffix or ?format=csv
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/csv
Content-Type: text/csv
Content-Length: length
{"DuplicateTrans":[{"ObjectId":"String","CreatedOn":"\/Date(-62135596800000-0000)\/","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":"\/Date(-62135596800000-0000)\/","TerminalDateTime":"\/Date(-62135596800000-0000)\/","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":"\/Date(-62135596800000-0000)\/","DupCreatedBy":"String","DupCount":0,"ProcessorTransactionId":"String","TransactionReference":"String","BillingName":"String","ResultMessage":"String","TransrefDiff":false,"Cashier":"String","AccountCardType":"String"}]}