| Requires any of the roles: | Agent, Administrator |
| POST,OPTIONS | /v1/Rfp/{RfpDocumentUID}/Rates/Accept |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class RatesAcceptRequest
{
public UUID RfpDocumentUID = null;
public String RateKey = null;
public BigDecimal Rate = null;
public String Tier = null;
public String Provenance = null;
public String Url = null;
public Date FetchedAtUtc = null;
public String Confidence = null;
public String ChipShort = null;
public UUID getRfpDocumentUID() { return RfpDocumentUID; }
public RatesAcceptRequest setRfpDocumentUID(UUID value) { this.RfpDocumentUID = value; return this; }
public String getRateKey() { return RateKey; }
public RatesAcceptRequest setRateKey(String value) { this.RateKey = value; return this; }
public BigDecimal getRate() { return Rate; }
public RatesAcceptRequest setRate(BigDecimal value) { this.Rate = value; return this; }
public String getTier() { return Tier; }
public RatesAcceptRequest setTier(String value) { this.Tier = value; return this; }
public String getProvenance() { return Provenance; }
public RatesAcceptRequest setProvenance(String value) { this.Provenance = value; return this; }
public String getUrl() { return Url; }
public RatesAcceptRequest setUrl(String value) { this.Url = value; return this; }
public Date getFetchedAtUtc() { return FetchedAtUtc; }
public RatesAcceptRequest setFetchedAtUtc(Date value) { this.FetchedAtUtc = value; return this; }
public String getConfidence() { return Confidence; }
public RatesAcceptRequest setConfidence(String value) { this.Confidence = value; return this; }
public String getChipShort() { return ChipShort; }
public RatesAcceptRequest setChipShort(String value) { this.ChipShort = value; return this; }
}
public static class EstimateResponse
{
public ResponseStatus ResponseStatus = null;
public EstimatingView View = null;
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public EstimateResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
public EstimatingView getView() { return View; }
public EstimateResponse setView(EstimatingView value) { this.View = value; return this; }
}
public static class EstimatingView
{
public Integer RfpDocumentID = null;
public String ProjectName = null;
public String ClientName = null;
public String BidDueDate = null;
public String ProjectType = null;
public EstimateSettingsView Settings = null;
public ArrayList<EstimateJobView> Jobs = new ArrayList<EstimateJobView>();
public ArrayList<BidScheduleLine> Schedule = new ArrayList<BidScheduleLine>();
public BigDecimal ScheduleTotal = null;
public EstimateVarianceView Variance = null;
public IndicativeBidView Indicative = null;
public EstimateSummaryView Summary = null;
public EstimateTimingView Timing = null;
public Integer NeedsRateCount = null;
public ArrayList<String> NeedsRateKeys = new ArrayList<String>();
public ArrayList<EstimateReviewItemView> ReviewItems = new ArrayList<EstimateReviewItemView>();
public Integer NeedsReviewCount = null;
public Boolean CanApprove = null;
public Boolean CanSeePay = null;
public Integer getRfpDocumentID() { return RfpDocumentID; }
public EstimatingView setRfpDocumentID(Integer value) { this.RfpDocumentID = value; return this; }
public String getProjectName() { return ProjectName; }
public EstimatingView setProjectName(String value) { this.ProjectName = value; return this; }
public String getClientName() { return ClientName; }
public EstimatingView setClientName(String value) { this.ClientName = value; return this; }
public String getBidDueDate() { return BidDueDate; }
public EstimatingView setBidDueDate(String value) { this.BidDueDate = value; return this; }
public String getProjectType() { return ProjectType; }
public EstimatingView setProjectType(String value) { this.ProjectType = value; return this; }
public EstimateSettingsView getSettings() { return Settings; }
public EstimatingView setSettings(EstimateSettingsView value) { this.Settings = value; return this; }
public ArrayList<EstimateJobView> getJobs() { return Jobs; }
public EstimatingView setJobs(ArrayList<EstimateJobView> value) { this.Jobs = value; return this; }
public ArrayList<BidScheduleLine> getSchedule() { return Schedule; }
public EstimatingView setSchedule(ArrayList<BidScheduleLine> value) { this.Schedule = value; return this; }
public BigDecimal getScheduleTotal() { return ScheduleTotal; }
public EstimatingView setScheduleTotal(BigDecimal value) { this.ScheduleTotal = value; return this; }
public EstimateVarianceView getVariance() { return Variance; }
public EstimatingView setVariance(EstimateVarianceView value) { this.Variance = value; return this; }
public IndicativeBidView getIndicative() { return Indicative; }
public EstimatingView setIndicative(IndicativeBidView value) { this.Indicative = value; return this; }
public EstimateSummaryView getSummary() { return Summary; }
public EstimatingView setSummary(EstimateSummaryView value) { this.Summary = value; return this; }
public EstimateTimingView getTiming() { return Timing; }
public EstimatingView setTiming(EstimateTimingView value) { this.Timing = value; return this; }
public Integer getNeedsRateCount() { return NeedsRateCount; }
public EstimatingView setNeedsRateCount(Integer value) { this.NeedsRateCount = value; return this; }
public ArrayList<String> getNeedsRateKeys() { return NeedsRateKeys; }
public EstimatingView setNeedsRateKeys(ArrayList<String> value) { this.NeedsRateKeys = value; return this; }
public ArrayList<EstimateReviewItemView> getReviewItems() { return ReviewItems; }
public EstimatingView setReviewItems(ArrayList<EstimateReviewItemView> value) { this.ReviewItems = value; return this; }
public Integer getNeedsReviewCount() { return NeedsReviewCount; }
public EstimatingView setNeedsReviewCount(Integer value) { this.NeedsReviewCount = value; return this; }
public Boolean isCanApprove() { return CanApprove; }
public EstimatingView setCanApprove(Boolean value) { this.CanApprove = value; return this; }
public Boolean isCanSeePay() { return CanSeePay; }
public EstimatingView setCanSeePay(Boolean value) { this.CanSeePay = value; return this; }
}
public static class EstimateSettingsView
{
public Integer RfpEstimateID = null;
public Date StartDate = null;
public Date DeadlineDate = null;
public Integer WorkdaysPerWeek = null;
public BigDecimal HoursPerDay = null;
public BigDecimal WeatherPct = null;
public BigDecimal OhpPct = null;
public BigDecimal ContingencyPct = null;
public BigDecimal BondPct = null;
public ArrayList<Date> Holidays = new ArrayList<Date>();
public Date AppliedStartDate = null;
public Integer getRfpEstimateID() { return RfpEstimateID; }
public EstimateSettingsView setRfpEstimateID(Integer value) { this.RfpEstimateID = value; return this; }
public Date getStartDate() { return StartDate; }
public EstimateSettingsView setStartDate(Date value) { this.StartDate = value; return this; }
public Date getDeadlineDate() { return DeadlineDate; }
public EstimateSettingsView setDeadlineDate(Date value) { this.DeadlineDate = value; return this; }
public Integer getWorkdaysPerWeek() { return WorkdaysPerWeek; }
public EstimateSettingsView setWorkdaysPerWeek(Integer value) { this.WorkdaysPerWeek = value; return this; }
public BigDecimal getHoursPerDay() { return HoursPerDay; }
public EstimateSettingsView setHoursPerDay(BigDecimal value) { this.HoursPerDay = value; return this; }
public BigDecimal getWeatherPct() { return WeatherPct; }
public EstimateSettingsView setWeatherPct(BigDecimal value) { this.WeatherPct = value; return this; }
public BigDecimal getOhpPct() { return OhpPct; }
public EstimateSettingsView setOhpPct(BigDecimal value) { this.OhpPct = value; return this; }
public BigDecimal getContingencyPct() { return ContingencyPct; }
public EstimateSettingsView setContingencyPct(BigDecimal value) { this.ContingencyPct = value; return this; }
public BigDecimal getBondPct() { return BondPct; }
public EstimateSettingsView setBondPct(BigDecimal value) { this.BondPct = value; return this; }
public ArrayList<Date> getHolidays() { return Holidays; }
public EstimateSettingsView setHolidays(ArrayList<Date> value) { this.Holidays = value; return this; }
public Date getAppliedStartDate() { return AppliedStartDate; }
public EstimateSettingsView setAppliedStartDate(Date value) { this.AppliedStartDate = value; return this; }
}
public static class EstimateJobView
{
public Integer Seq = null;
public WorkPackageView WorkPackage = null;
public String ItemNo = null;
public String Name = null;
public String Category = null;
public String SourceRef = null;
public String Unit = null;
public BigDecimal Quantity = null;
public String PatternCode = null;
public Integer Workdays = null;
public BigDecimal HoursPerDay = null;
public Boolean IsNight = null;
public BigDecimal WeeklyHours = null;
public BigDecimal OtFraction = null;
public BigDecimal Days = null;
public BigDecimal EffectiveProdPerDay = null;
public Boolean CrewPremiumApplied = null;
public BigDecimal CrewCost = null;
public BigDecimal FringeCost = null;
public BigDecimal EquipmentCost = null;
public BigDecimal MaterialCost = null;
public BigDecimal SubcontractCost = null;
public BigDecimal Direct = null;
public String PricingBasis = null;
public BigDecimal BenchmarkUnitPrice = null;
public ArrayList<EstimateCrewLineView> Crew = new ArrayList<EstimateCrewLineView>();
public ArrayList<EstimateEquipmentLineView> Equipment = new ArrayList<EstimateEquipmentLineView>();
public ArrayList<EstimateMaterialLineView> Materials = new ArrayList<EstimateMaterialLineView>();
public ArrayList<EstimateSubcontractView> Subcontracts = new ArrayList<EstimateSubcontractView>();
public Integer getSeq() { return Seq; }
public EstimateJobView setSeq(Integer value) { this.Seq = value; return this; }
public WorkPackageView getWorkPackage() { return WorkPackage; }
public EstimateJobView setWorkPackage(WorkPackageView value) { this.WorkPackage = value; return this; }
public String getItemNo() { return ItemNo; }
public EstimateJobView setItemNo(String value) { this.ItemNo = value; return this; }
public String getName() { return Name; }
public EstimateJobView setName(String value) { this.Name = value; return this; }
public String getCategory() { return Category; }
public EstimateJobView setCategory(String value) { this.Category = value; return this; }
public String getSourceRef() { return SourceRef; }
public EstimateJobView setSourceRef(String value) { this.SourceRef = value; return this; }
public String getUnit() { return Unit; }
public EstimateJobView setUnit(String value) { this.Unit = value; return this; }
public BigDecimal getQuantity() { return Quantity; }
public EstimateJobView setQuantity(BigDecimal value) { this.Quantity = value; return this; }
public String getPatternCode() { return PatternCode; }
public EstimateJobView setPatternCode(String value) { this.PatternCode = value; return this; }
public Integer getWorkdays() { return Workdays; }
public EstimateJobView setWorkdays(Integer value) { this.Workdays = value; return this; }
public BigDecimal getHoursPerDay() { return HoursPerDay; }
public EstimateJobView setHoursPerDay(BigDecimal value) { this.HoursPerDay = value; return this; }
public Boolean getIsNight() { return IsNight; }
public EstimateJobView setIsNight(Boolean value) { this.IsNight = value; return this; }
public BigDecimal getWeeklyHours() { return WeeklyHours; }
public EstimateJobView setWeeklyHours(BigDecimal value) { this.WeeklyHours = value; return this; }
public BigDecimal getOtFraction() { return OtFraction; }
public EstimateJobView setOtFraction(BigDecimal value) { this.OtFraction = value; return this; }
public BigDecimal getDays() { return Days; }
public EstimateJobView setDays(BigDecimal value) { this.Days = value; return this; }
public BigDecimal getEffectiveProdPerDay() { return EffectiveProdPerDay; }
public EstimateJobView setEffectiveProdPerDay(BigDecimal value) { this.EffectiveProdPerDay = value; return this; }
public Boolean isCrewPremiumApplied() { return CrewPremiumApplied; }
public EstimateJobView setCrewPremiumApplied(Boolean value) { this.CrewPremiumApplied = value; return this; }
public BigDecimal getCrewCost() { return CrewCost; }
public EstimateJobView setCrewCost(BigDecimal value) { this.CrewCost = value; return this; }
public BigDecimal getFringeCost() { return FringeCost; }
public EstimateJobView setFringeCost(BigDecimal value) { this.FringeCost = value; return this; }
public BigDecimal getEquipmentCost() { return EquipmentCost; }
public EstimateJobView setEquipmentCost(BigDecimal value) { this.EquipmentCost = value; return this; }
public BigDecimal getMaterialCost() { return MaterialCost; }
public EstimateJobView setMaterialCost(BigDecimal value) { this.MaterialCost = value; return this; }
public BigDecimal getSubcontractCost() { return SubcontractCost; }
public EstimateJobView setSubcontractCost(BigDecimal value) { this.SubcontractCost = value; return this; }
public BigDecimal getDirect() { return Direct; }
public EstimateJobView setDirect(BigDecimal value) { this.Direct = value; return this; }
public String getPricingBasis() { return PricingBasis; }
public EstimateJobView setPricingBasis(String value) { this.PricingBasis = value; return this; }
public BigDecimal getBenchmarkUnitPrice() { return BenchmarkUnitPrice; }
public EstimateJobView setBenchmarkUnitPrice(BigDecimal value) { this.BenchmarkUnitPrice = value; return this; }
public ArrayList<EstimateCrewLineView> getCrew() { return Crew; }
public EstimateJobView setCrew(ArrayList<EstimateCrewLineView> value) { this.Crew = value; return this; }
public ArrayList<EstimateEquipmentLineView> getEquipment() { return Equipment; }
public EstimateJobView setEquipment(ArrayList<EstimateEquipmentLineView> value) { this.Equipment = value; return this; }
public ArrayList<EstimateMaterialLineView> getMaterials() { return Materials; }
public EstimateJobView setMaterials(ArrayList<EstimateMaterialLineView> value) { this.Materials = value; return this; }
public ArrayList<EstimateSubcontractView> getSubcontracts() { return Subcontracts; }
public EstimateJobView setSubcontracts(ArrayList<EstimateSubcontractView> value) { this.Subcontracts = value; return this; }
}
public static class WorkPackageView
{
public Boolean HasPackage = null;
public String Scope = null;
public String LimitsOfWork = null;
public ArrayList<SpecRefView> SpecRefs = new ArrayList<SpecRefView>();
public ArrayList<String> Constraints = new ArrayList<String>();
public ArrayList<String> HoldPoints = new ArrayList<String>();
public ArrayList<DodItemView> Dod = new ArrayList<DodItemView>();
public String SafetyNote = null;
public String Provenance = null;
public String SpecBook = null;
public Boolean UserEdited = null;
public String RedraftNote = null;
public Boolean isHasPackage() { return HasPackage; }
public WorkPackageView setHasPackage(Boolean value) { this.HasPackage = value; return this; }
public String getScope() { return Scope; }
public WorkPackageView setScope(String value) { this.Scope = value; return this; }
public String getLimitsOfWork() { return LimitsOfWork; }
public WorkPackageView setLimitsOfWork(String value) { this.LimitsOfWork = value; return this; }
public ArrayList<SpecRefView> getSpecRefs() { return SpecRefs; }
public WorkPackageView setSpecRefs(ArrayList<SpecRefView> value) { this.SpecRefs = value; return this; }
public ArrayList<String> getConstraints() { return Constraints; }
public WorkPackageView setConstraints(ArrayList<String> value) { this.Constraints = value; return this; }
public ArrayList<String> getHoldPoints() { return HoldPoints; }
public WorkPackageView setHoldPoints(ArrayList<String> value) { this.HoldPoints = value; return this; }
public ArrayList<DodItemView> getDod() { return Dod; }
public WorkPackageView setDod(ArrayList<DodItemView> value) { this.Dod = value; return this; }
public String getSafetyNote() { return SafetyNote; }
public WorkPackageView setSafetyNote(String value) { this.SafetyNote = value; return this; }
public String getProvenance() { return Provenance; }
public WorkPackageView setProvenance(String value) { this.Provenance = value; return this; }
public String getSpecBook() { return SpecBook; }
public WorkPackageView setSpecBook(String value) { this.SpecBook = value; return this; }
public Boolean isUserEdited() { return UserEdited; }
public WorkPackageView setUserEdited(Boolean value) { this.UserEdited = value; return this; }
public String getRedraftNote() { return RedraftNote; }
public WorkPackageView setRedraftNote(String value) { this.RedraftNote = value; return this; }
}
public static class SpecRefView
{
public String Section = null;
public String Title = null;
public String Url = null;
public String getSection() { return Section; }
public SpecRefView setSection(String value) { this.Section = value; return this; }
public String getTitle() { return Title; }
public SpecRefView setTitle(String value) { this.Title = value; return this; }
public String getUrl() { return Url; }
public SpecRefView setUrl(String value) { this.Url = value; return this; }
}
public static class DodItemView
{
public String Key = null;
public String Text = null;
public Boolean Checked = null;
public String Source = null;
public String getKey() { return Key; }
public DodItemView setKey(String value) { this.Key = value; return this; }
public String getText() { return Text; }
public DodItemView setText(String value) { this.Text = value; return this; }
public Boolean isChecked() { return Checked; }
public DodItemView setChecked(Boolean value) { this.Checked = value; return this; }
public String getSource() { return Source; }
public DodItemView setSource(String value) { this.Source = value; return this; }
}
public static class EstimateCrewLineView
{
public String Role = null;
public BigDecimal Hours = null;
public BigDecimal StHours = null;
public BigDecimal OtHours = null;
public Boolean HasOt = null;
public Boolean PremiumApplied = null;
public Boolean NeedsRate = null;
public String RateKey = null;
public String Chip = null;
public BigDecimal Rrop = null;
public BigDecimal StCost = null;
public BigDecimal OtCost = null;
public BigDecimal Cost = null;
public BigDecimal FringeCost = null;
public String getRole() { return Role; }
public EstimateCrewLineView setRole(String value) { this.Role = value; return this; }
public BigDecimal getHours() { return Hours; }
public EstimateCrewLineView setHours(BigDecimal value) { this.Hours = value; return this; }
public BigDecimal getStHours() { return StHours; }
public EstimateCrewLineView setStHours(BigDecimal value) { this.StHours = value; return this; }
public BigDecimal getOtHours() { return OtHours; }
public EstimateCrewLineView setOtHours(BigDecimal value) { this.OtHours = value; return this; }
public Boolean isHasOt() { return HasOt; }
public EstimateCrewLineView setHasOt(Boolean value) { this.HasOt = value; return this; }
public Boolean isPremiumApplied() { return PremiumApplied; }
public EstimateCrewLineView setPremiumApplied(Boolean value) { this.PremiumApplied = value; return this; }
public Boolean isNeedsRate() { return NeedsRate; }
public EstimateCrewLineView setNeedsRate(Boolean value) { this.NeedsRate = value; return this; }
public String getRateKey() { return RateKey; }
public EstimateCrewLineView setRateKey(String value) { this.RateKey = value; return this; }
public String getChip() { return Chip; }
public EstimateCrewLineView setChip(String value) { this.Chip = value; return this; }
public BigDecimal getRrop() { return Rrop; }
public EstimateCrewLineView setRrop(BigDecimal value) { this.Rrop = value; return this; }
public BigDecimal getStCost() { return StCost; }
public EstimateCrewLineView setStCost(BigDecimal value) { this.StCost = value; return this; }
public BigDecimal getOtCost() { return OtCost; }
public EstimateCrewLineView setOtCost(BigDecimal value) { this.OtCost = value; return this; }
public BigDecimal getCost() { return Cost; }
public EstimateCrewLineView setCost(BigDecimal value) { this.Cost = value; return this; }
public BigDecimal getFringeCost() { return FringeCost; }
public EstimateCrewLineView setFringeCost(BigDecimal value) { this.FringeCost = value; return this; }
}
public static class EstimateEquipmentLineView
{
public String Name = null;
public BigDecimal Quantity = null;
public BigDecimal Rate = null;
public Boolean NeedsRate = null;
public BigDecimal MobCost = null;
public BigDecimal Cost = null;
public Boolean IsAvailabilityTracked = null;
public Boolean IsOwned = null;
public String AvailabilityLabel = null;
public String FreedFromProject = null;
public Date AvailableFrom = null;
public String RateKey = null;
public String Chip = null;
public String RentalExplain = null;
public BigDecimal UsageDays = null;
public BigDecimal BilledDays = null;
public String getName() { return Name; }
public EstimateEquipmentLineView setName(String value) { this.Name = value; return this; }
public BigDecimal getQuantity() { return Quantity; }
public EstimateEquipmentLineView setQuantity(BigDecimal value) { this.Quantity = value; return this; }
public BigDecimal getRate() { return Rate; }
public EstimateEquipmentLineView setRate(BigDecimal value) { this.Rate = value; return this; }
public Boolean isNeedsRate() { return NeedsRate; }
public EstimateEquipmentLineView setNeedsRate(Boolean value) { this.NeedsRate = value; return this; }
public BigDecimal getMobCost() { return MobCost; }
public EstimateEquipmentLineView setMobCost(BigDecimal value) { this.MobCost = value; return this; }
public BigDecimal getCost() { return Cost; }
public EstimateEquipmentLineView setCost(BigDecimal value) { this.Cost = value; return this; }
public Boolean getIsAvailabilityTracked() { return IsAvailabilityTracked; }
public EstimateEquipmentLineView setIsAvailabilityTracked(Boolean value) { this.IsAvailabilityTracked = value; return this; }
public Boolean getIsOwned() { return IsOwned; }
public EstimateEquipmentLineView setIsOwned(Boolean value) { this.IsOwned = value; return this; }
public String getAvailabilityLabel() { return AvailabilityLabel; }
public EstimateEquipmentLineView setAvailabilityLabel(String value) { this.AvailabilityLabel = value; return this; }
public String getFreedFromProject() { return FreedFromProject; }
public EstimateEquipmentLineView setFreedFromProject(String value) { this.FreedFromProject = value; return this; }
public Date getAvailableFrom() { return AvailableFrom; }
public EstimateEquipmentLineView setAvailableFrom(Date value) { this.AvailableFrom = value; return this; }
public String getRateKey() { return RateKey; }
public EstimateEquipmentLineView setRateKey(String value) { this.RateKey = value; return this; }
public String getChip() { return Chip; }
public EstimateEquipmentLineView setChip(String value) { this.Chip = value; return this; }
public String getRentalExplain() { return RentalExplain; }
public EstimateEquipmentLineView setRentalExplain(String value) { this.RentalExplain = value; return this; }
public BigDecimal getUsageDays() { return UsageDays; }
public EstimateEquipmentLineView setUsageDays(BigDecimal value) { this.UsageDays = value; return this; }
public BigDecimal getBilledDays() { return BilledDays; }
public EstimateEquipmentLineView setBilledDays(BigDecimal value) { this.BilledDays = value; return this; }
}
public static class EstimateMaterialLineView
{
public String Name = null;
public BigDecimal Quantity = null;
public String Unit = null;
public BigDecimal Rate = null;
public Boolean NeedsRate = null;
public BigDecimal Cost = null;
public String RateKey = null;
public String Chip = null;
public String getName() { return Name; }
public EstimateMaterialLineView setName(String value) { this.Name = value; return this; }
public BigDecimal getQuantity() { return Quantity; }
public EstimateMaterialLineView setQuantity(BigDecimal value) { this.Quantity = value; return this; }
public String getUnit() { return Unit; }
public EstimateMaterialLineView setUnit(String value) { this.Unit = value; return this; }
public BigDecimal getRate() { return Rate; }
public EstimateMaterialLineView setRate(BigDecimal value) { this.Rate = value; return this; }
public Boolean isNeedsRate() { return NeedsRate; }
public EstimateMaterialLineView setNeedsRate(Boolean value) { this.NeedsRate = value; return this; }
public BigDecimal getCost() { return Cost; }
public EstimateMaterialLineView setCost(BigDecimal value) { this.Cost = value; return this; }
public String getRateKey() { return RateKey; }
public EstimateMaterialLineView setRateKey(String value) { this.RateKey = value; return this; }
public String getChip() { return Chip; }
public EstimateMaterialLineView setChip(String value) { this.Chip = value; return this; }
}
public static class EstimateSubcontractView
{
public Integer EstimateSubcontractID = null;
public Integer TaskSeq = null;
public String Vendor = null;
public BigDecimal Amount = null;
public String Scope = null;
public Integer getEstimateSubcontractID() { return EstimateSubcontractID; }
public EstimateSubcontractView setEstimateSubcontractID(Integer value) { this.EstimateSubcontractID = value; return this; }
public Integer getTaskSeq() { return TaskSeq; }
public EstimateSubcontractView setTaskSeq(Integer value) { this.TaskSeq = value; return this; }
public String getVendor() { return Vendor; }
public EstimateSubcontractView setVendor(String value) { this.Vendor = value; return this; }
public BigDecimal getAmount() { return Amount; }
public EstimateSubcontractView setAmount(BigDecimal value) { this.Amount = value; return this; }
public String getScope() { return Scope; }
public EstimateSubcontractView setScope(String value) { this.Scope = value; return this; }
}
public static class BidScheduleLine
{
public String ItemNo = null;
public String Description = null;
public String Unit = null;
public BigDecimal Quantity = null;
public BigDecimal UnitPrice = null;
public BigDecimal Extension = null;
public String PricingBasis = null;
public BigDecimal BenchmarkDeltaPct = null;
public Boolean BenchmarkFlagged = null;
public String getItemNo() { return ItemNo; }
public BidScheduleLine setItemNo(String value) { this.ItemNo = value; return this; }
public String getDescription() { return Description; }
public BidScheduleLine setDescription(String value) { this.Description = value; return this; }
public String getUnit() { return Unit; }
public BidScheduleLine setUnit(String value) { this.Unit = value; return this; }
public BigDecimal getQuantity() { return Quantity; }
public BidScheduleLine setQuantity(BigDecimal value) { this.Quantity = value; return this; }
public BigDecimal getUnitPrice() { return UnitPrice; }
public BidScheduleLine setUnitPrice(BigDecimal value) { this.UnitPrice = value; return this; }
public BigDecimal getExtension() { return Extension; }
public BidScheduleLine setExtension(BigDecimal value) { this.Extension = value; return this; }
public String getPricingBasis() { return PricingBasis; }
public BidScheduleLine setPricingBasis(String value) { this.PricingBasis = value; return this; }
public BigDecimal getBenchmarkDeltaPct() { return BenchmarkDeltaPct; }
public BidScheduleLine setBenchmarkDeltaPct(BigDecimal value) { this.BenchmarkDeltaPct = value; return this; }
public Boolean isBenchmarkFlagged() { return BenchmarkFlagged; }
public BidScheduleLine setBenchmarkFlagged(Boolean value) { this.BenchmarkFlagged = value; return this; }
}
public static class EstimateVarianceView
{
public ArrayList<EstimateVarianceLine> Lines = new ArrayList<EstimateVarianceLine>();
public Integer ItemsTotal = null;
public Integer ItemsBenchmarked = null;
public BigDecimal CoverageValuePct = null;
public BigDecimal OursTotal = null;
public BigDecimal MarketTotal = null;
public BigDecimal AggregateDeltaPct = null;
public Integer FlooredCount = null;
public Integer WatchCount = null;
public Integer OutlierCount = null;
public Integer CriticalCount = null;
public String Note = null;
public ArrayList<EstimateVarianceLine> getLines() { return Lines; }
public EstimateVarianceView setLines(ArrayList<EstimateVarianceLine> value) { this.Lines = value; return this; }
public Integer getItemsTotal() { return ItemsTotal; }
public EstimateVarianceView setItemsTotal(Integer value) { this.ItemsTotal = value; return this; }
public Integer getItemsBenchmarked() { return ItemsBenchmarked; }
public EstimateVarianceView setItemsBenchmarked(Integer value) { this.ItemsBenchmarked = value; return this; }
public BigDecimal getCoverageValuePct() { return CoverageValuePct; }
public EstimateVarianceView setCoverageValuePct(BigDecimal value) { this.CoverageValuePct = value; return this; }
public BigDecimal getOursTotal() { return OursTotal; }
public EstimateVarianceView setOursTotal(BigDecimal value) { this.OursTotal = value; return this; }
public BigDecimal getMarketTotal() { return MarketTotal; }
public EstimateVarianceView setMarketTotal(BigDecimal value) { this.MarketTotal = value; return this; }
public BigDecimal getAggregateDeltaPct() { return AggregateDeltaPct; }
public EstimateVarianceView setAggregateDeltaPct(BigDecimal value) { this.AggregateDeltaPct = value; return this; }
public Integer getFlooredCount() { return FlooredCount; }
public EstimateVarianceView setFlooredCount(Integer value) { this.FlooredCount = value; return this; }
public Integer getWatchCount() { return WatchCount; }
public EstimateVarianceView setWatchCount(Integer value) { this.WatchCount = value; return this; }
public Integer getOutlierCount() { return OutlierCount; }
public EstimateVarianceView setOutlierCount(Integer value) { this.OutlierCount = value; return this; }
public Integer getCriticalCount() { return CriticalCount; }
public EstimateVarianceView setCriticalCount(Integer value) { this.CriticalCount = value; return this; }
public String getNote() { return Note; }
public EstimateVarianceView setNote(String value) { this.Note = value; return this; }
}
public static class EstimateVarianceLine
{
public Integer Seq = null;
public String ItemNo = null;
public String Name = null;
public String Unit = null;
public BigDecimal Quantity = null;
public BigDecimal OurUnitPrice = null;
public BigDecimal OurTotal = null;
public BigDecimal BenchmarkUnitPrice = null;
public BigDecimal MarketTotal = null;
public BigDecimal DeltaPct = null;
public BigDecimal RateMin = null;
public BigDecimal RateMax = null;
public Integer SampleSize = null;
public Boolean OutsideRange = null;
public Boolean IsFloor = null;
public String Severity = null;
public String Note = null;
public Integer getSeq() { return Seq; }
public EstimateVarianceLine setSeq(Integer value) { this.Seq = value; return this; }
public String getItemNo() { return ItemNo; }
public EstimateVarianceLine setItemNo(String value) { this.ItemNo = value; return this; }
public String getName() { return Name; }
public EstimateVarianceLine setName(String value) { this.Name = value; return this; }
public String getUnit() { return Unit; }
public EstimateVarianceLine setUnit(String value) { this.Unit = value; return this; }
public BigDecimal getQuantity() { return Quantity; }
public EstimateVarianceLine setQuantity(BigDecimal value) { this.Quantity = value; return this; }
public BigDecimal getOurUnitPrice() { return OurUnitPrice; }
public EstimateVarianceLine setOurUnitPrice(BigDecimal value) { this.OurUnitPrice = value; return this; }
public BigDecimal getOurTotal() { return OurTotal; }
public EstimateVarianceLine setOurTotal(BigDecimal value) { this.OurTotal = value; return this; }
public BigDecimal getBenchmarkUnitPrice() { return BenchmarkUnitPrice; }
public EstimateVarianceLine setBenchmarkUnitPrice(BigDecimal value) { this.BenchmarkUnitPrice = value; return this; }
public BigDecimal getMarketTotal() { return MarketTotal; }
public EstimateVarianceLine setMarketTotal(BigDecimal value) { this.MarketTotal = value; return this; }
public BigDecimal getDeltaPct() { return DeltaPct; }
public EstimateVarianceLine setDeltaPct(BigDecimal value) { this.DeltaPct = value; return this; }
public BigDecimal getRateMin() { return RateMin; }
public EstimateVarianceLine setRateMin(BigDecimal value) { this.RateMin = value; return this; }
public BigDecimal getRateMax() { return RateMax; }
public EstimateVarianceLine setRateMax(BigDecimal value) { this.RateMax = value; return this; }
public Integer getSampleSize() { return SampleSize; }
public EstimateVarianceLine setSampleSize(Integer value) { this.SampleSize = value; return this; }
public Boolean isOutsideRange() { return OutsideRange; }
public EstimateVarianceLine setOutsideRange(Boolean value) { this.OutsideRange = value; return this; }
public Boolean getIsFloor() { return IsFloor; }
public EstimateVarianceLine setIsFloor(Boolean value) { this.IsFloor = value; return this; }
public String getSeverity() { return Severity; }
public EstimateVarianceLine setSeverity(String value) { this.Severity = value; return this; }
public String getNote() { return Note; }
public EstimateVarianceLine setNote(String value) { this.Note = value; return this; }
}
public static class IndicativeBidView
{
public ArrayList<IndicativeLine> Lines = new ArrayList<IndicativeLine>();
public Integer BottomUpCount = null;
public BigDecimal BottomUpTotal = null;
public Integer BenchmarkCount = null;
public BigDecimal BenchmarkTotal = null;
public Integer UncoveredCount = null;
public BigDecimal UncoveredFloorTotal = null;
public BigDecimal IndicativeTotal = null;
public BigDecimal FloorTotal = null;
public String Note = null;
public ArrayList<IndicativeLine> getLines() { return Lines; }
public IndicativeBidView setLines(ArrayList<IndicativeLine> value) { this.Lines = value; return this; }
public Integer getBottomUpCount() { return BottomUpCount; }
public IndicativeBidView setBottomUpCount(Integer value) { this.BottomUpCount = value; return this; }
public BigDecimal getBottomUpTotal() { return BottomUpTotal; }
public IndicativeBidView setBottomUpTotal(BigDecimal value) { this.BottomUpTotal = value; return this; }
public Integer getBenchmarkCount() { return BenchmarkCount; }
public IndicativeBidView setBenchmarkCount(Integer value) { this.BenchmarkCount = value; return this; }
public BigDecimal getBenchmarkTotal() { return BenchmarkTotal; }
public IndicativeBidView setBenchmarkTotal(BigDecimal value) { this.BenchmarkTotal = value; return this; }
public Integer getUncoveredCount() { return UncoveredCount; }
public IndicativeBidView setUncoveredCount(Integer value) { this.UncoveredCount = value; return this; }
public BigDecimal getUncoveredFloorTotal() { return UncoveredFloorTotal; }
public IndicativeBidView setUncoveredFloorTotal(BigDecimal value) { this.UncoveredFloorTotal = value; return this; }
public BigDecimal getIndicativeTotal() { return IndicativeTotal; }
public IndicativeBidView setIndicativeTotal(BigDecimal value) { this.IndicativeTotal = value; return this; }
public BigDecimal getFloorTotal() { return FloorTotal; }
public IndicativeBidView setFloorTotal(BigDecimal value) { this.FloorTotal = value; return this; }
public String getNote() { return Note; }
public IndicativeBidView setNote(String value) { this.Note = value; return this; }
}
public static class IndicativeLine
{
public Integer Seq = null;
public String ItemNo = null;
public String Name = null;
public String Unit = null;
public BigDecimal Quantity = null;
public String Source = null;
public BigDecimal UnitPrice = null;
public BigDecimal LineTotal = null;
public Integer getSeq() { return Seq; }
public IndicativeLine setSeq(Integer value) { this.Seq = value; return this; }
public String getItemNo() { return ItemNo; }
public IndicativeLine setItemNo(String value) { this.ItemNo = value; return this; }
public String getName() { return Name; }
public IndicativeLine setName(String value) { this.Name = value; return this; }
public String getUnit() { return Unit; }
public IndicativeLine setUnit(String value) { this.Unit = value; return this; }
public BigDecimal getQuantity() { return Quantity; }
public IndicativeLine setQuantity(BigDecimal value) { this.Quantity = value; return this; }
public String getSource() { return Source; }
public IndicativeLine setSource(String value) { this.Source = value; return this; }
public BigDecimal getUnitPrice() { return UnitPrice; }
public IndicativeLine setUnitPrice(BigDecimal value) { this.UnitPrice = value; return this; }
public BigDecimal getLineTotal() { return LineTotal; }
public IndicativeLine setLineTotal(BigDecimal value) { this.LineTotal = value; return this; }
}
public static class EstimateSummaryView
{
public BigDecimal Direct = null;
public BigDecimal OhpPct = null;
public BigDecimal OhpAmount = null;
public BigDecimal BondPct = null;
public BigDecimal BondAmount = null;
public BigDecimal ContingencyPct = null;
public BigDecimal ContingencyAmount = null;
public BigDecimal BidTotal = null;
public BigDecimal LoadFactor = null;
public BigDecimal MarginPct = null;
public BigDecimal getDirect() { return Direct; }
public EstimateSummaryView setDirect(BigDecimal value) { this.Direct = value; return this; }
public BigDecimal getOhpPct() { return OhpPct; }
public EstimateSummaryView setOhpPct(BigDecimal value) { this.OhpPct = value; return this; }
public BigDecimal getOhpAmount() { return OhpAmount; }
public EstimateSummaryView setOhpAmount(BigDecimal value) { this.OhpAmount = value; return this; }
public BigDecimal getBondPct() { return BondPct; }
public EstimateSummaryView setBondPct(BigDecimal value) { this.BondPct = value; return this; }
public BigDecimal getBondAmount() { return BondAmount; }
public EstimateSummaryView setBondAmount(BigDecimal value) { this.BondAmount = value; return this; }
public BigDecimal getContingencyPct() { return ContingencyPct; }
public EstimateSummaryView setContingencyPct(BigDecimal value) { this.ContingencyPct = value; return this; }
public BigDecimal getContingencyAmount() { return ContingencyAmount; }
public EstimateSummaryView setContingencyAmount(BigDecimal value) { this.ContingencyAmount = value; return this; }
public BigDecimal getBidTotal() { return BidTotal; }
public EstimateSummaryView setBidTotal(BigDecimal value) { this.BidTotal = value; return this; }
public BigDecimal getLoadFactor() { return LoadFactor; }
public EstimateSummaryView setLoadFactor(BigDecimal value) { this.LoadFactor = value; return this; }
public BigDecimal getMarginPct() { return MarginPct; }
public EstimateSummaryView setMarginPct(BigDecimal value) { this.MarginPct = value; return this; }
}
public static class EstimateTimingView
{
public BigDecimal TotalWorkdays = null;
public Integer CalendarDays = null;
public Date Finish = null;
public Boolean Feasible = null;
public Date Deadline = null;
public BigDecimal getTotalWorkdays() { return TotalWorkdays; }
public EstimateTimingView setTotalWorkdays(BigDecimal value) { this.TotalWorkdays = value; return this; }
public Integer getCalendarDays() { return CalendarDays; }
public EstimateTimingView setCalendarDays(Integer value) { this.CalendarDays = value; return this; }
public Date getFinish() { return Finish; }
public EstimateTimingView setFinish(Date value) { this.Finish = value; return this; }
public Boolean isFeasible() { return Feasible; }
public EstimateTimingView setFeasible(Boolean value) { this.Feasible = value; return this; }
public Date getDeadline() { return Deadline; }
public EstimateTimingView setDeadline(Date value) { this.Deadline = value; return this; }
}
public static class EstimateReviewItemView
{
public Integer TaskSeq = null;
public String TaskName = null;
public String Reason = null;
public String Status = null;
public Integer getTaskSeq() { return TaskSeq; }
public EstimateReviewItemView setTaskSeq(Integer value) { this.TaskSeq = value; return this; }
public String getTaskName() { return TaskName; }
public EstimateReviewItemView setTaskName(String value) { this.TaskName = value; return this; }
public String getReason() { return Reason; }
public EstimateReviewItemView setReason(String value) { this.Reason = value; return this; }
public String getStatus() { return Status; }
public EstimateReviewItemView setStatus(String value) { this.Status = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/Rfp/{RfpDocumentUID}/Rates/Accept HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"RfpDocumentUID":"00000000000000000000000000000000","RateKey":"String","Rate":0,"Tier":"String","Provenance":"String","Url":"String","FetchedAtUtc":"0001-01-01T00:00:00.0000000","Confidence":"String","ChipShort":"String"}
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"}},"View":{"RfpDocumentID":0,"ProjectName":"String","ClientName":"String","BidDueDate":"String","ProjectType":"String","Settings":{"RfpEstimateID":0,"StartDate":"0001-01-01T00:00:00.0000000","DeadlineDate":"0001-01-01T00:00:00.0000000","WorkdaysPerWeek":0,"HoursPerDay":0,"WeatherPct":0,"OhpPct":0,"ContingencyPct":0,"BondPct":0,"Holidays":["0001-01-01T00:00:00.0000000"],"AppliedStartDate":"0001-01-01T00:00:00.0000000"},"Jobs":[{"Seq":0,"WorkPackage":{"HasPackage":false,"Scope":"String","LimitsOfWork":"String","SpecRefs":[{"Section":"String","Title":"String","Url":"String"}],"Constraints":["String"],"HoldPoints":["String"],"Dod":[{"Key":"String","Text":"String","Checked":false,"Source":"String"}],"SafetyNote":"String","Provenance":"String","SpecBook":"String","UserEdited":false,"RedraftNote":"String"},"ItemNo":"String","Name":"String","Category":"String","SourceRef":"String","Unit":"String","Quantity":0,"PatternCode":"String","Workdays":0,"HoursPerDay":0,"IsNight":false,"WeeklyHours":0,"OtFraction":0,"Days":0,"EffectiveProdPerDay":0,"CrewPremiumApplied":false,"CrewCost":0,"FringeCost":0,"EquipmentCost":0,"MaterialCost":0,"SubcontractCost":0,"Direct":0,"PricingBasis":"String","BenchmarkUnitPrice":0,"Crew":[{"Role":"String","Hours":0,"StHours":0,"OtHours":0,"HasOt":false,"PremiumApplied":false,"NeedsRate":false,"RateKey":"String","Chip":"String","Rrop":0,"StCost":0,"OtCost":0,"Cost":0,"FringeCost":0}],"Equipment":[{"Name":"String","Quantity":0,"Rate":0,"NeedsRate":false,"MobCost":0,"Cost":0,"IsAvailabilityTracked":false,"IsOwned":false,"AvailabilityLabel":"String","FreedFromProject":"String","AvailableFrom":"0001-01-01T00:00:00.0000000","RateKey":"String","Chip":"String","RentalExplain":"String","UsageDays":0,"BilledDays":0}],"Materials":[{"Name":"String","Quantity":0,"Unit":"String","Rate":0,"NeedsRate":false,"Cost":0,"RateKey":"String","Chip":"String"}],"Subcontracts":[{"EstimateSubcontractID":0,"TaskSeq":0,"Vendor":"String","Amount":0,"Scope":"String"}]}],"Schedule":[{"ItemNo":"String","Description":"String","Unit":"String","Quantity":0,"UnitPrice":0,"Extension":0,"PricingBasis":"String","BenchmarkDeltaPct":0,"BenchmarkFlagged":false}],"ScheduleTotal":0,"Variance":{"Lines":[{"Seq":0,"ItemNo":"String","Name":"String","Unit":"String","Quantity":0,"OurUnitPrice":0,"OurTotal":0,"BenchmarkUnitPrice":0,"MarketTotal":0,"DeltaPct":0,"RateMin":0,"RateMax":0,"SampleSize":0,"OutsideRange":false,"IsFloor":false,"Severity":"String","Note":"String"}],"ItemsTotal":0,"ItemsBenchmarked":0,"CoverageValuePct":0,"OursTotal":0,"MarketTotal":0,"AggregateDeltaPct":0,"FlooredCount":0,"WatchCount":0,"OutlierCount":0,"CriticalCount":0,"Note":"String"},"Indicative":{"Lines":[{"Seq":0,"ItemNo":"String","Name":"String","Unit":"String","Quantity":0,"Source":"String","UnitPrice":0,"LineTotal":0}],"BottomUpCount":0,"BottomUpTotal":0,"BenchmarkCount":0,"BenchmarkTotal":0,"UncoveredCount":0,"UncoveredFloorTotal":0,"IndicativeTotal":0,"FloorTotal":0,"Note":"String"},"Summary":{"Direct":0,"OhpPct":0,"OhpAmount":0,"BondPct":0,"BondAmount":0,"ContingencyPct":0,"ContingencyAmount":0,"BidTotal":0,"LoadFactor":0,"MarginPct":0},"Timing":{"TotalWorkdays":0,"CalendarDays":0,"Finish":"0001-01-01T00:00:00.0000000","Feasible":false,"Deadline":"0001-01-01T00:00:00.0000000"},"NeedsRateCount":0,"NeedsRateKeys":["String"],"ReviewItems":[{"TaskSeq":0,"TaskName":"String","Reason":"String","Status":"String"}],"NeedsReviewCount":0,"CanApprove":false,"CanSeePay":false}}