| All Verbs | /Recon |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
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 .jsv suffix or ?format=jsv
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-dev.chargeitpro.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
lid: String,
locationName: String
}