DigiOffice Gateway Web Services

<back to all web services

Get4PSBCPersonsCount

Returns total number of persons with respect to securable objects

Requires Authentication
The following routes are available for this service:
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: '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 .xml suffix or ?format=xml

HTTP + XML

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: dogw.klokgroep.nl 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</int>