DigiOffice Gateway Web Services

<back to all web services

GetDocumentFile

Requires Authentication
The following routes are available for this service:
GET/api/documents/{DocumentID}/download
GetDocumentFile Parameters:
NameParameterData TypeRequiredDescription
DocumentIDpathGuidNo
DocumentFieldIDqueryGuidNo

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/documents/{DocumentID}/download HTTP/1.1 
Host: doapigw.baasbv.nl 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

(byte[])