| Requires any of the roles: | Agent, Administrator |
| POST,OPTIONS | /v1/Rfp/{RfpDocumentUID}/Estimate/Jobs/{TaskSeq}/assembly |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class ApplyAssemblyRequest
{
public UUID RfpDocumentUID = null;
public Integer TaskSeq = null;
public UUID TemplateUID = null;
public UUID getRfpDocumentUID() { return RfpDocumentUID; }
public ApplyAssemblyRequest setRfpDocumentUID(UUID value) { this.RfpDocumentUID = value; return this; }
public Integer getTaskSeq() { return TaskSeq; }
public ApplyAssemblyRequest setTaskSeq(Integer value) { this.TaskSeq = value; return this; }
public UUID getTemplateUID() { return TemplateUID; }
public ApplyAssemblyRequest setTemplateUID(UUID value) { this.TemplateUID = value; return this; }
}
public static class ApplyAssemblyResponse
{
public ResponseStatus ResponseStatus = null;
public Integer TaskSeq = null;
public UUID TemplateUID = null;
public String TemplateName = null;
public BigDecimal Quantity = null;
public String Unit = null;
public TaskResourcing Resourcing = null;
public EstimateJobResult Job = null;
public String Headline = null;
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public ApplyAssemblyResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
public Integer getTaskSeq() { return TaskSeq; }
public ApplyAssemblyResponse setTaskSeq(Integer value) { this.TaskSeq = value; return this; }
public UUID getTemplateUID() { return TemplateUID; }
public ApplyAssemblyResponse setTemplateUID(UUID value) { this.TemplateUID = value; return this; }
public String getTemplateName() { return TemplateName; }
public ApplyAssemblyResponse setTemplateName(String value) { this.TemplateName = value; return this; }
public BigDecimal getQuantity() { return Quantity; }
public ApplyAssemblyResponse setQuantity(BigDecimal value) { this.Quantity = value; return this; }
public String getUnit() { return Unit; }
public ApplyAssemblyResponse setUnit(String value) { this.Unit = value; return this; }
public TaskResourcing getResourcing() { return Resourcing; }
public ApplyAssemblyResponse setResourcing(TaskResourcing value) { this.Resourcing = value; return this; }
public EstimateJobResult getJob() { return Job; }
public ApplyAssemblyResponse setJob(EstimateJobResult value) { this.Job = value; return this; }
public String getHeadline() { return Headline; }
public ApplyAssemblyResponse setHeadline(String value) { this.Headline = 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 Double ResourcedForQuantity = null;
public Double ProductionRatePerDay = null;
public Double FixedDays = null;
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 Double getResourcedForQuantity() { return ResourcedForQuantity; }
public TaskResourcing setResourcedForQuantity(Double value) { this.ResourcedForQuantity = value; return this; }
public Double getProductionRatePerDay() { return ProductionRatePerDay; }
public TaskResourcing setProductionRatePerDay(Double value) { this.ProductionRatePerDay = value; return this; }
public Double getFixedDays() { return FixedDays; }
public TaskResourcing setFixedDays(Double value) { this.FixedDays = value; return this; }
}
public static class ResourcedPosition
{
public String PositionTag = null;
public Double Hours = null;
public Double CrewSize = null;
public Double Utilization = null;
public Double FixedDays = 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 Double getCrewSize() { return CrewSize; }
public ResourcedPosition setCrewSize(Double value) { this.CrewSize = value; return this; }
public Double getUtilization() { return Utilization; }
public ResourcedPosition setUtilization(Double value) { this.Utilization = value; return this; }
public Double getFixedDays() { return FixedDays; }
public ResourcedPosition setFixedDays(Double value) { this.FixedDays = 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 Double Utilization = null;
public Double FixedDays = 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 Double getUtilization() { return Utilization; }
public ResourcedEquipment setUtilization(Double value) { this.Utilization = value; return this; }
public Double getFixedDays() { return FixedDays; }
public ResourcedEquipment setFixedDays(Double value) { this.FixedDays = 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 Double QuantityPerUnit = 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 Double getQuantityPerUnit() { return QuantityPerUnit; }
public ResourcedMaterial setQuantityPerUnit(Double value) { this.QuantityPerUnit = 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 EstimateJobResult
{
public Integer Seq = null;
public ArrayList<Integer> DependsOn = new ArrayList<Integer>();
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 WorkPackageView WorkPackage = null;
public ArrayList<EstimateCrewLineResult> Crew = new ArrayList<EstimateCrewLineResult>();
public ArrayList<EstimateEquipmentLineResult> Equipment = new ArrayList<EstimateEquipmentLineResult>();
public ArrayList<EstimateMaterialLineResult> Materials = new ArrayList<EstimateMaterialLineResult>();
public ArrayList<EstimateSubcontractLine> Subcontracts = new ArrayList<EstimateSubcontractLine>();
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 String PricingRuleId = null;
public BigDecimal PricingBandP25 = null;
public BigDecimal PricingBandP75 = null;
public Integer PricingBandN = null;
public String PricingBandLabel = null;
public BigDecimal BenchmarkUnitPrice = null;
public BigDecimal BenchmarkRateMin = null;
public BigDecimal BenchmarkRateMax = null;
public Integer BenchmarkSampleSize = null;
public BigDecimal BenchmarkP25 = null;
public BigDecimal BenchmarkP75 = null;
public String BenchmarkBasis = null;
public BigDecimal UnitPriceOverride = null;
public String OverrideBasis = null;
public BigDecimal ReferencePrice = null;
public BigDecimal ReferenceRangeMin = null;
public BigDecimal ReferenceRangeMax = null;
public Integer ReferenceN = null;
public Date ReferenceDate = null;
public String ReferenceBasis = null;
public String ReferenceUrl = null;
public Integer getSeq() { return Seq; }
public EstimateJobResult setSeq(Integer value) { this.Seq = value; return this; }
public ArrayList<Integer> getDependsOn() { return DependsOn; }
public EstimateJobResult setDependsOn(ArrayList<Integer> value) { this.DependsOn = value; return this; }
public String getItemNo() { return ItemNo; }
public EstimateJobResult setItemNo(String value) { this.ItemNo = value; return this; }
public String getName() { return Name; }
public EstimateJobResult setName(String value) { this.Name = value; return this; }
public String getCategory() { return Category; }
public EstimateJobResult setCategory(String value) { this.Category = value; return this; }
public String getSourceRef() { return SourceRef; }
public EstimateJobResult setSourceRef(String value) { this.SourceRef = value; return this; }
public String getUnit() { return Unit; }
public EstimateJobResult setUnit(String value) { this.Unit = value; return this; }
public BigDecimal getQuantity() { return Quantity; }
public EstimateJobResult setQuantity(BigDecimal value) { this.Quantity = value; return this; }
public String getPatternCode() { return PatternCode; }
public EstimateJobResult setPatternCode(String value) { this.PatternCode = value; return this; }
public Integer getWorkdays() { return Workdays; }
public EstimateJobResult setWorkdays(Integer value) { this.Workdays = value; return this; }
public BigDecimal getHoursPerDay() { return HoursPerDay; }
public EstimateJobResult setHoursPerDay(BigDecimal value) { this.HoursPerDay = value; return this; }
public Boolean getIsNight() { return IsNight; }
public EstimateJobResult setIsNight(Boolean value) { this.IsNight = value; return this; }
public BigDecimal getWeeklyHours() { return WeeklyHours; }
public EstimateJobResult setWeeklyHours(BigDecimal value) { this.WeeklyHours = value; return this; }
public BigDecimal getOtFraction() { return OtFraction; }
public EstimateJobResult setOtFraction(BigDecimal value) { this.OtFraction = value; return this; }
public BigDecimal getDays() { return Days; }
public EstimateJobResult setDays(BigDecimal value) { this.Days = value; return this; }
public BigDecimal getEffectiveProdPerDay() { return EffectiveProdPerDay; }
public EstimateJobResult setEffectiveProdPerDay(BigDecimal value) { this.EffectiveProdPerDay = value; return this; }
public Boolean isCrewPremiumApplied() { return CrewPremiumApplied; }
public EstimateJobResult setCrewPremiumApplied(Boolean value) { this.CrewPremiumApplied = value; return this; }
public WorkPackageView getWorkPackage() { return WorkPackage; }
public EstimateJobResult setWorkPackage(WorkPackageView value) { this.WorkPackage = value; return this; }
public ArrayList<EstimateCrewLineResult> getCrew() { return Crew; }
public EstimateJobResult setCrew(ArrayList<EstimateCrewLineResult> value) { this.Crew = value; return this; }
public ArrayList<EstimateEquipmentLineResult> getEquipment() { return Equipment; }
public EstimateJobResult setEquipment(ArrayList<EstimateEquipmentLineResult> value) { this.Equipment = value; return this; }
public ArrayList<EstimateMaterialLineResult> getMaterials() { return Materials; }
public EstimateJobResult setMaterials(ArrayList<EstimateMaterialLineResult> value) { this.Materials = value; return this; }
public ArrayList<EstimateSubcontractLine> getSubcontracts() { return Subcontracts; }
public EstimateJobResult setSubcontracts(ArrayList<EstimateSubcontractLine> value) { this.Subcontracts = value; return this; }
public BigDecimal getCrewCost() { return CrewCost; }
public EstimateJobResult setCrewCost(BigDecimal value) { this.CrewCost = value; return this; }
public BigDecimal getFringeCost() { return FringeCost; }
public EstimateJobResult setFringeCost(BigDecimal value) { this.FringeCost = value; return this; }
public BigDecimal getEquipmentCost() { return EquipmentCost; }
public EstimateJobResult setEquipmentCost(BigDecimal value) { this.EquipmentCost = value; return this; }
public BigDecimal getMaterialCost() { return MaterialCost; }
public EstimateJobResult setMaterialCost(BigDecimal value) { this.MaterialCost = value; return this; }
public BigDecimal getSubcontractCost() { return SubcontractCost; }
public EstimateJobResult setSubcontractCost(BigDecimal value) { this.SubcontractCost = value; return this; }
public BigDecimal getDirect() { return Direct; }
public EstimateJobResult setDirect(BigDecimal value) { this.Direct = value; return this; }
public String getPricingBasis() { return PricingBasis; }
public EstimateJobResult setPricingBasis(String value) { this.PricingBasis = value; return this; }
public String getPricingRuleId() { return PricingRuleId; }
public EstimateJobResult setPricingRuleId(String value) { this.PricingRuleId = value; return this; }
public BigDecimal getPricingBandP25() { return PricingBandP25; }
public EstimateJobResult setPricingBandP25(BigDecimal value) { this.PricingBandP25 = value; return this; }
public BigDecimal getPricingBandP75() { return PricingBandP75; }
public EstimateJobResult setPricingBandP75(BigDecimal value) { this.PricingBandP75 = value; return this; }
public Integer getPricingBandN() { return PricingBandN; }
public EstimateJobResult setPricingBandN(Integer value) { this.PricingBandN = value; return this; }
public String getPricingBandLabel() { return PricingBandLabel; }
public EstimateJobResult setPricingBandLabel(String value) { this.PricingBandLabel = value; return this; }
public BigDecimal getBenchmarkUnitPrice() { return BenchmarkUnitPrice; }
public EstimateJobResult setBenchmarkUnitPrice(BigDecimal value) { this.BenchmarkUnitPrice = value; return this; }
public BigDecimal getBenchmarkRateMin() { return BenchmarkRateMin; }
public EstimateJobResult setBenchmarkRateMin(BigDecimal value) { this.BenchmarkRateMin = value; return this; }
public BigDecimal getBenchmarkRateMax() { return BenchmarkRateMax; }
public EstimateJobResult setBenchmarkRateMax(BigDecimal value) { this.BenchmarkRateMax = value; return this; }
public Integer getBenchmarkSampleSize() { return BenchmarkSampleSize; }
public EstimateJobResult setBenchmarkSampleSize(Integer value) { this.BenchmarkSampleSize = value; return this; }
public BigDecimal getBenchmarkP25() { return BenchmarkP25; }
public EstimateJobResult setBenchmarkP25(BigDecimal value) { this.BenchmarkP25 = value; return this; }
public BigDecimal getBenchmarkP75() { return BenchmarkP75; }
public EstimateJobResult setBenchmarkP75(BigDecimal value) { this.BenchmarkP75 = value; return this; }
public String getBenchmarkBasis() { return BenchmarkBasis; }
public EstimateJobResult setBenchmarkBasis(String value) { this.BenchmarkBasis = value; return this; }
public BigDecimal getUnitPriceOverride() { return UnitPriceOverride; }
public EstimateJobResult setUnitPriceOverride(BigDecimal value) { this.UnitPriceOverride = value; return this; }
public String getOverrideBasis() { return OverrideBasis; }
public EstimateJobResult setOverrideBasis(String value) { this.OverrideBasis = value; return this; }
public BigDecimal getReferencePrice() { return ReferencePrice; }
public EstimateJobResult setReferencePrice(BigDecimal value) { this.ReferencePrice = value; return this; }
public BigDecimal getReferenceRangeMin() { return ReferenceRangeMin; }
public EstimateJobResult setReferenceRangeMin(BigDecimal value) { this.ReferenceRangeMin = value; return this; }
public BigDecimal getReferenceRangeMax() { return ReferenceRangeMax; }
public EstimateJobResult setReferenceRangeMax(BigDecimal value) { this.ReferenceRangeMax = value; return this; }
public Integer getReferenceN() { return ReferenceN; }
public EstimateJobResult setReferenceN(Integer value) { this.ReferenceN = value; return this; }
public Date getReferenceDate() { return ReferenceDate; }
public EstimateJobResult setReferenceDate(Date value) { this.ReferenceDate = value; return this; }
public String getReferenceBasis() { return ReferenceBasis; }
public EstimateJobResult setReferenceBasis(String value) { this.ReferenceBasis = value; return this; }
public String getReferenceUrl() { return ReferenceUrl; }
public EstimateJobResult setReferenceUrl(String value) { this.ReferenceUrl = 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 EstimateCrewLineResult
{
public String Role = null;
public BigDecimal Hours = null;
public BigDecimal StHours = null;
public BigDecimal OtHours = null;
public BigDecimal Rrop = null;
public BigDecimal StCost = null;
public BigDecimal OtCost = null;
public BigDecimal Cost = null;
public BigDecimal FringeCost = null;
public Boolean PremiumApplied = null;
public Boolean HasOt = null;
public Boolean NeedsRate = null;
public String getRole() { return Role; }
public EstimateCrewLineResult setRole(String value) { this.Role = value; return this; }
public BigDecimal getHours() { return Hours; }
public EstimateCrewLineResult setHours(BigDecimal value) { this.Hours = value; return this; }
public BigDecimal getStHours() { return StHours; }
public EstimateCrewLineResult setStHours(BigDecimal value) { this.StHours = value; return this; }
public BigDecimal getOtHours() { return OtHours; }
public EstimateCrewLineResult setOtHours(BigDecimal value) { this.OtHours = value; return this; }
public BigDecimal getRrop() { return Rrop; }
public EstimateCrewLineResult setRrop(BigDecimal value) { this.Rrop = value; return this; }
public BigDecimal getStCost() { return StCost; }
public EstimateCrewLineResult setStCost(BigDecimal value) { this.StCost = value; return this; }
public BigDecimal getOtCost() { return OtCost; }
public EstimateCrewLineResult setOtCost(BigDecimal value) { this.OtCost = value; return this; }
public BigDecimal getCost() { return Cost; }
public EstimateCrewLineResult setCost(BigDecimal value) { this.Cost = value; return this; }
public BigDecimal getFringeCost() { return FringeCost; }
public EstimateCrewLineResult setFringeCost(BigDecimal value) { this.FringeCost = value; return this; }
public Boolean isPremiumApplied() { return PremiumApplied; }
public EstimateCrewLineResult setPremiumApplied(Boolean value) { this.PremiumApplied = value; return this; }
public Boolean isHasOt() { return HasOt; }
public EstimateCrewLineResult setHasOt(Boolean value) { this.HasOt = value; return this; }
public Boolean isNeedsRate() { return NeedsRate; }
public EstimateCrewLineResult setNeedsRate(Boolean value) { this.NeedsRate = value; return this; }
}
public static class EstimateEquipmentLineResult
{
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 RentalExplain = null;
public BigDecimal UsageDays = null;
public BigDecimal BilledDays = null;
public String getName() { return Name; }
public EstimateEquipmentLineResult setName(String value) { this.Name = value; return this; }
public BigDecimal getQuantity() { return Quantity; }
public EstimateEquipmentLineResult setQuantity(BigDecimal value) { this.Quantity = value; return this; }
public BigDecimal getRate() { return Rate; }
public EstimateEquipmentLineResult setRate(BigDecimal value) { this.Rate = value; return this; }
public Boolean isNeedsRate() { return NeedsRate; }
public EstimateEquipmentLineResult setNeedsRate(Boolean value) { this.NeedsRate = value; return this; }
public BigDecimal getMobCost() { return MobCost; }
public EstimateEquipmentLineResult setMobCost(BigDecimal value) { this.MobCost = value; return this; }
public BigDecimal getCost() { return Cost; }
public EstimateEquipmentLineResult setCost(BigDecimal value) { this.Cost = value; return this; }
public Boolean getIsAvailabilityTracked() { return IsAvailabilityTracked; }
public EstimateEquipmentLineResult setIsAvailabilityTracked(Boolean value) { this.IsAvailabilityTracked = value; return this; }
public Boolean getIsOwned() { return IsOwned; }
public EstimateEquipmentLineResult setIsOwned(Boolean value) { this.IsOwned = value; return this; }
public String getAvailabilityLabel() { return AvailabilityLabel; }
public EstimateEquipmentLineResult setAvailabilityLabel(String value) { this.AvailabilityLabel = value; return this; }
public String getFreedFromProject() { return FreedFromProject; }
public EstimateEquipmentLineResult setFreedFromProject(String value) { this.FreedFromProject = value; return this; }
public Date getAvailableFrom() { return AvailableFrom; }
public EstimateEquipmentLineResult setAvailableFrom(Date value) { this.AvailableFrom = value; return this; }
public String getRateKey() { return RateKey; }
public EstimateEquipmentLineResult setRateKey(String value) { this.RateKey = value; return this; }
public String getRentalExplain() { return RentalExplain; }
public EstimateEquipmentLineResult setRentalExplain(String value) { this.RentalExplain = value; return this; }
public BigDecimal getUsageDays() { return UsageDays; }
public EstimateEquipmentLineResult setUsageDays(BigDecimal value) { this.UsageDays = value; return this; }
public BigDecimal getBilledDays() { return BilledDays; }
public EstimateEquipmentLineResult setBilledDays(BigDecimal value) { this.BilledDays = value; return this; }
}
public static class EstimateMaterialLineResult
{
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 getName() { return Name; }
public EstimateMaterialLineResult setName(String value) { this.Name = value; return this; }
public BigDecimal getQuantity() { return Quantity; }
public EstimateMaterialLineResult setQuantity(BigDecimal value) { this.Quantity = value; return this; }
public String getUnit() { return Unit; }
public EstimateMaterialLineResult setUnit(String value) { this.Unit = value; return this; }
public BigDecimal getRate() { return Rate; }
public EstimateMaterialLineResult setRate(BigDecimal value) { this.Rate = value; return this; }
public Boolean isNeedsRate() { return NeedsRate; }
public EstimateMaterialLineResult setNeedsRate(Boolean value) { this.NeedsRate = value; return this; }
public BigDecimal getCost() { return Cost; }
public EstimateMaterialLineResult setCost(BigDecimal value) { this.Cost = value; return this; }
public String getRateKey() { return RateKey; }
public EstimateMaterialLineResult setRateKey(String value) { this.RateKey = value; return this; }
}
public static class EstimateSubcontractLine
{
public String Vendor = null;
public BigDecimal Amount = null;
public String Scope = null;
public String getVendor() { return Vendor; }
public EstimateSubcontractLine setVendor(String value) { this.Vendor = value; return this; }
public BigDecimal getAmount() { return Amount; }
public EstimateSubcontractLine setAmount(BigDecimal value) { this.Amount = value; return this; }
public String getScope() { return Scope; }
public EstimateSubcontractLine setScope(String value) { this.Scope = value; return this; }
}
}
Java ApplyAssemblyRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/Rfp/{RfpDocumentUID}/Estimate/Jobs/{TaskSeq}/assembly HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"RfpDocumentUID":"00000000000000000000000000000000","TaskSeq":0,"TemplateUID":"00000000000000000000000000000000"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"TaskSeq":0,"TemplateUID":"00000000000000000000000000000000","TemplateName":"String","Quantity":0,"Unit":"String","Resourcing":{"Positions":[{"PositionTag":"String","Hours":0,"CrewSize":0,"Utilization":0,"FixedDays":0,"Headcount":0,"SourceReference":"String","Notes":"String","IsInCatalog":false,"ContactID":0}],"Equipment":[{"EquipmentID":0,"EquipmentName":"String","MakeModel":"String","Quantity":0,"DurationDays":0,"Utilization":0,"FixedDays":0,"SourceReference":"String","Notes":"String","IsInCatalog":false,"SuggestedEquipmentID":0,"SuggestedEquipmentName":"String"}],"Materials":[{"MaterialID":0,"MaterialName":"String","MakeModel":"String","Quantity":0,"QuantityPerUnit":0,"Unit":"String","SourceReference":"String","Notes":"String","IsInCatalog":false,"SuggestedMaterialID":0,"SuggestedMaterialName":"String"}],"ResourcedForQuantity":0,"ProductionRatePerDay":0,"FixedDays":0},"Job":{"Seq":0,"DependsOn":[0],"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,"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"},"Crew":[{"Role":"String","Hours":0,"StHours":0,"OtHours":0,"Rrop":0,"StCost":0,"OtCost":0,"Cost":0,"FringeCost":0,"PremiumApplied":false,"HasOt":false,"NeedsRate":false}],"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","RentalExplain":"String","UsageDays":0,"BilledDays":0}],"Materials":[{"Name":"String","Quantity":0,"Unit":"String","Rate":0,"NeedsRate":false,"Cost":0,"RateKey":"String"}],"Subcontracts":[{"Vendor":"String","Amount":0,"Scope":"String"}],"CrewCost":0,"FringeCost":0,"EquipmentCost":0,"MaterialCost":0,"SubcontractCost":0,"Direct":0,"PricingBasis":"String","PricingRuleId":"String","PricingBandP25":0,"PricingBandP75":0,"PricingBandN":0,"PricingBandLabel":"String","BenchmarkUnitPrice":0,"BenchmarkRateMin":0,"BenchmarkRateMax":0,"BenchmarkSampleSize":0,"BenchmarkP25":0,"BenchmarkP75":0,"BenchmarkBasis":"String","UnitPriceOverride":0,"OverrideBasis":"String","ReferencePrice":0,"ReferenceRangeMin":0,"ReferenceRangeMax":0,"ReferenceN":0,"ReferenceDate":"0001-01-01T00:00:00.0000000","ReferenceBasis":"String","ReferenceUrl":"String"},"Headline":"String"}