Trendsic Platform Service

<back to all web services

PlanSetDeleteRequest

Requires Authentication
The following routes are available for this service:
DELETE,OPTIONS/v1/plansets/{PlanSetUID}
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class PlanSetDeleteRequest
    {
        public UUID PlanSetUID = null;
        
        public UUID getPlanSetUID() { return PlanSetUID; }
        public PlanSetDeleteRequest setPlanSetUID(UUID value) { this.PlanSetUID = value; return this; }
    }

    public static class PlanSetResponse
    {
        public ResponseStatus ResponseStatus = null;
        public PlanSet PlanSet = null;
        public ArrayList<Sheet> RemovedSheets = new ArrayList<Sheet>();
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public PlanSetResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public PlanSet getPlanSet() { return PlanSet; }
        public PlanSetResponse setPlanSet(PlanSet value) { this.PlanSet = value; return this; }
        public ArrayList<Sheet> getRemovedSheets() { return RemovedSheets; }
        public PlanSetResponse setRemovedSheets(ArrayList<Sheet> value) { this.RemovedSheets = value; return this; }
    }

    public static class PlanSet
    {
        public Integer PlanSetID = null;
        public UUID PlanSetUID = null;
        public Integer ProjectID = null;
        public String Name = null;
        public String Source = null;
        public String SourceLabel = null;
        public Date IssuedDate = null;
        public UUID AttachmentId = null;
        public String AttachmentName = null;
        public Double FileSizeInKB = null;
        public Integer VersionNo = null;
        public String Status = null;
        public Integer Progress = null;
        public Integer PageCount = null;
        public Integer SheetCount = null;
        public String ExtractMode = null;
        public String ErrorText = null;
        public Integer SupersedesPlanSetID = null;
        public String SupersedesName = null;
        public Boolean IsCurrent = null;
        public String CreatedBy = null;
        public Date CreatedAt = null;
        public Date ProcessedAt = null;
        public Integer AgeSeconds = null;
        public ArrayList<Sheet> Sheets = new ArrayList<Sheet>();
        public String Headline = null;
        
        public Integer getPlanSetID() { return PlanSetID; }
        public PlanSet setPlanSetID(Integer value) { this.PlanSetID = value; return this; }
        public UUID getPlanSetUID() { return PlanSetUID; }
        public PlanSet setPlanSetUID(UUID value) { this.PlanSetUID = value; return this; }
        public Integer getProjectID() { return ProjectID; }
        public PlanSet setProjectID(Integer value) { this.ProjectID = value; return this; }
        public String getName() { return Name; }
        public PlanSet setName(String value) { this.Name = value; return this; }
        public String getSource() { return Source; }
        public PlanSet setSource(String value) { this.Source = value; return this; }
        public String getSourceLabel() { return SourceLabel; }
        public PlanSet setSourceLabel(String value) { this.SourceLabel = value; return this; }
        public Date getIssuedDate() { return IssuedDate; }
        public PlanSet setIssuedDate(Date value) { this.IssuedDate = value; return this; }
        public UUID getAttachmentId() { return AttachmentId; }
        public PlanSet setAttachmentId(UUID value) { this.AttachmentId = value; return this; }
        public String getAttachmentName() { return AttachmentName; }
        public PlanSet setAttachmentName(String value) { this.AttachmentName = value; return this; }
        public Double getFileSizeInKB() { return FileSizeInKB; }
        public PlanSet setFileSizeInKB(Double value) { this.FileSizeInKB = value; return this; }
        public Integer getVersionNo() { return VersionNo; }
        public PlanSet setVersionNo(Integer value) { this.VersionNo = value; return this; }
        public String getStatus() { return Status; }
        public PlanSet setStatus(String value) { this.Status = value; return this; }
        public Integer getProgress() { return Progress; }
        public PlanSet setProgress(Integer value) { this.Progress = value; return this; }
        public Integer getPageCount() { return PageCount; }
        public PlanSet setPageCount(Integer value) { this.PageCount = value; return this; }
        public Integer getSheetCount() { return SheetCount; }
        public PlanSet setSheetCount(Integer value) { this.SheetCount = value; return this; }
        public String getExtractMode() { return ExtractMode; }
        public PlanSet setExtractMode(String value) { this.ExtractMode = value; return this; }
        public String getErrorText() { return ErrorText; }
        public PlanSet setErrorText(String value) { this.ErrorText = value; return this; }
        public Integer getSupersedesPlanSetID() { return SupersedesPlanSetID; }
        public PlanSet setSupersedesPlanSetID(Integer value) { this.SupersedesPlanSetID = value; return this; }
        public String getSupersedesName() { return SupersedesName; }
        public PlanSet setSupersedesName(String value) { this.SupersedesName = value; return this; }
        public Boolean getIsCurrent() { return IsCurrent; }
        public PlanSet setIsCurrent(Boolean value) { this.IsCurrent = value; return this; }
        public String getCreatedBy() { return CreatedBy; }
        public PlanSet setCreatedBy(String value) { this.CreatedBy = value; return this; }
        public Date getCreatedAt() { return CreatedAt; }
        public PlanSet setCreatedAt(Date value) { this.CreatedAt = value; return this; }
        public Date getProcessedAt() { return ProcessedAt; }
        public PlanSet setProcessedAt(Date value) { this.ProcessedAt = value; return this; }
        public Integer getAgeSeconds() { return AgeSeconds; }
        public PlanSet setAgeSeconds(Integer value) { this.AgeSeconds = value; return this; }
        public ArrayList<Sheet> getSheets() { return Sheets; }
        public PlanSet setSheets(ArrayList<Sheet> value) { this.Sheets = value; return this; }
        public String getHeadline() { return Headline; }
        public PlanSet setHeadline(String value) { this.Headline = value; return this; }
    }

    public static class Sheet
    {
        public Integer SheetID = null;
        public Integer PlanSetID = null;
        public UUID PlanSetUID = null;
        public String PlanSetName = null;
        public Integer ProjectID = null;
        public Integer PageIndex = null;
        public UUID AttachmentId = null;
        public Integer VersionNo = null;
        public String SheetNumber = null;
        public String SheetKey = null;
        public String Title = null;
        public String Discipline = null;
        public String Revision = null;
        public Date RevisionDate = null;
        public Double WidthPt = null;
        public Double HeightPt = null;
        public String ThumbKey = null;
        public String ThumbUrl = null;
        public String ThumbHash = null;
        public String ExtractSource = null;
        public Double Confidence = null;
        public String ChangeKind = null;
        public Integer SupersedesSheetID = null;
        public Boolean IsCurrent = null;
        public Integer PinCount = null;
        public String UpdatedBy = null;
        public Date UpdatedAt = null;
        public ArrayList<SheetPin> Pins = new ArrayList<SheetPin>();
        
        public Integer getSheetID() { return SheetID; }
        public Sheet setSheetID(Integer value) { this.SheetID = value; return this; }
        public Integer getPlanSetID() { return PlanSetID; }
        public Sheet setPlanSetID(Integer value) { this.PlanSetID = value; return this; }
        public UUID getPlanSetUID() { return PlanSetUID; }
        public Sheet setPlanSetUID(UUID value) { this.PlanSetUID = value; return this; }
        public String getPlanSetName() { return PlanSetName; }
        public Sheet setPlanSetName(String value) { this.PlanSetName = value; return this; }
        public Integer getProjectID() { return ProjectID; }
        public Sheet setProjectID(Integer value) { this.ProjectID = value; return this; }
        public Integer getPageIndex() { return PageIndex; }
        public Sheet setPageIndex(Integer value) { this.PageIndex = value; return this; }
        public UUID getAttachmentId() { return AttachmentId; }
        public Sheet setAttachmentId(UUID value) { this.AttachmentId = value; return this; }
        public Integer getVersionNo() { return VersionNo; }
        public Sheet setVersionNo(Integer value) { this.VersionNo = value; return this; }
        public String getSheetNumber() { return SheetNumber; }
        public Sheet setSheetNumber(String value) { this.SheetNumber = value; return this; }
        public String getSheetKey() { return SheetKey; }
        public Sheet setSheetKey(String value) { this.SheetKey = value; return this; }
        public String getTitle() { return Title; }
        public Sheet setTitle(String value) { this.Title = value; return this; }
        public String getDiscipline() { return Discipline; }
        public Sheet setDiscipline(String value) { this.Discipline = value; return this; }
        public String getRevision() { return Revision; }
        public Sheet setRevision(String value) { this.Revision = value; return this; }
        public Date getRevisionDate() { return RevisionDate; }
        public Sheet setRevisionDate(Date value) { this.RevisionDate = value; return this; }
        public Double getWidthPt() { return WidthPt; }
        public Sheet setWidthPt(Double value) { this.WidthPt = value; return this; }
        public Double getHeightPt() { return HeightPt; }
        public Sheet setHeightPt(Double value) { this.HeightPt = value; return this; }
        public String getThumbKey() { return ThumbKey; }
        public Sheet setThumbKey(String value) { this.ThumbKey = value; return this; }
        public String getThumbUrl() { return ThumbUrl; }
        public Sheet setThumbUrl(String value) { this.ThumbUrl = value; return this; }
        public String getThumbHash() { return ThumbHash; }
        public Sheet setThumbHash(String value) { this.ThumbHash = value; return this; }
        public String getExtractSource() { return ExtractSource; }
        public Sheet setExtractSource(String value) { this.ExtractSource = value; return this; }
        public Double getConfidence() { return Confidence; }
        public Sheet setConfidence(Double value) { this.Confidence = value; return this; }
        public String getChangeKind() { return ChangeKind; }
        public Sheet setChangeKind(String value) { this.ChangeKind = value; return this; }
        public Integer getSupersedesSheetID() { return SupersedesSheetID; }
        public Sheet setSupersedesSheetID(Integer value) { this.SupersedesSheetID = value; return this; }
        public Boolean getIsCurrent() { return IsCurrent; }
        public Sheet setIsCurrent(Boolean value) { this.IsCurrent = value; return this; }
        public Integer getPinCount() { return PinCount; }
        public Sheet setPinCount(Integer value) { this.PinCount = value; return this; }
        public String getUpdatedBy() { return UpdatedBy; }
        public Sheet setUpdatedBy(String value) { this.UpdatedBy = value; return this; }
        public Date getUpdatedAt() { return UpdatedAt; }
        public Sheet setUpdatedAt(Date value) { this.UpdatedAt = value; return this; }
        public ArrayList<SheetPin> getPins() { return Pins; }
        public Sheet setPins(ArrayList<SheetPin> value) { this.Pins = value; return this; }
    }

    public static class SheetPin
    {
        public Integer SheetPinID = null;
        public Integer SheetID = null;
        public String EntityType = null;
        public Integer EntityID = null;
        public UUID EntityUID = null;
        public Double X = null;
        public Double Y = null;
        public String Label = null;
        public String CreatedBy = null;
        public Date CreatedAt = null;
        public String EntityNo = null;
        public String EntityTitle = null;
        public String EntityStatus = null;
        public UUID InspectionUID = null;
        public String SheetNumber = null;
        public String SheetTitle = null;
        public Integer PlanSetID = null;
        public UUID PlanSetUID = null;
        public String PlanSetName = null;
        
        public Integer getSheetPinID() { return SheetPinID; }
        public SheetPin setSheetPinID(Integer value) { this.SheetPinID = value; return this; }
        public Integer getSheetID() { return SheetID; }
        public SheetPin setSheetID(Integer value) { this.SheetID = value; return this; }
        public String getEntityType() { return EntityType; }
        public SheetPin setEntityType(String value) { this.EntityType = value; return this; }
        public Integer getEntityID() { return EntityID; }
        public SheetPin setEntityID(Integer value) { this.EntityID = value; return this; }
        public UUID getEntityUID() { return EntityUID; }
        public SheetPin setEntityUID(UUID value) { this.EntityUID = value; return this; }
        public Double getX() { return X; }
        public SheetPin setX(Double value) { this.X = value; return this; }
        public Double getY() { return Y; }
        public SheetPin setY(Double value) { this.Y = value; return this; }
        public String getLabel() { return Label; }
        public SheetPin setLabel(String value) { this.Label = value; return this; }
        public String getCreatedBy() { return CreatedBy; }
        public SheetPin setCreatedBy(String value) { this.CreatedBy = value; return this; }
        public Date getCreatedAt() { return CreatedAt; }
        public SheetPin setCreatedAt(Date value) { this.CreatedAt = value; return this; }
        public String getEntityNo() { return EntityNo; }
        public SheetPin setEntityNo(String value) { this.EntityNo = value; return this; }
        public String getEntityTitle() { return EntityTitle; }
        public SheetPin setEntityTitle(String value) { this.EntityTitle = value; return this; }
        public String getEntityStatus() { return EntityStatus; }
        public SheetPin setEntityStatus(String value) { this.EntityStatus = value; return this; }
        public UUID getInspectionUID() { return InspectionUID; }
        public SheetPin setInspectionUID(UUID value) { this.InspectionUID = value; return this; }
        public String getSheetNumber() { return SheetNumber; }
        public SheetPin setSheetNumber(String value) { this.SheetNumber = value; return this; }
        public String getSheetTitle() { return SheetTitle; }
        public SheetPin setSheetTitle(String value) { this.SheetTitle = value; return this; }
        public Integer getPlanSetID() { return PlanSetID; }
        public SheetPin setPlanSetID(Integer value) { this.PlanSetID = value; return this; }
        public UUID getPlanSetUID() { return PlanSetUID; }
        public SheetPin setPlanSetUID(UUID value) { this.PlanSetUID = value; return this; }
        public String getPlanSetName() { return PlanSetName; }
        public SheetPin setPlanSetName(String value) { this.PlanSetName = value; return this; }
    }

}

