All Verbs | /Transactions/Duplicate |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class DuplicateTransactionEditRequest
{
var DuplicateTrans:ArrayList<DuplicateTransactionDetail> = ArrayList<DuplicateTransactionDetail>()
}
open class DuplicateTransactionDetail
{
var ObjectId:String? = null
var CreatedOn:Date? = null
var Route:String? = null
var SerialNumber:String? = null
var TransactionType:String? = null
var AmountProcessed:BigDecimal? = null
var LocationName:String? = null
var LocationId:String? = null
var ComputerName:String? = null
var Amex:BigDecimal? = null
var NoAmex:BigDecimal? = null
var UniqueTransIdNum:Int? = null
var UniqueTransId:String? = null
var TransactionId:String? = null
var DeviceBatchNumber:String? = null
var DeveloperName:String? = null
var DeviceName:String? = null
var Version:String? = null
var ComputerDateTime:Date? = null
var TerminalDateTime:Date? = null
var CompanyName:String? = null
var MaskedAccount:String? = null
var ApprovalNumberResult:String? = null
var MerchantId:String? = null
var CompanyId:String? = null
var MissingTransactions:Boolean? = null
var NumberMissing:Int? = null
var StartDateFilter:String? = null
var EndDateFilter:String? = null
var AdjustmentTypeId:String? = null
var FromLogFile:String? = null
var ResultStatus:String? = null
var MinsTermOffBy:Int? = null
var Source:String? = null
var DuplicateFlag:String? = null
var Comment:String? = null
var DupCreatedOn:Date? = null
var DupCreatedBy:String? = null
var DupCount:Int? = null
var ProcessorTransactionId:String? = null
var TransactionReference:String? = null
var BillingName:String? = null
var ResultMessage:String? = null
var TransrefDiff:Boolean? = null
var Cashier:String? = null
var AccountCardType:String? = null
}
Kotlin 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-preview.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"}]}