DigiOffice Gateway Web Services

<back to all web services

GetPrinters

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

class GetPrinters implements IConvertible
{
    GetPrinters();
    GetPrinters.fromJson(Map<String, dynamic> json) : super();
    fromMap(Map<String, dynamic> json) {
        return this;
    }

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

TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.deltares.nl', types: <String, TypeInfo> {
    'GetPrinters': TypeInfo(TypeOf.Class, create:() => GetPrinters()),
});

Dart GetPrinters DTOs

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

HTTP + JSV

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

GET /api/printers HTTP/1.1 
Host: digiofficeapigateway.deltares.nl 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	{
		ID: 0,
		Description: String,
		InternalCompanyID: 0,
		BinLogo: 0,
		BinBlank: 0,
		BinFollow: 0,
		BinExtra: 0,
		BinLabel: 0
	}
]