Reporting Services

<back to all web services

ReconMultiLocRequest

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

class ReconMultiLocRequest implements IConvertible
{
    int companyId = 0;
    int start = 0;
    int take = 0;
    String? userId;
    int columnNameToOrderBy = 0;
    bool orderByDesc;

    ReconMultiLocRequest({this.companyId,this.start,this.take,this.userId,this.columnNameToOrderBy,this.orderByDesc});
    ReconMultiLocRequest.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() => "ReconMultiLocRequest";
    TypeContext? context = _ctx;
}

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

Dart ReconMultiLocRequest 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 /Recon/Company/{CompanyId}/{UserId} HTTP/1.1 
Host: cip-reporting-dev.chargeitpro.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"companyId":0,"start":0,"take":0,"userId":"String","columnNameToOrderBy":0,"orderByDesc":false}