| Requires any of the roles: | Agent, Administrator |
| GET | /v1/DocumentDownload/{DocumentId} |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class DocumentDownloadRequest
{
public UUID DocumentId = null;
public UUID getDocumentId() { return DocumentId; }
public DocumentDownloadRequest setDocumentId(UUID value) { this.DocumentId = value; return this; }
}
}
Java DocumentDownloadRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/DocumentDownload/{DocumentId} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/csv