Trendsic Platform Service

<back to all web services

AttachmentDownloadRequest

The following routes are available for this service:
GET/v1/AttachmentDownload/{AttachmentId}
namespace CRM.AgencyPlatform.API.Internal

open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type AttachmentDownloadRequest() = 
        member val AttachmentId:Guid = new Guid() with get,set
        member val ViewInBrowser:Boolean = new Boolean() with get,set

F# AttachmentDownloadRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

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: application/xml