All Verbs | /Recon |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class ReconTotalSummary
{
public ArrayList<ReconSummaryDate> ReconSummaryDate = null;
public String Lid = null;
public String LocationName = null;
public ArrayList<ReconSummaryDate> getReconSummaryDate() { return ReconSummaryDate; }
public ReconTotalSummary setReconSummaryDate(ArrayList<ReconSummaryDate> value) { this.ReconSummaryDate = value; return this; }
public String getLid() { return Lid; }
public ReconTotalSummary setLid(String value) { this.Lid = value; return this; }
public String getLocationName() { return LocationName; }
public ReconTotalSummary setLocationName(String value) { this.LocationName = value; return this; }
}
public static class ReconSummaryDate
{
public Date BizDate = null;
public BigDecimal SubTotal = null;
public BigDecimal DebitTotal = null;
public BigDecimal AmexTotal = null;
public BigDecimal NoAmexTotal = null;
public Integer DebitCount = null;
public Integer AmexCount = null;
public Integer NoAmexCount = null;
public ArrayList<ReconSummary> ReconSummary = null;
public Date DepDate = null;
public Date getBizDate() { return BizDate; }
public ReconSummaryDate setBizDate(Date value) { this.BizDate = value; return this; }
public BigDecimal getSubTotal() { return SubTotal; }
public ReconSummaryDate setSubTotal(BigDecimal value) { this.SubTotal = value; return this; }
public BigDecimal getDebitTotal() { return DebitTotal; }
public ReconSummaryDate setDebitTotal(BigDecimal value) { this.DebitTotal = value; return this; }
public BigDecimal getAmexTotal() { return AmexTotal; }
public ReconSummaryDate setAmexTotal(BigDecimal value) { this.AmexTotal = value; return this; }
public BigDecimal getNoAmexTotal() { return NoAmexTotal; }
public ReconSummaryDate setNoAmexTotal(BigDecimal value) { this.NoAmexTotal = value; return this; }
public Integer getDebitCount() { return DebitCount; }
public ReconSummaryDate setDebitCount(Integer value) { this.DebitCount = value; return this; }
public Integer getAmexCount() { return AmexCount; }
public ReconSummaryDate setAmexCount(Integer value) { this.AmexCount = value; return this; }
public Integer getNoAmexCount() { return NoAmexCount; }
public ReconSummaryDate setNoAmexCount(Integer value) { this.NoAmexCount = value; return this; }
public ArrayList<ReconSummary> getReconSummary() { return ReconSummary; }
public ReconSummaryDate setReconSummary(ArrayList<ReconSummary> value) { this.ReconSummary = value; return this; }
public Date getDepDate() { return DepDate; }
public ReconSummaryDate setDepDate(Date value) { this.DepDate = value; return this; }
}
public static class ReconSummary
{
public Date BizDate = null;
public String ComputerName = null;
public String SerialNumber = null;
public String TransactionType = null;
public BigDecimal Amount = null;
public BigDecimal Debit = null;
public BigDecimal Amex = null;
public BigDecimal NoAmex = null;
public BigDecimal DebitCount = null;
public BigDecimal AmexCount = null;
public BigDecimal NoAmexCount = null;
public String LocationId = null;
public String LocationName = null;
public BigDecimal ReconAmt = null;
public String Notes = null;
public String _id = null;
public Boolean inMongo = null;
public String Route = null;
public Integer UniqueTransID = null;
public Boolean MissingTransaction = null;
public Integer TotalCount = null;
public Integer MaxUniqueTransID = null;
public Date ComputerDateTime = null;
public Date TerminalDateTime = null;
public Integer CompTermMinDiff = null;
public Date DepDate = null;
public String CipServerTrans = null;
public Date getBizDate() { return BizDate; }
public ReconSummary setBizDate(Date value) { this.BizDate = value; return this; }
public String getComputerName() { return ComputerName; }
public ReconSummary setComputerName(String value) { this.ComputerName = value; return this; }
public String getSerialNumber() { return SerialNumber; }
public ReconSummary setSerialNumber(String value) { this.SerialNumber = value; return this; }
public String getTransactionType() { return TransactionType; }
public ReconSummary setTransactionType(String value) { this.TransactionType = value; return this; }
public BigDecimal getAmount() { return Amount; }
public ReconSummary setAmount(BigDecimal value) { this.Amount = value; return this; }
public BigDecimal getDebit() { return Debit; }
public ReconSummary setDebit(BigDecimal value) { this.Debit = value; return this; }
public BigDecimal getAmex() { return Amex; }
public ReconSummary setAmex(BigDecimal value) { this.Amex = value; return this; }
public BigDecimal getNoAmex() { return NoAmex; }
public ReconSummary setNoAmex(BigDecimal value) { this.NoAmex = value; return this; }
public BigDecimal getDebitCount() { return DebitCount; }
public ReconSummary setDebitCount(BigDecimal value) { this.DebitCount = value; return this; }
public BigDecimal getAmexCount() { return AmexCount; }
public ReconSummary setAmexCount(BigDecimal value) { this.AmexCount = value; return this; }
public BigDecimal getNoAmexCount() { return NoAmexCount; }
public ReconSummary setNoAmexCount(BigDecimal value) { this.NoAmexCount = value; return this; }
public String getLocationId() { return LocationId; }
public ReconSummary setLocationId(String value) { this.LocationId = value; return this; }
public String getLocationName() { return LocationName; }
public ReconSummary setLocationName(String value) { this.LocationName = value; return this; }
public BigDecimal getReconAmt() { return ReconAmt; }
public ReconSummary setReconAmt(BigDecimal value) { this.ReconAmt = value; return this; }
public String getNotes() { return Notes; }
public ReconSummary setNotes(String value) { this.Notes = value; return this; }
public String getId() { return _id; }
public ReconSummary setId(String value) { this._id = value; return this; }
public Boolean isInMongo() { return inMongo; }
public ReconSummary setInMongo(Boolean value) { this.inMongo = value; return this; }
public String getRoute() { return Route; }
public ReconSummary setRoute(String value) { this.Route = value; return this; }
public Integer getUniqueTransID() { return UniqueTransID; }
public ReconSummary setUniqueTransID(Integer value) { this.UniqueTransID = value; return this; }
public Boolean isMissingTransaction() { return MissingTransaction; }
public ReconSummary setMissingTransaction(Boolean value) { this.MissingTransaction = value; return this; }
public Integer getTotalCount() { return TotalCount; }
public ReconSummary setTotalCount(Integer value) { this.TotalCount = value; return this; }
public Integer getMaxUniqueTransID() { return MaxUniqueTransID; }
public ReconSummary setMaxUniqueTransID(Integer value) { this.MaxUniqueTransID = value; return this; }
public Date getComputerDateTime() { return ComputerDateTime; }
public ReconSummary setComputerDateTime(Date value) { this.ComputerDateTime = value; return this; }
public Date getTerminalDateTime() { return TerminalDateTime; }
public ReconSummary setTerminalDateTime(Date value) { this.TerminalDateTime = value; return this; }
public Integer getCompTermMinDiff() { return CompTermMinDiff; }
public ReconSummary setCompTermMinDiff(Integer value) { this.CompTermMinDiff = value; return this; }
public Date getDepDate() { return DepDate; }
public ReconSummary setDepDate(Date value) { this.DepDate = value; return this; }
public String getCipServerTrans() { return CipServerTrans; }
public ReconSummary setCipServerTrans(String value) { this.CipServerTrans = value; return this; }
}
}
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"}