| GET | /api/documents/{DocumentID}/filedetails | 
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
    public static class GetDocumentFileDetails
    {
        public UUID DocumentID = null;
        public Boolean IncludeContent = null;
        public UUID DocumentFieldID = null;
        
        public UUID getDocumentID() { return DocumentID; }
        public GetDocumentFileDetails setDocumentID(UUID value) { this.DocumentID = value; return this; }
        public Boolean isIncludeContent() { return IncludeContent; }
        public GetDocumentFileDetails setIncludeContent(Boolean value) { this.IncludeContent = value; return this; }
        public UUID getDocumentFieldID() { return DocumentFieldID; }
        public GetDocumentFileDetails setDocumentFieldID(UUID value) { this.DocumentFieldID = value; return this; }
    }
    public static class DocumentFile
    {
        public String Name = null;
        public String Extension = null;
        public Long Size = null;
        public byte[] Content = null;
        
        public String getName() { return Name; }
        public DocumentFile setName(String value) { this.Name = value; return this; }
        public String getExtension() { return Extension; }
        public DocumentFile setExtension(String value) { this.Extension = value; return this; }
        public Long getSize() { return Size; }
        public DocumentFile setSize(Long value) { this.Size = value; return this; }
        public byte[] getContent() { return Content; }
        public DocumentFile setContent(byte[] value) { this.Content = value; return this; }
    }
}
Java GetDocumentFileDetails DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/documents/{DocumentID}/filedetails HTTP/1.1 
Host: doapigw.baasbv.nl 
Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <DocumentFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DTO.Document"> <Content>AA==</Content> <Extension>String</Extension> <Name>String</Name> <Size>0</Size> </DocumentFile>