Trendsic Platform Service

<back to all web services

CadDrawingRequest

Requires Authentication
Requires any of the roles:Worker, Agent, Administrator
The following routes are available for this service:
GET,OPTIONS/v1/cad-drawing/{AttachmentId}/{VersionNo}
GET,OPTIONS/v1/cad-drawing/{AttachmentId}
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class CadDrawingRequest
    {
        public UUID AttachmentId = null;
        public Integer VersionNo = null;
        
        public UUID getAttachmentId() { return AttachmentId; }
        public CadDrawingRequest setAttachmentId(UUID value) { this.AttachmentId = value; return this; }
        public Integer getVersionNo() { return VersionNo; }
        public CadDrawingRequest setVersionNo(Integer value) { this.VersionNo = value; return this; }
    }

}

Java CadDrawingRequest 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/cad-drawing/{AttachmentId}/{VersionNo} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv