All Verbs | /Transactions/Duplicate |
---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports ReportingService.Services.Rest.Transactions
Imports ReportingService.Data.Models.Transactions
Namespace Global
Namespace ReportingService.Data.Models.Transactions
Public Partial Class DuplicateTransactionDetail
Public Overridable Property ObjectId As String
Public Overridable Property CreatedOn As Date
Public Overridable Property Route As String
Public Overridable Property SerialNumber As String
Public Overridable Property TransactionType As String
Public Overridable Property AmountProcessed As Nullable(Of Decimal)
Public Overridable Property LocationName As String
Public Overridable Property LocationId As String
Public Overridable Property ComputerName As String
Public Overridable Property Amex As Nullable(Of Decimal)
Public Overridable Property NoAmex As Nullable(Of Decimal)
Public Overridable Property UniqueTransIdNum As Nullable(Of Integer)
Public Overridable Property UniqueTransId As String
Public Overridable Property TransactionId As String
Public Overridable Property DeviceBatchNumber As String
Public Overridable Property DeveloperName As String
Public Overridable Property DeviceName As String
Public Overridable Property Version As String
Public Overridable Property ComputerDateTime As Nullable(Of Date)
Public Overridable Property TerminalDateTime As Nullable(Of Date)
Public Overridable Property CompanyName As String
Public Overridable Property MaskedAccount As String
Public Overridable Property ApprovalNumberResult As String
Public Overridable Property MerchantId As String
Public Overridable Property CompanyId As String
Public Overridable Property MissingTransactions As Boolean
Public Overridable Property NumberMissing As Integer
Public Overridable Property StartDateFilter As String
Public Overridable Property EndDateFilter As String
Public Overridable Property AdjustmentTypeId As String
Public Overridable Property FromLogFile As String
Public Overridable Property ResultStatus As String
Public Overridable Property MinsTermOffBy As Nullable(Of Integer)
Public Overridable Property Source As String
Public Overridable Property DuplicateFlag As String
Public Overridable Property Comment As String
Public Overridable Property DupCreatedOn As Nullable(Of Date)
Public Overridable Property DupCreatedBy As String
Public Overridable Property DupCount As Nullable(Of Integer)
Public Overridable Property ProcessorTransactionId As String
Public Overridable Property TransactionReference As String
Public Overridable Property BillingName As String
Public Overridable Property ResultMessage As String
Public Overridable Property TransrefDiff As Nullable(Of Boolean)
Public Overridable Property Cashier As String
Public Overridable Property AccountCardType As String
End Class
End Namespace
Namespace ReportingService.Services.Rest.Transactions
Public Partial Class DuplicateTransactionEditRequest
Public Sub New()
DuplicateTrans = New List(Of DuplicateTransactionDetail)
End Sub
Public Overridable Property DuplicateTrans As List(Of DuplicateTransactionDetail)
End Class
End Namespace
End Namespace
VB.NET DuplicateTransactionEditRequest DTOs
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 /Transactions/Duplicate HTTP/1.1
Host: cip-reporting.chargeitpro.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
DuplicateTrans:
[
{
ObjectId: String,
CreatedOn: 0001-01-01,
Route: String,
SerialNumber: String,
TransactionType: String,
AmountProcessed: 0,
LocationName: String,
LocationId: String,
ComputerName: String,
Amex: 0,
NoAmex: 0,
UniqueTransIdNum: 0,
UniqueTransId: String,
TransactionId: String,
DeviceBatchNumber: String,
DeveloperName: String,
DeviceName: String,
Version: String,
ComputerDateTime: 0001-01-01,
TerminalDateTime: 0001-01-01,
CompanyName: String,
MaskedAccount: String,
ApprovalNumberResult: String,
MerchantId: String,
CompanyId: String,
MissingTransactions: False,
NumberMissing: 0,
StartDateFilter: String,
EndDateFilter: String,
AdjustmentTypeId: String,
FromLogFile: String,
ResultStatus: String,
MinsTermOffBy: 0,
Source: String,
DuplicateFlag: String,
Comment: String,
DupCreatedOn: 0001-01-01,
DupCreatedBy: String,
DupCount: 0,
ProcessorTransactionId: String,
TransactionReference: String,
BillingName: String,
ResultMessage: String,
TransrefDiff: False,
Cashier: String,
AccountCardType: String
}
]
}