Reporting Services

<back to all web services

TransactionsDeletedRequest

Requires Authentication
The following routes are available for this service:
All Verbs/Transactions/Deleted/Company/{CompanyId}/{UserId}
All Verbs/Transactions/Deleted/Company/{CompanyId}/{Start}/{Take}/{UserId}
All Verbs/Transactions/Deleted/Company/{CompanyId}
All Verbs/Transactions/Deleted/Company/{CompanyId}/{Start}/{Take}
All Verbs/Transactions/Deleted/Company/{CompanyId}/{Start}/{Take}/{ColumnNameToOrderBy}/{OrderByDesc}
import 'package:servicestack/servicestack.dart';

class TransactionsDeletedRequest implements IConvertible
{
    int? CompanyId;
    int? Start;
    int? Take;
    String? UserId;
    int? ColumnNameToOrderBy;
    bool? OrderByDesc;

    TransactionsDeletedRequest({this.CompanyId,this.Start,this.Take,this.UserId,this.ColumnNameToOrderBy,this.OrderByDesc});
    TransactionsDeletedRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        CompanyId = json['CompanyId'];
        Start = json['Start'];
        Take = json['Take'];
        UserId = json['UserId'];
        ColumnNameToOrderBy = json['ColumnNameToOrderBy'];
        OrderByDesc = json['OrderByDesc'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'CompanyId': CompanyId,
        'Start': Start,
        'Take': Take,
        'UserId': UserId,
        'ColumnNameToOrderBy': ColumnNameToOrderBy,
        'OrderByDesc': OrderByDesc
    };

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

TypeContext _ctx = TypeContext(library: 'cip_reporting_preview.chargeitpro.com', types: <String, TypeInfo> {
    'TransactionsDeletedRequest': TypeInfo(TypeOf.Class, create:() => TransactionsDeletedRequest()),
});

Dart TransactionsDeletedRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /Transactions/Deleted/Company/{CompanyId}/{UserId} HTTP/1.1 
Host: cip-reporting-preview.chargeitpro.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"CompanyId":0,"Start":0,"Take":0,"UserId":"String","ColumnNameToOrderBy":0,"OrderByDesc":false}