Reporting Services

<back to all web services

GiftTransactionsRequest

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

class GiftTransactionsRequest implements IConvertible
{
    int companyId = 0;
    int start = 0;
    int take = 0;
    String? userId;

    GiftTransactionsRequest({this.companyId,this.start,this.take,this.userId});
    GiftTransactionsRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        companyId = json['companyId'];
        start = json['start'];
        take = json['take'];
        userId = json['userId'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'companyId': companyId,
        'start': start,
        'take': take,
        'userId': userId
    };

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

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

Dart GiftTransactionsRequest DTOs

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

HTTP + OTHER

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

POST /Gift-Transactions/Company/{CompanyId} HTTP/1.1 
Host: cip-reporting-dev.chargeitpro.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"companyId":0,"start":0,"take":0,"userId":"String"}