All Verbs | /Transactions/Duplicate |
---|
namespace ReportingService.Data.Models.Transactions
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type DuplicateTransactionDetail() =
member val ObjectId:String = null with get,set
member val CreatedOn:DateTime = new DateTime() with get,set
member val Route:String = null with get,set
member val SerialNumber:String = null with get,set
member val TransactionType:String = null with get,set
member val AmountProcessed:Nullable<Decimal> = new Nullable<Decimal>() with get,set
member val LocationName:String = null with get,set
member val LocationId:String = null with get,set
member val ComputerName:String = null with get,set
member val Amex:Nullable<Decimal> = new Nullable<Decimal>() with get,set
member val NoAmex:Nullable<Decimal> = new Nullable<Decimal>() with get,set
member val UniqueTransIdNum:Nullable<Int32> = new Nullable<Int32>() with get,set
member val UniqueTransId:String = null with get,set
member val TransactionId:String = null with get,set
member val DeviceBatchNumber:String = null with get,set
member val DeveloperName:String = null with get,set
member val DeviceName:String = null with get,set
member val Version:String = null with get,set
member val ComputerDateTime:Nullable<DateTime> = new Nullable<DateTime>() with get,set
member val TerminalDateTime:Nullable<DateTime> = new Nullable<DateTime>() with get,set
member val CompanyName:String = null with get,set
member val MaskedAccount:String = null with get,set
member val ApprovalNumberResult:String = null with get,set
member val MerchantId:String = null with get,set
member val CompanyId:String = null with get,set
member val MissingTransactions:Boolean = new Boolean() with get,set
member val NumberMissing:Int32 = new Int32() with get,set
member val StartDateFilter:String = null with get,set
member val EndDateFilter:String = null with get,set
member val AdjustmentTypeId:String = null with get,set
member val FromLogFile:String = null with get,set
member val ResultStatus:String = null with get,set
member val MinsTermOffBy:Nullable<Int32> = new Nullable<Int32>() with get,set
member val Source:String = null with get,set
member val DuplicateFlag:String = null with get,set
member val Comment:String = null with get,set
member val DupCreatedOn:Nullable<DateTime> = new Nullable<DateTime>() with get,set
member val DupCreatedBy:String = null with get,set
member val DupCount:Nullable<Int32> = new Nullable<Int32>() with get,set
member val ProcessorTransactionId:String = null with get,set
member val TransactionReference:String = null with get,set
member val BillingName:String = null with get,set
member val ResultMessage:String = null with get,set
member val TransrefDiff:Nullable<Boolean> = new Nullable<Boolean>() with get,set
member val Cashier:String = null with get,set
member val AccountCardType:String = null with get,set
[<AllowNullLiteral>]
type DuplicateTransactionEditRequest() =
member val DuplicateTrans:ResizeArray<DuplicateTransactionDetail> = new ResizeArray<DuplicateTransactionDetail>() with get,set
F# DuplicateTransactionEditRequest DTOs
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 /Transactions/Duplicate HTTP/1.1
Host: cip-reporting.chargeitpro.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"DuplicateTrans":[{"ObjectId":"String","CreatedOn":"\/Date(-62135596800000-0000)\/","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":"\/Date(-62135596800000-0000)\/","TerminalDateTime":"\/Date(-62135596800000-0000)\/","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":"\/Date(-62135596800000-0000)\/","DupCreatedBy":"String","DupCount":0,"ProcessorTransactionId":"String","TransactionReference":"String","BillingName":"String","ResultMessage":"String","TransrefDiff":false,"Cashier":"String","AccountCardType":"String"}]}