| GET | /api/4PSBC/persons/count |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
/**
* Returns total number of persons with respect to securable objects
*/
// @Api(Description="Returns total number of persons with respect to securable objects")
// @ApiResponse(Description="Number of persons are returned in the message body", IsDefaultResponse=true, StatusCode=200)
class Get4PSBCPersonsCount implements IConvertible
{
Get4PSBCPersonsCount();
Get4PSBCPersonsCount.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "Get4PSBCPersonsCount";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'test_dogw.klokgroep.nl', types: <String, TypeInfo> {
'Get4PSBCPersonsCount': TypeInfo(TypeOf.Class, create:() => Get4PSBCPersonsCount()),
});
Dart Get4PSBCPersonsCount DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/4PSBC/persons/count HTTP/1.1 Host: test-dogw.klokgroep.nl Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length 0