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 Foundation
import ServiceStack

public class GetMyRecentlyOpenedDocuments : Codable
{
    public var onlyStoredInSharePointOnline:Bool?
    public var progCode:String?
    public var pageSize:Int?
    public var pageNumber:Int?

    required public init(){}
}


Swift 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
	}
]