| All Verbs | /Recon |
|---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports ReportingService.Services.Rest
Imports ReportingService.Data.Models
Namespace Global
Namespace ReportingService.Data.Models
Public Partial Class ReconSummary
Public Overridable Property BizDate As Date
Public Overridable Property ComputerName As String
Public Overridable Property SerialNumber As String
Public Overridable Property TransactionType As String
Public Overridable Property Amount As Decimal
Public Overridable Property Debit As Decimal
Public Overridable Property Amex As Decimal
Public Overridable Property NoAmex As Decimal
Public Overridable Property DebitCount As Decimal
Public Overridable Property AmexCount As Decimal
Public Overridable Property NoAmexCount As Decimal
Public Overridable Property LocationId As String
Public Overridable Property LocationName As String
Public Overridable Property ReconAmt As Decimal?
Public Overridable Property Notes As String
Public Overridable Property _id As String
Public Overridable Property inMongo As Boolean
Public Overridable Property Route As String
Public Overridable Property UniqueTransID As Integer?
Public Overridable Property MissingTransaction As Boolean
Public Overridable Property TotalCount As Integer?
Public Overridable Property MaxUniqueTransID As Integer?
Public Overridable Property ComputerDateTime As Date?
Public Overridable Property TerminalDateTime As Date?
Public Overridable Property CompTermMinDiff As Integer?
Public Overridable Property DepDate As Date?
Public Overridable Property CipServerTrans As String
End Class
Public Partial Class ReconSummaryDate
Public Overridable Property BizDate As Date
Public Overridable Property SubTotal As Decimal
Public Overridable Property DebitTotal As Decimal
Public Overridable Property AmexTotal As Decimal
Public Overridable Property NoAmexTotal As Decimal
Public Overridable Property DebitCount As Integer
Public Overridable Property AmexCount As Integer
Public Overridable Property NoAmexCount As Integer
Public Overridable Property ReconSummary As IEnumerable(Of ReconSummary)
Public Overridable Property DepDate As Date?
End Class
End Namespace
Namespace ReportingService.Services.Rest
Public Partial Class ReconTotalSummary
Public Overridable Property ReconSummaryDate As IEnumerable(Of ReconSummaryDate)
Public Overridable Property Lid As String
Public Overridable Property LocationName As String
End Class
End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
Content-Type: application/json
Content-Length: length
{"Lid":"String","LocationName":"String"}