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 .xml suffix or ?format=xml
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-staging.chargeitpro.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<ReconTotalSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ReportingService.Services.Rest">
<Lid>String</Lid>
<LocationName>String</LocationName>
<ReconSummaryDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/ReportingService.Data.Models" i:nil="true" />
</ReconTotalSummary>