Trendsic Platform Service

<back to all web services

QcHoldPointListRequest

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

public class dtos
{

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

    public static class QcHoldPointListResponse
    {
        public ResponseStatus ResponseStatus = null;
        public Integer ProjectID = null;
        public ArrayList<QcHoldPoint> HoldPoints = new ArrayList<QcHoldPoint>();
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public QcHoldPointListResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public Integer getProjectID() { return ProjectID; }
        public QcHoldPointListResponse setProjectID(Integer value) { this.ProjectID = value; return this; }
        public ArrayList<QcHoldPoint> getHoldPoints() { return HoldPoints; }
        public QcHoldPointListResponse setHoldPoints(ArrayList<QcHoldPoint> value) { this.HoldPoints = value; return this; }
    }

    public static class QcHoldPoint
    {
        public Integer QcHoldPointID = null;
        public UUID QcHoldPointUID = null;
        public Integer ProjectID = null;
        public String Description = null;
        public String ResponsibleParty = null;
        public String CostCode = null;
        public Date ScheduledDate = null;
        public String Status = null;
        public String ReleasedBy = null;
        public Date ReleasedAt = null;
        public String Notes = null;
        public String CreatedBy = null;
        public Date CreatedAt = null;
        public Date UpdatedAt = null;
        
        public Integer getQcHoldPointID() { return QcHoldPointID; }
        public QcHoldPoint setQcHoldPointID(Integer value) { this.QcHoldPointID = value; return this; }
        public UUID getQcHoldPointUID() { return QcHoldPointUID; }
        public QcHoldPoint setQcHoldPointUID(UUID value) { this.QcHoldPointUID = value; return this; }
        public Integer getProjectID() { return ProjectID; }
        public QcHoldPoint setProjectID(Integer value) { this.ProjectID = value; return this; }
        public String getDescription() { return Description; }
        public QcHoldPoint setDescription(String value) { this.Description = value; return this; }
        public String getResponsibleParty() { return ResponsibleParty; }
        public QcHoldPoint setResponsibleParty(String value) { this.ResponsibleParty = value; return this; }
        public String getCostCode() { return CostCode; }
        public QcHoldPoint setCostCode(String value) { this.CostCode = value; return this; }
        public Date getScheduledDate() { return ScheduledDate; }
        public QcHoldPoint setScheduledDate(Date value) { this.ScheduledDate = value; return this; }
        public String getStatus() { return Status; }
        public QcHoldPoint setStatus(String value) { this.Status = value; return this; }
        public String getReleasedBy() { return ReleasedBy; }
        public QcHoldPoint setReleasedBy(String value) { this.ReleasedBy = value; return this; }
        public Date getReleasedAt() { return ReleasedAt; }
        public QcHoldPoint setReleasedAt(Date value) { this.ReleasedAt = value; return this; }
        public String getNotes() { return Notes; }
        public QcHoldPoint setNotes(String value) { this.Notes = value; return this; }
        public String getCreatedBy() { return CreatedBy; }
        public QcHoldPoint setCreatedBy(String value) { this.CreatedBy = value; return this; }
        public Date getCreatedAt() { return CreatedAt; }
        public QcHoldPoint setCreatedAt(Date value) { this.CreatedAt = value; return this; }
        public Date getUpdatedAt() { return UpdatedAt; }
        public QcHoldPoint setUpdatedAt(Date value) { this.UpdatedAt = value; return this; }
    }

}

Java QcHoldPointListRequest 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/projects/{ProjectID}/hold-points HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<QcHoldPointListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
  <HoldPoints>
    <QcHoldPoint>
      <CostCode>String</CostCode>
      <CreatedAt>0001-01-01T00:00:00</CreatedAt>
      <CreatedBy>String</CreatedBy>
      <Description>String</Description>
      <Notes>String</Notes>
      <ProjectID>0</ProjectID>
      <QcHoldPointID>0</QcHoldPointID>
      <QcHoldPointUID>00000000-0000-0000-0000-000000000000</QcHoldPointUID>
      <ReleasedAt>0001-01-01T00:00:00</ReleasedAt>
      <ReleasedBy>String</ReleasedBy>
      <ResponsibleParty>String</ResponsibleParty>
      <ScheduledDate>0001-01-01T00:00:00</ScheduledDate>
      <Status>String</Status>
      <UpdatedAt>0001-01-01T00:00:00</UpdatedAt>
    </QcHoldPoint>
  </HoldPoints>
  <ProjectID>0</ProjectID>
  <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>
</QcHoldPointListResponse>