Trendsic Platform Service

<back to all web services

AttachmentDownloadRequest

The following routes are available for this service:
GET/v1/AttachmentDownload/{AttachmentId}

export class AttachmentDownloadRequest
{
    public AttachmentId: string;
    public ViewInBrowser: boolean;

    public constructor(init?: Partial<AttachmentDownloadRequest>) { (Object as any).assign(this, init); }
}

TypeScript 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