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 .xml suffix or ?format=xml
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: application/xml
Content-Type: application/xml
Content-Length: length
<ReconTotalSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ReportingService.Services.Rest">
<Lid>String</Lid>
<LocationName>String</LocationName>
<ReconSummaryDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/ReportingService.Data.Models" i:nil="true" />
</ReconTotalSummary>