Reporting Services

<back to all web services

DuplicateTransactionEditRequest

Requires Authentication
The following routes are available for this service:
All Verbs/Transactions/Duplicate
import 'package:servicestack/servicestack.dart';

class DuplicateTransactionDetail implements IConvertible
{
    String? ObjectId;
    DateTime? CreatedOn;
    String? Route;
    String? SerialNumber;
    String? TransactionType;
    double? AmountProcessed;
    String? LocationName;
    String? LocationId;
    String? ComputerName;
    double? Amex;
    double? NoAmex;
    int? UniqueTransIdNum;
    String? UniqueTransId;
    String? TransactionId;
    String? DeviceBatchNumber;
    String? DeveloperName;
    String? DeviceName;
    String? Version;
    DateTime? ComputerDateTime;
    DateTime? TerminalDateTime;
    String? CompanyName;
    String? MaskedAccount;
    String? ApprovalNumberResult;
    String? MerchantId;
    String? CompanyId;
    bool? MissingTransactions;
    int? NumberMissing;
    String? StartDateFilter;
    String? EndDateFilter;
    String? AdjustmentTypeId;
    String? FromLogFile;
    String? ResultStatus;
    int? MinsTermOffBy;
    String? Source;
    String? DuplicateFlag;
    String? Comment;
    DateTime? DupCreatedOn;
    String? DupCreatedBy;
    int? DupCount;
    String? ProcessorTransactionId;
    String? TransactionReference;
    String? BillingName;
    String? ResultMessage;
    bool? TransrefDiff;
    String? Cashier;
    String? AccountCardType;

