All Verbs | /Recon |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class ReconTotalSummary
{
var ReconSummaryDate:ArrayList<ReconSummaryDate> = ArrayList<ReconSummaryDate>()
var Lid:String? = null
var LocationName:String? = null
}
open class ReconSummaryDate
{
var BizDate:Date? = null
var SubTotal:BigDecimal? = null
var DebitTotal:BigDecimal? = null
var AmexTotal:BigDecimal? = null
var NoAmexTotal:BigDecimal? = null
var DebitCount:Int? = null
var AmexCount:Int? = null
var NoAmexCount:Int? = null
var ReconSummary:ArrayList<ReconSummary> = ArrayList<ReconSummary>()
var DepDate:Date? = null
}
open class ReconSummary
{
var BizDate:Date? = null
var ComputerName:String? = null
var SerialNumber:String? = null
var TransactionType:String? = null
var Amount:BigDecimal? = null
var Debit:BigDecimal? = null
var Amex:BigDecimal? = null
var NoAmex:BigDecimal? = null
var DebitCount:BigDecimal? = null
var AmexCount:BigDecimal? = null
var NoAmexCount:BigDecimal? = null
var LocationId:String? = null
var LocationName:String? = null
var ReconAmt:BigDecimal? = null
var Notes:String? = null
var _id:String? = null
var inMongo:Boolean? = null
var Route:String? = null
var UniqueTransID:Int? = null
var MissingTransaction:Boolean? = null
var TotalCount:Int? = null
var MaxUniqueTransID:Int? = null
var ComputerDateTime:Date? = null
var TerminalDateTime:Date? = null
var CompTermMinDiff:Int? = null
var DepDate:Date? = null
var CipServerTrans:String? = null
}
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 /Recon HTTP/1.1
Host: cip-reporting-preview.chargeitpro.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Lid":"String","LocationName":"String"}