DigiOffice API Services Services

<back to all web services

Get4PSBCCompaniesCount

Returns total number of companies with respect to securable objects

Requires Authentication
The following routes are available for this service:
GET/api/4PSBC/companies/count
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

/**
* Returns total number of companies with respect to securable objects
*/
// @Api(Description="Returns total number of companies with respect to securable objects")
// @ApiResponse(Description="Number of companies are returned in the message body", IsDefaultResponse=true, StatusCode=200)
class Get4PSBCCompaniesCount implements IConvertible
{
    Get4PSBCCompaniesCount();
    Get4PSBCCompaniesCount.fromJson(Map<String, dynamic> json) : super();
    fromMap(Map<String, dynamic> json) {
        return this;
    }

    Map<String, dynamic> toJson() => {};
    getTypeName() => "Get4PSBCCompaniesCount";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'test_do_services.klokgroep.nl', types: <String, TypeInfo> {
    'Get4PSBCCompaniesCount': TypeInfo(TypeOf.Class, create:() => Get4PSBCCompaniesCount()),
});

Dart Get4PSBCCompaniesCount 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.

GET /api/4PSBC/companies/count HTTP/1.1 
Host: test-do-services.klokgroep.nl 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

0