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';

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 .csv suffix or ?format=csv

HTTP + CSV

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/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

[{"DocumentID":"00000000-0000-0000-0000-000000000000","DocumentNumber":"String","DocumentVersion":"String","DocumentTitle":"String","FileExtension":"String","LastOpenedDate":"0001-01-01T00:00:00.0000000","ProgCode":"String","FileUrl":"String"}]