Java PlanSetDeleteRequest 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.

DELETE /v1/plansets/{PlanSetUID} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<PlanSetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
  <PlanSet>
    <AgeSeconds>0</AgeSeconds>
    <AttachmentId>00000000-0000-0000-0000-000000000000</AttachmentId>
    <AttachmentName>String</AttachmentName>
    <CreatedAt>0001-01-01T00:00:00</CreatedAt>
    <CreatedBy>String</CreatedBy>
    <ErrorText>String</ErrorText>
    <ExtractMode>String</ExtractMode>
    <FileSizeInKB>0</FileSizeInKB>
    <Headline>String</Headline>
    <IsCurrent>false</IsCurrent>
    <IssuedDate>0001-01-01T00:00:00</IssuedDate>
    <Name>String</Name>
    <PageCount>0</PageCount>
    <PlanSetID>0</PlanSetID>
    <PlanSetUID>00000000-0000-0000-0000-000000000000</PlanSetUID>
    <ProcessedAt>0001-01-01T00:00:00</ProcessedAt>
    <Progress>0</Progress>
    <ProjectID>0</ProjectID>
    <SheetCount>0</SheetCount>
    <Sheets>
      <Sheet>
        <AttachmentId>00000000-0000-0000-0000-000000000000</AttachmentId>
        <ChangeKind>String</ChangeKind>
        <Confidence>0</Confidence>
        <Discipline>String</Discipline>
        <ExtractSource>String</ExtractSource>
        <HeightPt>0</HeightPt>
        <IsCurrent>false</IsCurrent>
        <PageIndex>0</PageIndex>
        <PinCount>0</PinCount>
        <Pins>
          <SheetPin>
            <CreatedAt>0001-01-01T00:00:00</CreatedAt>
            <CreatedBy>String</CreatedBy>
            <EntityID>0</EntityID>
            <EntityNo>String</EntityNo>
            <EntityStatus>String</EntityStatus>
            <EntityTitle>String</EntityTitle>
            <EntityType>String</EntityType>
            <EntityUID>00000000-0000-0000-0000-000000000000</EntityUID>
            <InspectionUID>00000000-0000-0000-0000-000000000000</InspectionUID>
            <Label>String</Label>
            <PlanSetID>0</PlanSetID>
            <PlanSetName>String</PlanSetName>
            <PlanSetUID>00000000-0000-0000-0000-000000000000</PlanSetUID>
            <SheetID>0</SheetID>
            <SheetNumber>String</SheetNumber>
            <SheetPinID>0</SheetPinID>
            <SheetTitle>String</SheetTitle>
            <X>0</X>
            <Y>0</Y>
          </SheetPin>
        </Pins>
        <PlanSetID>0</PlanSetID>
        <PlanSetName>String</PlanSetName>
        <PlanSetUID>00000000-0000-0000-0000-000000000000</PlanSetUID>
        <ProjectID>0</ProjectID>
        <Revision>String</Revision>
        <RevisionDate>0001-01-01T00:00:00</RevisionDate>
        <SheetID>0</SheetID>
        <SheetKey>String</SheetKey>
        <SheetNumber>String</SheetNumber>
        <SupersedesSheetID>0</SupersedesSheetID>
        <ThumbHash>String</ThumbHash>
        <ThumbKey>String</ThumbKey>
        <ThumbUrl>String</ThumbUrl>
        <Title>String</Title>
        <UpdatedAt>0001-01-01T00:00:00</UpdatedAt>
        <UpdatedBy>String</UpdatedBy>
        <VersionNo>0</VersionNo>
        <WidthPt>0</WidthPt>
      </Sheet>
    </Sheets>
    <Source>String</Source>
    <SourceLabel>String</SourceLabel>
    <Status>String</Status>
    <SupersedesName>String</SupersedesName>
    <SupersedesPlanSetID>0</SupersedesPlanSetID>
    <VersionNo>0</VersionNo>
  </PlanSet>
  <RemovedSheets>
    <Sheet>
      <AttachmentId>00000000-0000-0000-0000-000000000000</AttachmentId>
      <ChangeKind>String</ChangeKind>
      <Confidence>0</Confidence>
      <Discipline>String</Discipline>
      <ExtractSource>String</ExtractSource>
      <HeightPt>0</HeightPt>
      <IsCurrent>false</IsCurrent>
      <PageIndex>0</PageIndex>
      <PinCount>0</PinCount>
      <Pins>
        <SheetPin>
          <CreatedAt>0001-01-01T00:00:00</CreatedAt>
          <CreatedBy>String</CreatedBy>
          <EntityID>0</EntityID>
          <EntityNo>String</EntityNo>
          <EntityStatus>String</EntityStatus>
          <EntityTitle>String</EntityTitle>
          <EntityType>String</EntityType>
          <EntityUID>00000000-0000-0000-0000-000000000000</EntityUID>
          <InspectionUID>00000000-0000-0000-0000-000000000000</InspectionUID>
          <Label>String</Label>
          <PlanSetID>0</PlanSetID>
          <PlanSetName>String</PlanSetName>
          <PlanSetUID>00000000-0000-0000-0000-000000000000</PlanSetUID>
          <SheetID>0</SheetID>
          <SheetNumber>String</SheetNumber>
          <SheetPinID>0</SheetPinID>
          <SheetTitle>String</SheetTitle>
          <X>0</X>
          <Y>0</Y>
        </SheetPin>
      </Pins>
      <PlanSetID>0</PlanSetID>
      <PlanSetName>String</PlanSetName>
      <PlanSetUID>00000000-0000-0000-0000-000000000000</PlanSetUID>
      <ProjectID>0</ProjectID>
      <Revision>String</Revision>
      <RevisionDate>0001-01-01T00:00:00</RevisionDate>
      <SheetID>0</SheetID>
      <SheetKey>String</SheetKey>
      <SheetNumber>String</SheetNumber>
      <SupersedesSheetID>0</SupersedesSheetID>
      <ThumbHash>String</ThumbHash>
      <ThumbKey>String</ThumbKey>
      <ThumbUrl>String</ThumbUrl>
      <Title>String</Title>
      <UpdatedAt>0001-01-01T00:00:00</UpdatedAt>
      <UpdatedBy>String</UpdatedBy>
      <VersionNo>0</VersionNo>
      <WidthPt>0</WidthPt>
    </Sheet>
  </RemovedSheets>
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
        <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d2p1:Meta>
      </d2p1:ResponseError>
    </d2p1:Errors>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
  </ResponseStatus>
</PlanSetResponse>