    DuplicateTransactionDetail({this.ObjectId,this.CreatedOn,this.Route,this.SerialNumber,this.TransactionType,this.AmountProcessed,this.LocationName,this.LocationId,this.ComputerName,this.Amex,this.NoAmex,this.UniqueTransIdNum,this.UniqueTransId,this.TransactionId,this.DeviceBatchNumber,this.DeveloperName,this.DeviceName,this.Version,this.ComputerDateTime,this.TerminalDateTime,this.CompanyName,this.MaskedAccount,this.ApprovalNumberResult,this.MerchantId,this.CompanyId,this.MissingTransactions,this.NumberMissing,this.StartDateFilter,this.EndDateFilter,this.AdjustmentTypeId,this.FromLogFile,this.ResultStatus,this.MinsTermOffBy,this.Source,this.DuplicateFlag,this.Comment,this.DupCreatedOn,this.DupCreatedBy,this.DupCount,this.ProcessorTransactionId,this.TransactionReference,this.BillingName,this.ResultMessage,this.TransrefDiff,this.Cashier,this.AccountCardType});
    DuplicateTransactionDetail.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        ObjectId = json['ObjectId'];
        CreatedOn = JsonConverters.fromJson(json['CreatedOn'],'DateTime',context!);
        Route = json['Route'];
        SerialNumber = json['SerialNumber'];
        TransactionType = json['TransactionType'];
        AmountProcessed = JsonConverters.toDouble(json['AmountProcessed']);
        LocationName = json['LocationName'];
        LocationId = json['LocationId'];
        ComputerName = json['ComputerName'];
        Amex = JsonConverters.toDouble(json['Amex']);
        NoAmex = JsonConverters.toDouble(json['NoAmex']);
        UniqueTransIdNum = json['UniqueTransIdNum'];
        UniqueTransId = json['UniqueTransId'];
        TransactionId = json['TransactionId'];
        DeviceBatchNumber = json['DeviceBatchNumber'];
        DeveloperName = json['DeveloperName'];
        DeviceName = json['DeviceName'];
        Version = json['Version'];
        ComputerDateTime = JsonConverters.fromJson(json['ComputerDateTime'],'DateTime',context!);
        TerminalDateTime = JsonConverters.fromJson(json['TerminalDateTime'],'DateTime',context!);
        CompanyName = json['CompanyName'];
        MaskedAccount = json['MaskedAccount'];
        ApprovalNumberResult = json['ApprovalNumberResult'];
        MerchantId = json['MerchantId'];
        CompanyId = json['CompanyId'];
        MissingTransactions = json['MissingTransactions'];
        NumberMissing = json['NumberMissing'];
        StartDateFilter = json['StartDateFilter'];
        EndDateFilter = json['EndDateFilter'];
        AdjustmentTypeId = json['AdjustmentTypeId'];
        FromLogFile = json['FromLogFile'];
        ResultStatus = json['ResultStatus'];
        MinsTermOffBy = json['MinsTermOffBy'];
        Source = json['Source'];
        DuplicateFlag = json['DuplicateFlag'];
        Comment = json['Comment'];
        DupCreatedOn = JsonConverters.fromJson(json['DupCreatedOn'],'DateTime',context!);
        DupCreatedBy = json['DupCreatedBy'];
        DupCount = json['DupCount'];
        ProcessorTransactionId = json['ProcessorTransactionId'];
        TransactionReference = json['TransactionReference'];
        BillingName = json['BillingName'];
        ResultMessage = json['ResultMessage'];
        TransrefDiff = json['TransrefDiff'];
        Cashier = json['Cashier'];
        AccountCardType = json['AccountCardType'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'ObjectId': ObjectId,
        'CreatedOn': JsonConverters.toJson(CreatedOn,'DateTime',context!),
        'Route': Route,
        'SerialNumber': SerialNumber,
        'TransactionType': TransactionType,
        'AmountProcessed': AmountProcessed,
        'LocationName': LocationName,
        'LocationId': LocationId,
        'ComputerName': ComputerName,
        'Amex': Amex,
        'NoAmex': NoAmex,
        'UniqueTransIdNum': UniqueTransIdNum,
        'UniqueTransId': UniqueTransId,
        'TransactionId': TransactionId,
        'DeviceBatchNumber': DeviceBatchNumber,
        'DeveloperName': DeveloperName,
        'DeviceName': DeviceName,
        'Version': Version,
        'ComputerDateTime': JsonConverters.toJson(ComputerDateTime,'DateTime',context!),
        'TerminalDateTime': JsonConverters.toJson(TerminalDateTime,'DateTime',context!),
        'CompanyName': CompanyName,
        'MaskedAccount': MaskedAccount,
        'ApprovalNumberResult': ApprovalNumberResult,
        'MerchantId': MerchantId,
        'CompanyId': CompanyId,
        'MissingTransactions': MissingTransactions,
        'NumberMissing': NumberMissing,
        'StartDateFilter': StartDateFilter,
        'EndDateFilter': EndDateFilter,
        'AdjustmentTypeId': AdjustmentTypeId,
        'FromLogFile': FromLogFile,
        'ResultStatus': ResultStatus,
        'MinsTermOffBy': MinsTermOffBy,
        'Source': Source,
        'DuplicateFlag': DuplicateFlag,
        'Comment': Comment,
        'DupCreatedOn': JsonConverters.toJson(DupCreatedOn,'DateTime',context!),
        'DupCreatedBy': DupCreatedBy,
        'DupCount': DupCount,
        'ProcessorTransactionId': ProcessorTransactionId,
        'TransactionReference': TransactionReference,
        'BillingName': BillingName,
        'ResultMessage': ResultMessage,
        'TransrefDiff': TransrefDiff,
        'Cashier': Cashier,
        'AccountCardType': AccountCardType
    };

    getTypeName() => "DuplicateTransactionDetail";
    TypeContext? context = _ctx;
}

class DuplicateTransactionEditRequest implements IConvertible
{
    List<DuplicateTransactionDetail>? DuplicateTrans;

    DuplicateTransactionEditRequest({this.DuplicateTrans});
    DuplicateTransactionEditRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        DuplicateTrans = JsonConverters.fromJson(json['DuplicateTrans'],'List<DuplicateTransactionDetail>',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'DuplicateTrans': JsonConverters.toJson(DuplicateTrans,'List<DuplicateTransactionDetail>',context!)
    };

    getTypeName() => "DuplicateTransactionEditRequest";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'cip_reporting_dev.chargeitpro.com', types: <String, TypeInfo> {
    'DuplicateTransactionDetail': TypeInfo(TypeOf.Class, create:() => DuplicateTransactionDetail()),
    'DuplicateTransactionEditRequest': TypeInfo(TypeOf.Class, create:() => DuplicateTransactionEditRequest()),
    'List<DuplicateTransactionDetail>': TypeInfo(TypeOf.Class, create:() => <DuplicateTransactionDetail>[]),
});

Dart 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

HTTP + JSON

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-dev.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"}]}