Trendsic Platform Service

<back to all web services

AttachmentDownloadByConversationRequest

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

public class dtos
{

    public static class AttachmentDownloadByConversationRequest
    {
        public UUID AttachmentId = null;
        public UUID ConversationDetailId = null;
        
        public UUID getAttachmentId() { return AttachmentId; }
        public AttachmentDownloadByConversationRequest setAttachmentId(UUID value) { this.AttachmentId = value; return this; }
        public UUID getConversationDetailId() { return ConversationDetailId; }
        public AttachmentDownloadByConversationRequest setConversationDetailId(UUID value) { this.ConversationDetailId = value; return this; }
    }

}

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