| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/Rfp/{RfpDocumentUID}/Brief |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class RfpBriefRequest
{
public UUID RfpDocumentUID = null;
public UUID getRfpDocumentUID() { return RfpDocumentUID; }
public RfpBriefRequest setRfpDocumentUID(UUID value) { this.RfpDocumentUID = value; return this; }
}
public static class RfpBriefResponse
{
public ResponseStatus ResponseStatus = null;
public Integer RfpDocumentID = null;
public RfpBrief Brief = null;
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public RfpBriefResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
public Integer getRfpDocumentID() { return RfpDocumentID; }
public RfpBriefResponse setRfpDocumentID(Integer value) { this.RfpDocumentID = value; return this; }
public RfpBrief getBrief() { return Brief; }
public RfpBriefResponse setBrief(RfpBrief value) { this.Brief = value; return this; }
}
public static class RfpBrief
{
public String ProjectTitle = null;
public String SolicitationNumber = null;
public String IssuingOrganization = null;
public String ProjectType = null;
public String Summary = null;
public ArrayList<RfpLocation> Locations = new ArrayList<RfpLocation>();
public RfpSchedule Schedule = null;
public ArrayList<RfpLineItem> LineItems = new ArrayList<RfpLineItem>();
public ArrayList<RfpBidConstraint> BidConstraints = new ArrayList<RfpBidConstraint>();
public ArrayList<String> SpecialRequirements = new ArrayList<String>();
public String getProjectTitle() { return ProjectTitle; }
public RfpBrief setProjectTitle(String value) { this.ProjectTitle = value; return this; }
public String getSolicitationNumber() { return SolicitationNumber; }
public RfpBrief setSolicitationNumber(String value) { this.SolicitationNumber = value; return this; }
public String getIssuingOrganization() { return IssuingOrganization; }
public RfpBrief setIssuingOrganization(String value) { this.IssuingOrganization = value; return this; }
public String getProjectType() { return ProjectType; }
public RfpBrief setProjectType(String value) { this.ProjectType = value; return this; }
public String getSummary() { return Summary; }
public RfpBrief setSummary(String value) { this.Summary = value; return this; }
public ArrayList<RfpLocation> getLocations() { return Locations; }
public RfpBrief setLocations(ArrayList<RfpLocation> value) { this.Locations = value; return this; }
public RfpSchedule getSchedule() { return Schedule; }
public RfpBrief setSchedule(RfpSchedule value) { this.Schedule = value; return this; }
public ArrayList<RfpLineItem> getLineItems() { return LineItems; }
public RfpBrief setLineItems(ArrayList<RfpLineItem> value) { this.LineItems = value; return this; }
public ArrayList<RfpBidConstraint> getBidConstraints() { return BidConstraints; }
public RfpBrief setBidConstraints(ArrayList<RfpBidConstraint> value) { this.BidConstraints = value; return this; }
public ArrayList<String> getSpecialRequirements() { return SpecialRequirements; }
public RfpBrief setSpecialRequirements(ArrayList<String> value) { this.SpecialRequirements = value; return this; }
}
public static class RfpLocation
{
public String Description = null;
public String City = null;
public String State = null;
public String Identifier = null;
public String getDescription() { return Description; }
public RfpLocation setDescription(String value) { this.Description = value; return this; }
public String getCity() { return City; }
public RfpLocation setCity(String value) { this.City = value; return this; }
public String getState() { return State; }
public RfpLocation setState(String value) { this.State = value; return this; }
public String getIdentifier() { return Identifier; }
public RfpLocation setIdentifier(String value) { this.Identifier = value; return this; }
}
public static class RfpSchedule
{
public String BidDueDate = null;
public String EstimatedStartDate = null;
public String QuestionsDueDate = null;
public Integer ContractDurationDays = null;
public String Notes = null;
public String getBidDueDate() { return BidDueDate; }
public RfpSchedule setBidDueDate(String value) { this.BidDueDate = value; return this; }
public String getEstimatedStartDate() { return EstimatedStartDate; }
public RfpSchedule setEstimatedStartDate(String value) { this.EstimatedStartDate = value; return this; }
public String getQuestionsDueDate() { return QuestionsDueDate; }
public RfpSchedule setQuestionsDueDate(String value) { this.QuestionsDueDate = value; return this; }
public Integer getContractDurationDays() { return ContractDurationDays; }
public RfpSchedule setContractDurationDays(Integer value) { this.ContractDurationDays = value; return this; }
public String getNotes() { return Notes; }
public RfpSchedule setNotes(String value) { this.Notes = value; return this; }
}
public static class RfpLineItem
{
public String ItemNumber = null;
public String Description = null;
public Double Quantity = null;
public String Unit = null;
public String Category = null;
public String SourceReference = null;
public String getItemNumber() { return ItemNumber; }
public RfpLineItem setItemNumber(String value) { this.ItemNumber = value; return this; }
public String getDescription() { return Description; }
public RfpLineItem setDescription(String value) { this.Description = value; return this; }
public Double getQuantity() { return Quantity; }
public RfpLineItem setQuantity(Double value) { this.Quantity = value; return this; }
public String getUnit() { return Unit; }
public RfpLineItem setUnit(String value) { this.Unit = value; return this; }
public String getCategory() { return Category; }
public RfpLineItem setCategory(String value) { this.Category = value; return this; }
public String getSourceReference() { return SourceReference; }
public RfpLineItem setSourceReference(String value) { this.SourceReference = value; return this; }
}
public static class RfpBidConstraint
{
public String Constraint = null;
public String Detail = null;
public String getConstraint() { return Constraint; }
public RfpBidConstraint setConstraint(String value) { this.Constraint = value; return this; }
public String getDetail() { return Detail; }
public RfpBidConstraint setDetail(String value) { this.Detail = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/Rfp/{RfpDocumentUID}/Brief HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
RfpDocumentID: 0,
Brief:
{
ProjectTitle: String,
SolicitationNumber: String,
IssuingOrganization: String,
ProjectType: String,
Summary: String,
Locations:
[
{
Description: String,
City: String,
State: String,
Identifier: String
}
],
Schedule:
{
BidDueDate: String,
EstimatedStartDate: String,
QuestionsDueDate: String,
ContractDurationDays: 0,
Notes: String
},
LineItems:
[
{
ItemNumber: String,
Description: String,
Quantity: 0,
Unit: String,
Category: String,
SourceReference: String
}
],
BidConstraints:
[
{
Constraint: String,
Detail: String
}
],
SpecialRequirements:
[
String
]
}
}