Trendsic Platform Service

<back to all web services

AttachmentDownloadRequest

The following routes are available for this service:
GET/v1/AttachmentDownload/{AttachmentId}
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class AttachmentDownloadRequest
    {
        public UUID AttachmentId = null;
        public Boolean ViewInBrowser = null;
        
        public UUID getAttachmentId() { return AttachmentId; }
        public AttachmentDownloadRequest setAttachmentId(UUID value) { this.AttachmentId = value; return this; }
        public Boolean isViewInBrowser() { return ViewInBrowser; }
        public AttachmentDownloadRequest setViewInBrowser(Boolean value) { this.ViewInBrowser = value; return this; }
    }

}

Java AttachmentDownloadRequest 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 /v1/AttachmentDownload/{AttachmentId} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv