All Verbs | /Recon |
---|
Imports System
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 Nullable(Of 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 Nullable(Of Integer)
Public Overridable Property MissingTransaction As Boolean
Public Overridable Property TotalCount As Nullable(Of Integer)
Public Overridable Property MaxUniqueTransID As Nullable(Of Integer)
Public Overridable Property ComputerDateTime As Nullable(Of Date)
Public Overridable Property TerminalDateTime As Nullable(Of Date)
Public Overridable Property CompTermMinDiff As Nullable(Of Integer)
Public Overridable Property DepDate As Nullable(Of 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 Nullable(Of 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 .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-preview.chargeitpro.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Lid: String,
LocationName: String
}