All Verbs | /Recon |
---|
import Foundation
import ServiceStack
public class ReconTotalSummary : Codable
{
public var reconSummaryDate:[ReconSummaryDate] = []
public var lid:String?
public var locationName:String?
required public init(){}
}
public class ReconSummaryDate : Codable
{
public var bizDate:Date?
public var subTotal:Double?
public var debitTotal:Double?
public var amexTotal:Double?
public var noAmexTotal:Double?
public var debitCount:Int?
public var amexCount:Int?
public var noAmexCount:Int?
public var reconSummary:[ReconSummary] = []
public var depDate:Date?
required public init(){}
}
public class ReconSummary : Codable
{
public var bizDate:Date?
public var computerName:String?
public var serialNumber:String?
public var transactionType:String?
public var amount:Double?
public var debit:Double?
public var amex:Double?
public var noAmex:Double?
public var debitCount:Double?
public var amexCount:Double?
public var noAmexCount:Double?
public var locationId:String?
public var locationName:String?
public var reconAmt:Double?
public var notes:String?
public var _id:String?
public var inMongo:Bool?
public var route:String?
public var uniqueTransID:Int?
public var missingTransaction:Bool?
public var totalCount:Int?
public var maxUniqueTransID:Int?
public var computerDateTime:Date?
public var terminalDateTime:Date?
public var compTermMinDiff:Int?
public var depDate:Date?
public var cipServerTrans:String?
required public init(){}
}
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.chargeitpro.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Lid":"String","LocationName":"String"}