| 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 .xml suffix or ?format=xml
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: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<RfpBriefResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
<Brief>
<BidConstraints>
<RfpBidConstraint>
<Constraint>String</Constraint>
<Detail>String</Detail>
</RfpBidConstraint>
</BidConstraints>
<IssuingOrganization>String</IssuingOrganization>
<LineItems>
<RfpLineItem>
<Category>String</Category>
<Description>String</Description>
<ItemNumber>String</ItemNumber>
<Quantity>0</Quantity>
<SourceReference>String</SourceReference>
<Unit>String</Unit>
</RfpLineItem>
</LineItems>
<Locations>
<RfpLocation>
<City>String</City>
<Description>String</Description>
<Identifier>String</Identifier>
<State>String</State>
</RfpLocation>
</Locations>
<ProjectTitle>String</ProjectTitle>
<ProjectType>String</ProjectType>
<Schedule>
<BidDueDate>String</BidDueDate>
<ContractDurationDays>0</ContractDurationDays>
<EstimatedStartDate>String</EstimatedStartDate>
<Notes>String</Notes>
<QuestionsDueDate>String</QuestionsDueDate>
</Schedule>
<SolicitationNumber>String</SolicitationNumber>
<SpecialRequirements xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</SpecialRequirements>
<Summary>String</Summary>
</Brief>
<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>
<RfpDocumentID>0</RfpDocumentID>
</RfpBriefResponse>