DigiOffice Gateway Web Services

<back to all web services

GetMyRecentlyOpenedDocuments

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

class GetMyRecentlyOpenedDocuments implements IConvertible
{
    bool? OnlyStoredInSharePointOnline;
    String? ProgCode;
    int? PageSize;
    int? PageNumber;

    GetMyRecentlyOpenedDocuments({this.OnlyStoredInSharePointOnline,this.ProgCode,this.PageSize,this.PageNumber});
    GetMyRecentlyOpenedDocuments.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        OnlyStoredInSharePointOnline = json['OnlyStoredInSharePointOnline'];
        ProgCode = json['ProgCode'];
        PageSize = json['PageSize'];
        PageNumber = json['PageNumber'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'OnlyStoredInSharePointOnline': OnlyStoredInSharePointOnline,
        'ProgCode': ProgCode,
        'PageSize': PageSize,
        'PageNumber': PageNumber
    };

    getTypeName() => "GetMyRecentlyOpenedDocuments";
    TypeContext? context = _ctx;
}

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

Dart GetMyRecentlyOpenedDocuments 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/me/documents/recent HTTP/1.1 
Host: digiofficeapigateway.deltares.nl 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	{
		DocumentNumber: String,
		DocumentVersion: String,
		DocumentTitle: String,
		FileExtension: String,
		LastOpenedDate: 0001-01-01,
		ProgCode: String,
		FileUrl: String
	}
]