Trendsic Platform Service

<back to all web services

BluebeamPreviewRequest

Requires Authentication
The following routes are available for this service:
POST,OPTIONS/v1/projects/{ProjectID}/bluebeam/import/preview
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class BluebeamPreviewRequest
    {
        public Integer ProjectID = null;
        
        public Integer getProjectID() { return ProjectID; }
        public BluebeamPreviewRequest setProjectID(Integer value) { this.ProjectID = value; return this; }
    }

    public static class BluebeamPreviewResponse
    {
        public ResponseStatus ResponseStatus = null;
        public String FileName = null;
        public Integer RowCount = null;
        public ArrayList<String> Columns = new ArrayList<String>();
        public ArrayList<BluebeamMappedRow> Rows = new ArrayList<BluebeamMappedRow>();
        public Integer PunchProposed = null;
        public Integer RfiProposed = null;
        public Integer QuantityProposed = null;
        public Integer SkipProposed = null;
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public BluebeamPreviewResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public String getFileName() { return FileName; }
        public BluebeamPreviewResponse setFileName(String value) { this.FileName = value; return this; }
        public Integer getRowCount() { return RowCount; }
        public BluebeamPreviewResponse setRowCount(Integer value) { this.RowCount = value; return this; }
        public ArrayList<String> getColumns() { return Columns; }
        public BluebeamPreviewResponse setColumns(ArrayList<String> value) { this.Columns = value; return this; }
        public ArrayList<BluebeamMappedRow> getRows() { return Rows; }
        public BluebeamPreviewResponse setRows(ArrayList<BluebeamMappedRow> value) { this.Rows = value; return this; }
        public Integer getPunchProposed() { return PunchProposed; }
        public BluebeamPreviewResponse setPunchProposed(Integer value) { this.PunchProposed = value; return this; }
        public Integer getRfiProposed() { return RfiProposed; }
        public BluebeamPreviewResponse setRfiProposed(Integer value) { this.RfiProposed = value; return this; }
        public Integer getQuantityProposed() { return QuantityProposed; }
        public BluebeamPreviewResponse setQuantityProposed(Integer value) { this.QuantityProposed = value; return this; }
        public Integer getSkipProposed() { return SkipProposed; }
        public BluebeamPreviewResponse setSkipProposed(Integer value) { this.SkipProposed = value; return this; }
    }

    public static class BluebeamMappedRow
    {
        public Integer RowNo = null;
        public String Target = null;
        public String Title = null;
        public String Description = null;
        public String Area = null;
        public String Trade = null;
        public String AssignedSub = null;
        public String Priority = null;
        public Double Quantity = null;
        public String QuantityKind = null;
        public String Unit = null;
        public Integer TaskSeq = null;
        public String Reason = null;
        public BluebeamRow Source = null;
        
        public Integer getRowNo() { return RowNo; }
        public BluebeamMappedRow setRowNo(Integer value) { this.RowNo = value; return this; }
        public String getTarget() { return Target; }
        public BluebeamMappedRow setTarget(String value) { this.Target = value; return this; }
        public String getTitle() { return Title; }
        public BluebeamMappedRow setTitle(String value) { this.Title = value; return this; }
        public String getDescription() { return Description; }
        public BluebeamMappedRow setDescription(String value) { this.Description = value; return this; }
        public String getArea() { return Area; }
        public BluebeamMappedRow setArea(String value) { this.Area = value; return this; }
        public String getTrade() { return Trade; }
        public BluebeamMappedRow setTrade(String value) { this.Trade = value; return this; }
        public String getAssignedSub() { return AssignedSub; }
        public BluebeamMappedRow setAssignedSub(String value) { this.AssignedSub = value; return this; }
        public String getPriority() { return Priority; }
        public BluebeamMappedRow setPriority(String value) { this.Priority = value; return this; }
        public Double getQuantity() { return Quantity; }
        public BluebeamMappedRow setQuantity(Double value) { this.Quantity = value; return this; }
        public String getQuantityKind() { return QuantityKind; }
        public BluebeamMappedRow setQuantityKind(String value) { this.QuantityKind = value; return this; }
        public String getUnit() { return Unit; }
        public BluebeamMappedRow setUnit(String value) { this.Unit = value; return this; }
        public Integer getTaskSeq() { return TaskSeq; }
        public BluebeamMappedRow setTaskSeq(Integer value) { this.TaskSeq = value; return this; }
        public String getReason() { return Reason; }
        public BluebeamMappedRow setReason(String value) { this.Reason = value; return this; }
        public BluebeamRow getSource() { return Source; }
        public BluebeamMappedRow setSource(BluebeamRow value) { this.Source = value; return this; }
    }

    public static class BluebeamRow
    {
        public Integer RowNo = null;
        public String Subject = null;
        public String PageLabel = null;
        public Integer PageIndex = null;
        public String Author = null;
        public String Date = null;
        public String Status = null;
        public String Color = null;
        public String Comments = null;
        public String Label = null;
        public String Layer = null;
        public String Space = null;
        public Double Length = null;
        public Double Area = null;
        public Double Count = null;
        public Double Volume = null;
        public String Measurement = null;
        public Double X = null;
        public Double Y = null;
        public Double Width = null;
        public Double Height = null;
        public HashMap<String,String> Extras = new HashMap<String,String>();
        
        public Integer getRowNo() { return RowNo; }
        public BluebeamRow setRowNo(Integer value) { this.RowNo = value; return this; }
        public String getSubject() { return Subject; }
        public BluebeamRow setSubject(String value) { this.Subject = value; return this; }
        public String getPageLabel() { return PageLabel; }
        public BluebeamRow setPageLabel(String value) { this.PageLabel = value; return this; }
        public Integer getPageIndex() { return PageIndex; }
        public BluebeamRow setPageIndex(Integer value) { this.PageIndex = value; return this; }
        public String getAuthor() { return Author; }
        public BluebeamRow setAuthor(String value) { this.Author = value; return this; }
        public String getDate() { return Date; }
        public BluebeamRow setDate(String value) { this.Date = value; return this; }
        public String getStatus() { return Status; }
        public BluebeamRow setStatus(String value) { this.Status = value; return this; }
        public String getColor() { return Color; }
        public BluebeamRow setColor(String value) { this.Color = value; return this; }
        public String getComments() { return Comments; }
        public BluebeamRow setComments(String value) { this.Comments = value; return this; }
        public String getLabel() { return Label; }
        public BluebeamRow setLabel(String value) { this.Label = value; return this; }
        public String getLayer() { return Layer; }
        public BluebeamRow setLayer(String value) { this.Layer = value; return this; }
        public String getSpace() { return Space; }
        public BluebeamRow setSpace(String value) { this.Space = value; return this; }
        public Double getLength() { return Length; }
        public BluebeamRow setLength(Double value) { this.Length = value; return this; }
        public Double getArea() { return Area; }
        public BluebeamRow setArea(Double value) { this.Area = value; return this; }
        public Double getCount() { return Count; }
        public BluebeamRow setCount(Double value) { this.Count = value; return this; }
        public Double getVolume() { return Volume; }
        public BluebeamRow setVolume(Double value) { this.Volume = value; return this; }
        public String getMeasurement() { return Measurement; }
        public BluebeamRow setMeasurement(String value) { this.Measurement = value; return this; }
        public Double getX() { return X; }
        public BluebeamRow setX(Double value) { this.X = value; return this; }
        public Double getY() { return Y; }
        public BluebeamRow setY(Double value) { this.Y = value; return this; }
        public Double getWidth() { return Width; }
        public BluebeamRow setWidth(Double value) { this.Width = value; return this; }
        public Double getHeight() { return Height; }
        public BluebeamRow setHeight(Double value) { this.Height = value; return this; }
        public HashMap<String,String> getExtras() { return Extras; }
        public BluebeamRow setExtras(HashMap<String,String> value) { this.Extras = value; return this; }
    }

}

Java BluebeamPreviewRequest DTOs

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

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /v1/projects/{ProjectID}/bluebeam/import/preview HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"ProjectID":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"FileName":"String","RowCount":0,"Columns":["String"],"Rows":[{"RowNo":0,"Target":"String","Title":"String","Description":"String","Area":"String","Trade":"String","AssignedSub":"String","Priority":"String","Quantity":0,"QuantityKind":"String","Unit":"String","TaskSeq":0,"Reason":"String","Source":{"RowNo":0,"Subject":"String","PageLabel":"String","PageIndex":0,"Author":"String","Date":"String","Status":"String","Color":"String","Comments":"String","Label":"String","Layer":"String","Space":"String","Length":0,"Area":0,"Count":0,"Volume":0,"Measurement":"String","X":0,"Y":0,"Width":0,"Height":0,"Extras":{"String":"String"}}}],"PunchProposed":0,"RfiProposed":0,"QuantityProposed":0,"SkipProposed":0}