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

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"ProjectID":0,"HoldPoints":[{"QcHoldPointID":0,"QcHoldPointUID":"00000000000000000000000000000000","ProjectID":0,"Description":"String","ResponsibleParty":"String","CostCode":"String","ScheduledDate":"0001-01-01T00:00:00.0000000","Status":"String","ReleasedBy":"String","ReleasedAt":"0001-01-01T00:00:00.0000000","Notes":"String","CreatedBy":"String","CreatedAt":"0001-01-01T00:00:00.0000000","UpdatedAt":"0001-01-01T00:00:00.0000000"}]}