All Verbs | /Recon |
---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using ReportingService.Services.Rest;
using ReportingService.Data.Models;
namespace ReportingService.Data.Models
{
public partial class ReconSummary
{
public virtual DateTime BizDate { get; set; }
public virtual string ComputerName { get; set; }
public virtual string SerialNumber { get; set; }
public virtual string TransactionType { get; set; }
public virtual decimal Amount { get; set; }
public virtual decimal Debit { get; set; }
public virtual decimal Amex { get; set; }
public virtual decimal NoAmex { get; set; }
public virtual decimal DebitCount { get; set; }
public virtual decimal AmexCount { get; set; }
public virtual decimal NoAmexCount { get; set; }
public virtual string LocationId { get; set; }
public virtual string LocationName { get; set; }
public virtual decimal? ReconAmt { get; set; }
public virtual string Notes { get; set; }
public virtual string _id { get; set; }
public virtual bool inMongo { get; set; }
public virtual string Route { get; set; }
public virtual int? UniqueTransID { get; set; }
public virtual bool MissingTransaction { get; set; }
public virtual int? TotalCount { get; set; }
public virtual int? MaxUniqueTransID { get; set; }
public virtual DateTime? ComputerDateTime { get; set; }
public virtual DateTime? TerminalDateTime { get; set; }
public virtual int? CompTermMinDiff { get; set; }
public virtual DateTime? DepDate { get; set; }
public virtual string CipServerTrans { get; set; }
}
public partial class ReconSummaryDate
{
public virtual DateTime BizDate { get; set; }
public virtual decimal SubTotal { get; set; }
public virtual decimal DebitTotal { get; set; }
public virtual decimal AmexTotal { get; set; }
public virtual decimal NoAmexTotal { get; set; }
public virtual int DebitCount { get; set; }
public virtual int AmexCount { get; set; }
public virtual int NoAmexCount { get; set; }
public virtual IEnumerable<ReconSummary> ReconSummary { get; set; }
public virtual DateTime? DepDate { get; set; }
}
}
namespace ReportingService.Services.Rest
{
public partial class ReconTotalSummary
{
public virtual IEnumerable<ReconSummaryDate> ReconSummaryDate { get; set; }
public virtual string Lid { get; set; }
public virtual string LocationName { get; set; }
}
}
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"}