| Requires any of the roles: | Agent, Administrator |
| POST,OPTIONS | /v1/Rfp/{RfpDocumentUID}/Refine |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class RfpRefineRequest
{
public String RfpDocumentUID = null;
public String Layer = null;
public String Mode = null;
public String Instruction = null;
public String getRfpDocumentUID() { return RfpDocumentUID; }
public RfpRefineRequest setRfpDocumentUID(String value) { this.RfpDocumentUID = value; return this; }
public String getLayer() { return Layer; }
public RfpRefineRequest setLayer(String value) { this.Layer = value; return this; }
public String getMode() { return Mode; }
public RfpRefineRequest setMode(String value) { this.Mode = value; return this; }
public String getInstruction() { return Instruction; }
public RfpRefineRequest setInstruction(String value) { this.Instruction = value; return this; }
}
public static class RfpRefineResponse
{
public ResponseStatus ResponseStatus = null;
public Integer RfpDocumentID = null;
public String Layer = null;
public String Mode = null;
public Integer TurnCount = null;
public RfpBrief Brief = null;
public ProjectProposal Proposal = null;
public PricedProposal Pricing = null;
public ArrayList<CrewPlanLine> CrewPlan = new ArrayList<CrewPlanLine>();
public Long CacheReadTokens = null;
public Long CacheCreationTokens = null;
public Long InputTokens = null;
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public RfpRefineResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
public Integer getRfpDocumentID() { return RfpDocumentID; }
public RfpRefineResponse setRfpDocumentID(Integer value) { this.RfpDocumentID = value; return this; }
public String getLayer() { return Layer; }
public RfpRefineResponse setLayer(String value) { this.Layer = value; return this; }
public String getMode() { return Mode; }
public RfpRefineResponse setMode(String value) { this.Mode = value; return this; }
public Integer getTurnCount() { return TurnCount; }
public RfpRefineResponse setTurnCount(Integer value) { this.TurnCount = value; return this; }
public RfpBrief getBrief() { return Brief; }
public RfpRefineResponse setBrief(RfpBrief value) { this.Brief = value; return this; }
public ProjectProposal getProposal() { return Proposal; }
public RfpRefineResponse setProposal(ProjectProposal value) { this.Proposal = value; return this; }
public PricedProposal getPricing() { return Pricing; }
public RfpRefineResponse setPricing(PricedProposal value) { this.Pricing = value; return this; }
public ArrayList<CrewPlanLine> getCrewPlan() { return CrewPlan; }
public RfpRefineResponse setCrewPlan(ArrayList<CrewPlanLine> value) { this.CrewPlan = value; return this; }
public Long getCacheReadTokens() { return CacheReadTokens; }
public RfpRefineResponse setCacheReadTokens(Long value) { this.CacheReadTokens = value; return this; }
public Long getCacheCreationTokens() { return CacheCreationTokens; }
public RfpRefineResponse setCacheCreationTokens(Long value) { this.CacheCreationTokens = value; return this; }
public Long getInputTokens() { return InputTokens; }
public RfpRefineResponse setInputTokens(Long value) { this.InputTokens = 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; }
}
public static class ProjectProposal
{
public Integer RfpDocumentID = null;
public String Mode = null;
public Integer ProjectID = null;
public Integer ChangeOrderID = null;
public String ProjectName = null;
public String ClientName = null;
public String ProjectType = null;
public String ProjectLocation = null;
public String Scope = null;
public String ProjectDescription = null;
public Integer ContractDurationDays = null;
public String BidDueDate = null;
public Date EstimatedStartDate = null;
public Date EstimatedEndDate = null;
public ArrayList<ProposedTask> Tasks = new ArrayList<ProposedTask>();
public Integer getRfpDocumentID() { return RfpDocumentID; }
public ProjectProposal setRfpDocumentID(Integer value) { this.RfpDocumentID = value; return this; }
public String getMode() { return Mode; }
public ProjectProposal setMode(String value) { this.Mode = value; return this; }
public Integer getProjectID() { return ProjectID; }
public ProjectProposal setProjectID(Integer value) { this.ProjectID = value; return this; }
public Integer getChangeOrderID() { return ChangeOrderID; }
public ProjectProposal setChangeOrderID(Integer value) { this.ChangeOrderID = value; return this; }
public String getProjectName() { return ProjectName; }
public ProjectProposal setProjectName(String value) { this.ProjectName = value; return this; }
public String getClientName() { return ClientName; }
public ProjectProposal setClientName(String value) { this.ClientName = value; return this; }
public String getProjectType() { return ProjectType; }
public ProjectProposal setProjectType(String value) { this.ProjectType = value; return this; }
public String getProjectLocation() { return ProjectLocation; }
public ProjectProposal setProjectLocation(String value) { this.ProjectLocation = value; return this; }
public String getScope() { return Scope; }
public ProjectProposal setScope(String value) { this.Scope = value; return this; }
public String getProjectDescription() { return ProjectDescription; }
public ProjectProposal setProjectDescription(String value) { this.ProjectDescription = value; return this; }
public Integer getContractDurationDays() { return ContractDurationDays; }
public ProjectProposal setContractDurationDays(Integer value) { this.ContractDurationDays = value; return this; }
public String getBidDueDate() { return BidDueDate; }
public ProjectProposal setBidDueDate(String value) { this.BidDueDate = value; return this; }
public Date getEstimatedStartDate() { return EstimatedStartDate; }
public ProjectProposal setEstimatedStartDate(Date value) { this.EstimatedStartDate = value; return this; }
public Date getEstimatedEndDate() { return EstimatedEndDate; }
public ProjectProposal setEstimatedEndDate(Date value) { this.EstimatedEndDate = value; return this; }
public ArrayList<ProposedTask> getTasks() { return Tasks; }
public ProjectProposal setTasks(ArrayList<ProposedTask> value) { this.Tasks = value; return this; }
}
public static class ProposedTask
{
public Integer Seq = null;
public String Name = null;
public String Category = null;
public Double Quantity = null;
public String Unit = null;
public String SourceItemNumber = null;
public String SourceReference = null;
public String Notes = null;
public TaskResourcing Resourcing = null;
public Double DurationDays = null;
public ArrayList<Integer> DependsOn = new ArrayList<Integer>();
public Date EstimatedStartDate = null;
public Date EstimatedEndDate = null;
public Integer getSeq() { return Seq; }
public ProposedTask setSeq(Integer value) { this.Seq = value; return this; }
public String getName() { return Name; }
public ProposedTask setName(String value) { this.Name = value; return this; }
public String getCategory() { return Category; }
public ProposedTask setCategory(String value) { this.Category = value; return this; }
public Double getQuantity() { return Quantity; }
public ProposedTask setQuantity(Double value) { this.Quantity = value; return this; }
public String getUnit() { return Unit; }
public ProposedTask setUnit(String value) { this.Unit = value; return this; }
public String getSourceItemNumber() { return SourceItemNumber; }
public ProposedTask setSourceItemNumber(String value) { this.SourceItemNumber = value; return this; }
public String getSourceReference() { return SourceReference; }
public ProposedTask setSourceReference(String value) { this.SourceReference = value; return this; }
public String getNotes() { return Notes; }
public ProposedTask setNotes(String value) { this.Notes = value; return this; }
public TaskResourcing getResourcing() { return Resourcing; }
public ProposedTask setResourcing(TaskResourcing value) { this.Resourcing = value; return this; }
public Double getDurationDays() { return DurationDays; }
public ProposedTask setDurationDays(Double value) { this.DurationDays = value; return this; }
public ArrayList<Integer> getDependsOn() { return DependsOn; }
public ProposedTask setDependsOn(ArrayList<Integer> value) { this.DependsOn = value; return this; }
public Date getEstimatedStartDate() { return EstimatedStartDate; }
public ProposedTask setEstimatedStartDate(Date value) { this.EstimatedStartDate = value; return this; }
public Date getEstimatedEndDate() { return EstimatedEndDate; }
public ProposedTask setEstimatedEndDate(Date value) { this.EstimatedEndDate = value; return this; }
}
public static class TaskResourcing
{
public ArrayList<ResourcedPosition> Positions = new ArrayList<ResourcedPosition>();
public ArrayList<ResourcedEquipment> Equipment = new ArrayList<ResourcedEquipment>();
public ArrayList<ResourcedMaterial> Materials = new ArrayList<ResourcedMaterial>();
public ArrayList<ResourcedPosition> getPositions() { return Positions; }
public TaskResourcing setPositions(ArrayList<ResourcedPosition> value) { this.Positions = value; return this; }
public ArrayList<ResourcedEquipment> getEquipment() { return Equipment; }
public TaskResourcing setEquipment(ArrayList<ResourcedEquipment> value) { this.Equipment = value; return this; }
public ArrayList<ResourcedMaterial> getMaterials() { return Materials; }
public TaskResourcing setMaterials(ArrayList<ResourcedMaterial> value) { this.Materials = value; return this; }
}
public static class ResourcedPosition
{
public String PositionTag = null;
public Double Hours = null;
public Integer Headcount = null;
public String SourceReference = null;
public String Notes = null;
public Boolean IsInCatalog = null;
public Integer ContactID = null;
public String getPositionTag() { return PositionTag; }
public ResourcedPosition setPositionTag(String value) { this.PositionTag = value; return this; }
public Double getHours() { return Hours; }
public ResourcedPosition setHours(Double value) { this.Hours = value; return this; }
public Integer getHeadcount() { return Headcount; }
public ResourcedPosition setHeadcount(Integer value) { this.Headcount = value; return this; }
public String getSourceReference() { return SourceReference; }
public ResourcedPosition setSourceReference(String value) { this.SourceReference = value; return this; }
public String getNotes() { return Notes; }
public ResourcedPosition setNotes(String value) { this.Notes = value; return this; }
public Boolean getIsInCatalog() { return IsInCatalog; }
public ResourcedPosition setIsInCatalog(Boolean value) { this.IsInCatalog = value; return this; }
public Integer getContactID() { return ContactID; }
public ResourcedPosition setContactID(Integer value) { this.ContactID = value; return this; }
}
public static class ResourcedEquipment
{
public Integer EquipmentID = null;
public String EquipmentName = null;
public String MakeModel = null;
public Double Quantity = null;
public Double DurationDays = null;
public String SourceReference = null;
public String Notes = null;
public Boolean IsInCatalog = null;
public Integer SuggestedEquipmentID = null;
public String SuggestedEquipmentName = null;
public Integer getEquipmentID() { return EquipmentID; }
public ResourcedEquipment setEquipmentID(Integer value) { this.EquipmentID = value; return this; }
public String getEquipmentName() { return EquipmentName; }
public ResourcedEquipment setEquipmentName(String value) { this.EquipmentName = value; return this; }
public String getMakeModel() { return MakeModel; }
public ResourcedEquipment setMakeModel(String value) { this.MakeModel = value; return this; }
public Double getQuantity() { return Quantity; }
public ResourcedEquipment setQuantity(Double value) { this.Quantity = value; return this; }
public Double getDurationDays() { return DurationDays; }
public ResourcedEquipment setDurationDays(Double value) { this.DurationDays = value; return this; }
public String getSourceReference() { return SourceReference; }
public ResourcedEquipment setSourceReference(String value) { this.SourceReference = value; return this; }
public String getNotes() { return Notes; }
public ResourcedEquipment setNotes(String value) { this.Notes = value; return this; }
public Boolean getIsInCatalog() { return IsInCatalog; }
public ResourcedEquipment setIsInCatalog(Boolean value) { this.IsInCatalog = value; return this; }
public Integer getSuggestedEquipmentID() { return SuggestedEquipmentID; }
public ResourcedEquipment setSuggestedEquipmentID(Integer value) { this.SuggestedEquipmentID = value; return this; }
public String getSuggestedEquipmentName() { return SuggestedEquipmentName; }
public ResourcedEquipment setSuggestedEquipmentName(String value) { this.SuggestedEquipmentName = value; return this; }
}
public static class ResourcedMaterial
{
public Integer MaterialID = null;
public String MaterialName = null;
public String MakeModel = null;
public Double Quantity = null;
public String Unit = null;
public String SourceReference = null;
public String Notes = null;
public Boolean IsInCatalog = null;
public Integer SuggestedMaterialID = null;
public String SuggestedMaterialName = null;
public Integer getMaterialID() { return MaterialID; }
public ResourcedMaterial setMaterialID(Integer value) { this.MaterialID = value; return this; }
public String getMaterialName() { return MaterialName; }
public ResourcedMaterial setMaterialName(String value) { this.MaterialName = value; return this; }
public String getMakeModel() { return MakeModel; }
public ResourcedMaterial setMakeModel(String value) { this.MakeModel = value; return this; }
public Double getQuantity() { return Quantity; }
public ResourcedMaterial setQuantity(Double value) { this.Quantity = value; return this; }
public String getUnit() { return Unit; }
public ResourcedMaterial setUnit(String value) { this.Unit = value; return this; }
public String getSourceReference() { return SourceReference; }
public ResourcedMaterial setSourceReference(String value) { this.SourceReference = value; return this; }
public String getNotes() { return Notes; }
public ResourcedMaterial setNotes(String value) { this.Notes = value; return this; }
public Boolean getIsInCatalog() { return IsInCatalog; }
public ResourcedMaterial setIsInCatalog(Boolean value) { this.IsInCatalog = value; return this; }
public Integer getSuggestedMaterialID() { return SuggestedMaterialID; }
public ResourcedMaterial setSuggestedMaterialID(Integer value) { this.SuggestedMaterialID = value; return this; }
public String getSuggestedMaterialName() { return SuggestedMaterialName; }
public ResourcedMaterial setSuggestedMaterialName(String value) { this.SuggestedMaterialName = value; return this; }
}
public static class PricedProposal
{
public Integer RfpDocumentID = null;
public String ProjectName = null;
public String Currency = null;
public ArrayList<PricedTask> Tasks = new ArrayList<PricedTask>();
public CostRange Total = null;
public Integer PositionsNeedingRate = null;
public Integer EquipmentNotInCatalog = null;
public Integer MaterialsNotInCatalog = null;
public Integer PositionsNotInCatalog = null;
public Double EquipmentMargin = null;
public Integer getRfpDocumentID() { return RfpDocumentID; }
public PricedProposal setRfpDocumentID(Integer value) { this.RfpDocumentID = value; return this; }
public String getProjectName() { return ProjectName; }
public PricedProposal setProjectName(String value) { this.ProjectName = value; return this; }
public String getCurrency() { return Currency; }
public PricedProposal setCurrency(String value) { this.Currency = value; return this; }
public ArrayList<PricedTask> getTasks() { return Tasks; }
public PricedProposal setTasks(ArrayList<PricedTask> value) { this.Tasks = value; return this; }
public CostRange getTotal() { return Total; }
public PricedProposal setTotal(CostRange value) { this.Total = value; return this; }
public Integer getPositionsNeedingRate() { return PositionsNeedingRate; }
public PricedProposal setPositionsNeedingRate(Integer value) { this.PositionsNeedingRate = value; return this; }
public Integer getEquipmentNotInCatalog() { return EquipmentNotInCatalog; }
public PricedProposal setEquipmentNotInCatalog(Integer value) { this.EquipmentNotInCatalog = value; return this; }
public Integer getMaterialsNotInCatalog() { return MaterialsNotInCatalog; }
public PricedProposal setMaterialsNotInCatalog(Integer value) { this.MaterialsNotInCatalog = value; return this; }
public Integer getPositionsNotInCatalog() { return PositionsNotInCatalog; }
public PricedProposal setPositionsNotInCatalog(Integer value) { this.PositionsNotInCatalog = value; return this; }
public Double getEquipmentMargin() { return EquipmentMargin; }
public PricedProposal setEquipmentMargin(Double value) { this.EquipmentMargin = value; return this; }
}
public static class PricedTask
{
public String Name = null;
public String Category = null;
public ArrayList<PricedPosition> Positions = new ArrayList<PricedPosition>();
public ArrayList<PricedEquipment> Equipment = new ArrayList<PricedEquipment>();
public ArrayList<PricedMaterial> Materials = new ArrayList<PricedMaterial>();
public CostRange Subtotal = null;
public String getName() { return Name; }
public PricedTask setName(String value) { this.Name = value; return this; }
public String getCategory() { return Category; }
public PricedTask setCategory(String value) { this.Category = value; return this; }
public ArrayList<PricedPosition> getPositions() { return Positions; }
public PricedTask setPositions(ArrayList<PricedPosition> value) { this.Positions = value; return this; }
public ArrayList<PricedEquipment> getEquipment() { return Equipment; }
public PricedTask setEquipment(ArrayList<PricedEquipment> value) { this.Equipment = value; return this; }
public ArrayList<PricedMaterial> getMaterials() { return Materials; }
public PricedTask setMaterials(ArrayList<PricedMaterial> value) { this.Materials = value; return this; }
public CostRange getSubtotal() { return Subtotal; }
public PricedTask setSubtotal(CostRange value) { this.Subtotal = value; return this; }
}
public static class PricedPosition
{
public String PositionTag = null;
public Double Hours = null;
public Boolean HasInternalRate = null;
public Double RateMin = null;
public Double RateMax = null;
public Double RateAvg = null;
public Integer ContactCount = null;
public CostRange Cost = null;
public Double MarketRateReference = null;
public String getPositionTag() { return PositionTag; }
public PricedPosition setPositionTag(String value) { this.PositionTag = value; return this; }
public Double getHours() { return Hours; }
public PricedPosition setHours(Double value) { this.Hours = value; return this; }
public Boolean isHasInternalRate() { return HasInternalRate; }
public PricedPosition setHasInternalRate(Boolean value) { this.HasInternalRate = value; return this; }
public Double getRateMin() { return RateMin; }
public PricedPosition setRateMin(Double value) { this.RateMin = value; return this; }
public Double getRateMax() { return RateMax; }
public PricedPosition setRateMax(Double value) { this.RateMax = value; return this; }
public Double getRateAvg() { return RateAvg; }
public PricedPosition setRateAvg(Double value) { this.RateAvg = value; return this; }
public Integer getContactCount() { return ContactCount; }
public PricedPosition setContactCount(Integer value) { this.ContactCount = value; return this; }
public CostRange getCost() { return Cost; }
public PricedPosition setCost(CostRange value) { this.Cost = value; return this; }
public Double getMarketRateReference() { return MarketRateReference; }
public PricedPosition setMarketRateReference(Double value) { this.MarketRateReference = value; return this; }
}
public static class CostRange
{
public Double Min = null;
public Double Max = null;
public Double Mid = null;
public Double getMin() { return Min; }
public CostRange setMin(Double value) { this.Min = value; return this; }
public Double getMax() { return Max; }
public CostRange setMax(Double value) { this.Max = value; return this; }
public Double getMid() { return Mid; }
public CostRange setMid(Double value) { this.Mid = value; return this; }
}
public static class PricedEquipment
{
public Integer EquipmentID = null;
public String EquipmentName = null;
public Double Quantity = null;
public Double DurationDays = null;
public String RateType = null;
public Double BilledRate = null;
public Double CostRate = null;
public Boolean HasRate = null;
public Boolean IsInCatalog = null;
public Double Cost = null;
public Double CompanyCost = null;
public Double Margin = null;
public Integer getEquipmentID() { return EquipmentID; }
public PricedEquipment setEquipmentID(Integer value) { this.EquipmentID = value; return this; }
public String getEquipmentName() { return EquipmentName; }
public PricedEquipment setEquipmentName(String value) { this.EquipmentName = value; return this; }
public Double getQuantity() { return Quantity; }
public PricedEquipment setQuantity(Double value) { this.Quantity = value; return this; }
public Double getDurationDays() { return DurationDays; }
public PricedEquipment setDurationDays(Double value) { this.DurationDays = value; return this; }
public String getRateType() { return RateType; }
public PricedEquipment setRateType(String value) { this.RateType = value; return this; }
public Double getBilledRate() { return BilledRate; }
public PricedEquipment setBilledRate(Double value) { this.BilledRate = value; return this; }
public Double getCostRate() { return CostRate; }
public PricedEquipment setCostRate(Double value) { this.CostRate = value; return this; }
public Boolean isHasRate() { return HasRate; }
public PricedEquipment setHasRate(Boolean value) { this.HasRate = value; return this; }
public Boolean getIsInCatalog() { return IsInCatalog; }
public PricedEquipment setIsInCatalog(Boolean value) { this.IsInCatalog = value; return this; }
public Double getCost() { return Cost; }
public PricedEquipment setCost(Double value) { this.Cost = value; return this; }
public Double getCompanyCost() { return CompanyCost; }
public PricedEquipment setCompanyCost(Double value) { this.CompanyCost = value; return this; }
public Double getMargin() { return Margin; }
public PricedEquipment setMargin(Double value) { this.Margin = value; return this; }
}
public static class PricedMaterial
{
public Integer MaterialID = null;
public String MaterialName = null;
public Double Quantity = null;
public Double UnitCost = null;
public Boolean HasRate = null;
public Boolean IsInCatalog = null;
public Double Cost = null;
public Integer getMaterialID() { return MaterialID; }
public PricedMaterial setMaterialID(Integer value) { this.MaterialID = value; return this; }
public String getMaterialName() { return MaterialName; }
public PricedMaterial setMaterialName(String value) { this.MaterialName = value; return this; }
public Double getQuantity() { return Quantity; }
public PricedMaterial setQuantity(Double value) { this.Quantity = value; return this; }
public Double getUnitCost() { return UnitCost; }
public PricedMaterial setUnitCost(Double value) { this.UnitCost = value; return this; }
public Boolean isHasRate() { return HasRate; }
public PricedMaterial setHasRate(Boolean value) { this.HasRate = value; return this; }
public Boolean getIsInCatalog() { return IsInCatalog; }
public PricedMaterial setIsInCatalog(Boolean value) { this.IsInCatalog = value; return this; }
public Double getCost() { return Cost; }
public PricedMaterial setCost(Double value) { this.Cost = value; return this; }
}
public static class CrewPlanLine
{
public String PositionTag = null;
public Integer Needed = null;
public Integer NaiveTotal = null;
public Integer TaskAssignments = null;
public String getPositionTag() { return PositionTag; }
public CrewPlanLine setPositionTag(String value) { this.PositionTag = value; return this; }
public Integer getNeeded() { return Needed; }
public CrewPlanLine setNeeded(Integer value) { this.Needed = value; return this; }
public Integer getNaiveTotal() { return NaiveTotal; }
public CrewPlanLine setNaiveTotal(Integer value) { this.NaiveTotal = value; return this; }
public Integer getTaskAssignments() { return TaskAssignments; }
public CrewPlanLine setTaskAssignments(Integer value) { this.TaskAssignments = 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.
POST /v1/Rfp/{RfpDocumentUID}/Refine HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<RfpRefineRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
<Instruction>String</Instruction>
<Layer>String</Layer>
<Mode>String</Mode>
<RfpDocumentUID>String</RfpDocumentUID>
</RfpRefineRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<RfpRefineResponse 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>
<CacheCreationTokens>0</CacheCreationTokens>
<CacheReadTokens>0</CacheReadTokens>
<CrewPlan>
<CrewPlanLine>
<NaiveTotal>0</NaiveTotal>
<Needed>0</Needed>
<PositionTag>String</PositionTag>
<TaskAssignments>0</TaskAssignments>
</CrewPlanLine>
</CrewPlan>
<InputTokens>0</InputTokens>
<Layer>String</Layer>
<Mode>String</Mode>
<Pricing>
<Currency>String</Currency>
<EquipmentMargin>0</EquipmentMargin>
<EquipmentNotInCatalog>0</EquipmentNotInCatalog>
<MaterialsNotInCatalog>0</MaterialsNotInCatalog>
<PositionsNeedingRate>0</PositionsNeedingRate>
<PositionsNotInCatalog>0</PositionsNotInCatalog>
<ProjectName>String</ProjectName>
<RfpDocumentID>0</RfpDocumentID>
<Tasks>
<PricedTask>
<Category>String</Category>
<Equipment>
<PricedEquipment>
<BilledRate>0</BilledRate>
<CompanyCost>0</CompanyCost>
<Cost>0</Cost>
<CostRate>0</CostRate>
<DurationDays>0</DurationDays>
<EquipmentID>0</EquipmentID>
<EquipmentName>String</EquipmentName>
<HasRate>false</HasRate>
<IsInCatalog>false</IsInCatalog>
<Quantity>0</Quantity>
<RateType>String</RateType>
</PricedEquipment>
</Equipment>
<Materials>
<PricedMaterial>
<Cost>0</Cost>
<HasRate>false</HasRate>
<IsInCatalog>false</IsInCatalog>
<MaterialID>0</MaterialID>
<MaterialName>String</MaterialName>
<Quantity>0</Quantity>
<UnitCost>0</UnitCost>
</PricedMaterial>
</Materials>
<Name>String</Name>
<Positions>
<PricedPosition>
<ContactCount>0</ContactCount>
<Cost>
<Max>0</Max>
<Min>0</Min>
</Cost>
<HasInternalRate>false</HasInternalRate>
<Hours>0</Hours>
<MarketRateReference>0</MarketRateReference>
<PositionTag>String</PositionTag>
<RateAvg>0</RateAvg>
<RateMax>0</RateMax>
<RateMin>0</RateMin>
</PricedPosition>
</Positions>
<Subtotal>
<Max>0</Max>
<Min>0</Min>
</Subtotal>
</PricedTask>
</Tasks>
<Total>
<Max>0</Max>
<Min>0</Min>
</Total>
</Pricing>
<Proposal>
<BidDueDate>String</BidDueDate>
<ChangeOrderID>0</ChangeOrderID>
<ClientName>String</ClientName>
<ContractDurationDays>0</ContractDurationDays>
<EstimatedEndDate>0001-01-01T00:00:00</EstimatedEndDate>
<EstimatedStartDate>0001-01-01T00:00:00</EstimatedStartDate>
<Mode>String</Mode>
<ProjectDescription>String</ProjectDescription>
<ProjectID>0</ProjectID>
<ProjectLocation>String</ProjectLocation>
<ProjectName>String</ProjectName>
<ProjectType>String</ProjectType>
<RfpDocumentID>0</RfpDocumentID>
<Scope>String</Scope>
<Tasks>
<ProposedTask>
<Category>String</Category>
<DependsOn xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>0</d5p1:int>
</DependsOn>
<DurationDays>0</DurationDays>
<EstimatedEndDate>0001-01-01T00:00:00</EstimatedEndDate>
<EstimatedStartDate>0001-01-01T00:00:00</EstimatedStartDate>
<Name>String</Name>
<Notes>String</Notes>
<Quantity>0</Quantity>
<Resourcing>
<Equipment>
<ResourcedEquipment>
<DurationDays>0</DurationDays>
<EquipmentID>0</EquipmentID>
<EquipmentName>String</EquipmentName>
<IsInCatalog>false</IsInCatalog>
<MakeModel>String</MakeModel>
<Notes>String</Notes>
<Quantity>0</Quantity>
<SourceReference>String</SourceReference>
<SuggestedEquipmentID>0</SuggestedEquipmentID>
<SuggestedEquipmentName>String</SuggestedEquipmentName>
</ResourcedEquipment>
</Equipment>
<Materials>
<ResourcedMaterial>
<IsInCatalog>false</IsInCatalog>
<MakeModel>String</MakeModel>
<MaterialID>0</MaterialID>
<MaterialName>String</MaterialName>
<Notes>String</Notes>
<Quantity>0</Quantity>
<SourceReference>String</SourceReference>
<SuggestedMaterialID>0</SuggestedMaterialID>
<SuggestedMaterialName>String</SuggestedMaterialName>
<Unit>String</Unit>
</ResourcedMaterial>
</Materials>
<Positions>
<ResourcedPosition>
<ContactID>0</ContactID>
<Headcount>0</Headcount>
<Hours>0</Hours>
<IsInCatalog>false</IsInCatalog>
<Notes>String</Notes>
<PositionTag>String</PositionTag>
<SourceReference>String</SourceReference>
</ResourcedPosition>
</Positions>
</Resourcing>
<Seq>0</Seq>
<SourceItemNumber>String</SourceItemNumber>
<SourceReference>String</SourceReference>
<Unit>String</Unit>
</ProposedTask>
</Tasks>
</Proposal>
<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>
<TurnCount>0</TurnCount>
</RfpRefineResponse>