Trendsic Platform Service

<back to all web services

EstimateSubcontractRemoveRequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
POST,OPTIONS/v1/Rfp/{RfpDocumentUID}/Estimate/Subcontracts/Remove
EstimateSubcontractRemoveRequest Parameters:
NameParameterData TypeRequiredDescription
RfpDocumentUIDpathGuidNo
EstimateSubcontractIDbodyintNo
EstimateResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ViewformEstimatingViewNo
EstimatingView Parameters:
NameParameterData TypeRequiredDescription
RfpDocumentIDformintNo
ProjectNameformstringNo
ClientNameformstringNo
BidDueDateformstringNo
ProjectTypeformstringNo
SettingsformEstimateSettingsViewNo
JobsformList<EstimateJobView>No
ScheduleformList<BidScheduleLine>No
ScheduleTotalformdecimalNo
VarianceformEstimateVarianceViewNo
IndicativeformIndicativeBidViewNo
SummaryformEstimateSummaryViewNo
TimingformEstimateTimingViewNo
NeedsRateCountformintNo
NeedsRateKeysformList<string>No
ReviewItemsformList<EstimateReviewItemView>No
NeedsReviewCountformintNo
CanApproveformboolNo
CanSeePayformboolNo
EstimateSettingsView Parameters:
NameParameterData TypeRequiredDescription
RfpEstimateIDformintNo
StartDateformDateTime?No
DeadlineDateformDateTime?No
WorkdaysPerWeekformintNo
HoursPerDayformdecimalNo
WeatherPctformdecimalNo
OhpPctformdecimalNo
ContingencyPctformdecimalNo
BondPctformdecimalNo
HolidaysformList<DateTime>No
AppliedStartDateformDateTime?No
EstimateJobView Parameters:
NameParameterData TypeRequiredDescription
SeqformintNo
WorkPackageformWorkPackageViewNo
ItemNoformstringNo
NameformstringNo
CategoryformstringNo
SourceRefformstringNo
UnitformstringNo
QuantityformdecimalNo
PatternCodeformstringNo
WorkdaysformintNo
HoursPerDayformdecimalNo
IsNightformboolNo
WeeklyHoursformdecimalNo
OtFractionformdecimalNo
DaysformdecimalNo
EffectiveProdPerDayformdecimal?No
CrewPremiumAppliedformboolNo
CrewCostformdecimalNo
FringeCostformdecimalNo
EquipmentCostformdecimalNo
MaterialCostformdecimalNo
SubcontractCostformdecimalNo
DirectformdecimalNo
PricingBasisformstringNo
BenchmarkUnitPriceformdecimal?No
CrewformList<EstimateCrewLineView>No
EquipmentformList<EstimateEquipmentLineView>No
MaterialsformList<EstimateMaterialLineView>No
SubcontractsformList<EstimateSubcontractView>No
WorkPackageView Parameters:
NameParameterData TypeRequiredDescription
HasPackageformboolNo
ScopeformstringNo
LimitsOfWorkformstringNo
SpecRefsformList<SpecRefView>No
ConstraintsformList<string>No
HoldPointsformList<string>No
DodformList<DodItemView>No
SafetyNoteformstringNo
ProvenanceformstringNo
SpecBookformstringNo
UserEditedformboolNo
RedraftNoteformstringNo
SpecRefView Parameters:
NameParameterData TypeRequiredDescription
SectionformstringNo
TitleformstringNo
UrlformstringNo
DodItemView Parameters:
NameParameterData TypeRequiredDescription
KeyformstringNo
TextformstringNo
CheckedformboolNo
SourceformstringNo
EstimateCrewLineView Parameters:
NameParameterData TypeRequiredDescription
RoleformstringNo
HoursformdecimalNo
StHoursformdecimalNo
OtHoursformdecimalNo
HasOtformboolNo
PremiumAppliedformboolNo
NeedsRateformboolNo
RateKeyformstringNo
ChipformstringNo
Rropformdecimal?No
StCostformdecimal?No
OtCostformdecimal?No
Costformdecimal?No
FringeCostformdecimal?No
EstimateEquipmentLineView Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
QuantityformdecimalNo
Rateformdecimal?No
NeedsRateformboolNo
MobCostformdecimalNo
CostformdecimalNo
IsAvailabilityTrackedformboolNo
IsOwnedformboolNo
AvailabilityLabelformstringNo
FreedFromProjectformstringNo
AvailableFromformDateTime?No
RateKeyformstringNo
ChipformstringNo
RentalExplainformstringNo
UsageDaysformdecimalNo
BilledDaysformdecimalNo
EstimateMaterialLineView Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
QuantityformdecimalNo
UnitformstringNo
Rateformdecimal?No
NeedsRateformboolNo
CostformdecimalNo
RateKeyformstringNo
ChipformstringNo
EstimateSubcontractView Parameters:
NameParameterData TypeRequiredDescription
EstimateSubcontractIDformintNo
TaskSeqformintNo
VendorformstringNo
AmountformdecimalNo
ScopeformstringNo
BidScheduleLine Parameters:
NameParameterData TypeRequiredDescription
ItemNoformstringNo
DescriptionformstringNo
UnitformstringNo
QuantityformdecimalNo
UnitPriceformdecimalNo
ExtensionformdecimalNo
PricingBasisformstringNo
BenchmarkDeltaPctformdecimal?No
BenchmarkFlaggedformboolNo
EstimateVarianceView Parameters:
NameParameterData TypeRequiredDescription
LinesformList<EstimateVarianceLine>No
ItemsTotalformintNo
ItemsBenchmarkedformintNo
CoverageValuePctformdecimalNo
OursTotalformdecimalNo
MarketTotalformdecimalNo
AggregateDeltaPctformdecimal?No
FlooredCountformintNo
WatchCountformintNo
OutlierCountformintNo
CriticalCountformintNo
NoteformstringNo
EstimateVarianceLine Parameters:
NameParameterData TypeRequiredDescription
SeqformintNo
ItemNoformstringNo
NameformstringNo
UnitformstringNo
QuantityformdecimalNo
OurUnitPriceformdecimalNo
OurTotalformdecimalNo
BenchmarkUnitPriceformdecimalNo
MarketTotalformdecimalNo
DeltaPctformdecimalNo
RateMinformdecimal?No
RateMaxformdecimal?No
SampleSizeformint?No
OutsideRangeformbool?No
IsFloorformboolNo
SeverityformstringNo
NoteformstringNo
IndicativeBidView Parameters:
NameParameterData TypeRequiredDescription
LinesformList<IndicativeLine>No
BottomUpCountformintNo
BottomUpTotalformdecimalNo
BenchmarkCountformintNo
BenchmarkTotalformdecimalNo
UncoveredCountformintNo
UncoveredFloorTotalformdecimalNo
IndicativeTotalformdecimalNo
FloorTotalformdecimalNo
NoteformstringNo
IndicativeLine Parameters:
NameParameterData TypeRequiredDescription
SeqformintNo
ItemNoformstringNo
NameformstringNo
UnitformstringNo
QuantityformdecimalNo
SourceformstringNo
UnitPriceformdecimalNo
LineTotalformdecimalNo
EstimateSummaryView Parameters:
NameParameterData TypeRequiredDescription
DirectformdecimalNo
OhpPctformdecimalNo
OhpAmountformdecimalNo
BondPctformdecimalNo
BondAmountformdecimalNo
ContingencyPctformdecimalNo
ContingencyAmountformdecimalNo
BidTotalformdecimalNo
LoadFactorformdecimalNo
MarginPctformdecimalNo
EstimateTimingView Parameters:
NameParameterData TypeRequiredDescription
TotalWorkdaysformdecimalNo
CalendarDaysformintNo
FinishformDateTimeNo
FeasibleformboolNo
DeadlineformDateTime?No
EstimateReviewItemView Parameters:
NameParameterData TypeRequiredDescription
TaskSeqformintNo
TaskNameformstringNo
ReasonformstringNo
StatusformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /v1/Rfp/{RfpDocumentUID}/Estimate/Subcontracts/Remove HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<EstimateSubcontractRemoveRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
  <EstimateSubcontractID>0</EstimateSubcontractID>
  <RfpDocumentUID>00000000-0000-0000-0000-000000000000</RfpDocumentUID>
</EstimateSubcontractRemoveRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<EstimateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
  <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>
  <View>
    <BidDueDate>String</BidDueDate>
    <CanApprove>false</CanApprove>
    <CanSeePay>false</CanSeePay>
    <ClientName>String</ClientName>
    <Indicative>
      <BenchmarkCount>0</BenchmarkCount>
      <BenchmarkTotal>0</BenchmarkTotal>
      <BottomUpCount>0</BottomUpCount>
      <BottomUpTotal>0</BottomUpTotal>
      <FloorTotal>0</FloorTotal>
      <IndicativeTotal>0</IndicativeTotal>
      <Lines>
        <IndicativeLine>
          <ItemNo>String</ItemNo>
          <LineTotal>0</LineTotal>
          <Name>String</Name>
          <Quantity>0</Quantity>
          <Seq>0</Seq>
          <Source>String</Source>
          <Unit>String</Unit>
          <UnitPrice>0</UnitPrice>
        </IndicativeLine>
      </Lines>
      <Note>String</Note>
      <UncoveredCount>0</UncoveredCount>
      <UncoveredFloorTotal>0</UncoveredFloorTotal>
    </Indicative>
    <Jobs>
      <EstimateJobView>
        <BenchmarkUnitPrice>0</BenchmarkUnitPrice>
        <Category>String</Category>
        <Crew>
          <EstimateCrewLineView>
            <Chip>String</Chip>
            <Cost>0</Cost>
            <FringeCost>0</FringeCost>
            <HasOt>false</HasOt>
            <Hours>0</Hours>
            <NeedsRate>false</NeedsRate>
            <OtCost>0</OtCost>
            <OtHours>0</OtHours>
            <PremiumApplied>false</PremiumApplied>
            <RateKey>String</RateKey>
            <Role>String</Role>
            <Rrop>0</Rrop>
            <StCost>0</StCost>
            <StHours>0</StHours>
          </EstimateCrewLineView>
        </Crew>
        <CrewCost>0</CrewCost>
        <CrewPremiumApplied>false</CrewPremiumApplied>
        <Days>0</Days>
        <Direct>0</Direct>
        <EffectiveProdPerDay>0</EffectiveProdPerDay>
        <Equipment>
          <EstimateEquipmentLineView>
            <AvailabilityLabel>String</AvailabilityLabel>
            <AvailableFrom>0001-01-01T00:00:00</AvailableFrom>
            <BilledDays>0</BilledDays>
            <Chip>String</Chip>
            <Cost>0</Cost>
            <FreedFromProject>String</FreedFromProject>
            <IsAvailabilityTracked>false</IsAvailabilityTracked>
            <IsOwned>false</IsOwned>
            <MobCost>0</MobCost>
            <Name>String</Name>
            <NeedsRate>false</NeedsRate>
            <Quantity>0</Quantity>
            <Rate>0</Rate>
            <RateKey>String</RateKey>
            <RentalExplain>String</RentalExplain>
            <UsageDays>0</UsageDays>
          </EstimateEquipmentLineView>
        </Equipment>
        <EquipmentCost>0</EquipmentCost>
        <FringeCost>0</FringeCost>
        <HoursPerDay>0</HoursPerDay>
        <IsNight>false</IsNight>
        <ItemNo>String</ItemNo>
        <MaterialCost>0</MaterialCost>
        <Materials>
          <EstimateMaterialLineView>
            <Chip>String</Chip>
            <Cost>0</Cost>
            <Name>String</Name>
            <NeedsRate>false</NeedsRate>
            <Quantity>0</Quantity>
            <Rate>0</Rate>
            <RateKey>String</RateKey>
            <Unit>String</Unit>
          </EstimateMaterialLineView>
        </Materials>
        <Name>String</Name>
        <OtFraction>0</OtFraction>
        <PatternCode>String</PatternCode>
        <PricingBasis>String</PricingBasis>
        <Quantity>0</Quantity>
        <Seq>0</Seq>
        <SourceRef>String</SourceRef>
        <SubcontractCost>0</SubcontractCost>
        <Subcontracts>
          <EstimateSubcontractView>
            <Amount>0</Amount>
            <EstimateSubcontractID>0</EstimateSubcontractID>
            <Scope>String</Scope>
            <TaskSeq>0</TaskSeq>
            <Vendor>String</Vendor>
          </EstimateSubcontractView>
        </Subcontracts>
        <Unit>String</Unit>
        <WeeklyHours>0</WeeklyHours>
        <WorkPackage>
          <Constraints xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </Constraints>
          <Dod>
            <RfpWorkPackageService.DodItemView>
              <Checked>false</Checked>
              <Key>String</Key>
              <Source>String</Source>
              <Text>String</Text>
            </RfpWorkPackageService.DodItemView>
          </Dod>
          <HasPackage>false</HasPackage>
          <HoldPoints xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </HoldPoints>
          <LimitsOfWork>String</LimitsOfWork>
          <Provenance>String</Provenance>
          <RedraftNote>String</RedraftNote>
          <SafetyNote>String</SafetyNote>
          <Scope>String</Scope>
          <SpecBook>String</SpecBook>
          <SpecRefs>
            <RfpWorkPackageService.SpecRefView>
              <Section>String</Section>
              <Title>String</Title>
              <Url>String</Url>
            </RfpWorkPackageService.SpecRefView>
          </SpecRefs>
          <UserEdited>false</UserEdited>
        </WorkPackage>
        <Workdays>0</Workdays>
      </EstimateJobView>
    </Jobs>
    <NeedsRateCount>0</NeedsRateCount>
    <NeedsRateKeys xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </NeedsRateKeys>
    <NeedsReviewCount>0</NeedsReviewCount>
    <ProjectName>String</ProjectName>
    <ProjectType>String</ProjectType>
    <ReviewItems>
      <EstimateReviewItemView>
        <Reason>String</Reason>
        <Status>String</Status>
        <TaskName>String</TaskName>
        <TaskSeq>0</TaskSeq>
      </EstimateReviewItemView>
    </ReviewItems>
    <RfpDocumentID>0</RfpDocumentID>
    <Schedule>
      <BidScheduleLine>
        <BenchmarkDeltaPct>0</BenchmarkDeltaPct>
        <BenchmarkFlagged>false</BenchmarkFlagged>
        <Description>String</Description>
        <Extension>0</Extension>
        <ItemNo>String</ItemNo>
        <PricingBasis>String</PricingBasis>
        <Quantity>0</Quantity>
        <Unit>String</Unit>
        <UnitPrice>0</UnitPrice>
      </BidScheduleLine>
    </Schedule>
    <ScheduleTotal>0</ScheduleTotal>
    <Settings>
      <AppliedStartDate>0001-01-01T00:00:00</AppliedStartDate>
      <BondPct>0</BondPct>
      <ContingencyPct>0</ContingencyPct>
      <DeadlineDate>0001-01-01T00:00:00</DeadlineDate>
      <Holidays xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:dateTime>0001-01-01T00:00:00</d4p1:dateTime>
      </Holidays>
      <HoursPerDay>0</HoursPerDay>
      <OhpPct>0</OhpPct>
      <RfpEstimateID>0</RfpEstimateID>
      <StartDate>0001-01-01T00:00:00</StartDate>
      <WeatherPct>0</WeatherPct>
      <WorkdaysPerWeek>0</WorkdaysPerWeek>
    </Settings>
    <Summary>
      <BidTotal>0</BidTotal>
      <BondAmount>0</BondAmount>
      <BondPct>0</BondPct>
      <ContingencyAmount>0</ContingencyAmount>
      <ContingencyPct>0</ContingencyPct>
      <Direct>0</Direct>
      <LoadFactor>0</LoadFactor>
      <MarginPct>0</MarginPct>
      <OhpAmount>0</OhpAmount>
      <OhpPct>0</OhpPct>
    </Summary>
    <Timing>
      <CalendarDays>0</CalendarDays>
      <Deadline>0001-01-01T00:00:00</Deadline>
      <Feasible>false</Feasible>
      <Finish>0001-01-01T00:00:00</Finish>
      <TotalWorkdays>0</TotalWorkdays>
    </Timing>
    <Variance>
      <AggregateDeltaPct>0</AggregateDeltaPct>
      <CoverageValuePct>0</CoverageValuePct>
      <CriticalCount>0</CriticalCount>
      <FlooredCount>0</FlooredCount>
      <ItemsBenchmarked>0</ItemsBenchmarked>
      <ItemsTotal>0</ItemsTotal>
      <Lines>
        <EstimateVarianceLine>
          <BenchmarkUnitPrice>0</BenchmarkUnitPrice>
          <DeltaPct>0</DeltaPct>
          <IsFloor>false</IsFloor>
          <ItemNo>String</ItemNo>
          <MarketTotal>0</MarketTotal>
          <Name>String</Name>
          <Note>String</Note>
          <OurTotal>0</OurTotal>
          <OurUnitPrice>0</OurUnitPrice>
          <OutsideRange>false</OutsideRange>
          <Quantity>0</Quantity>
          <RateMax>0</RateMax>
          <RateMin>0</RateMin>
          <SampleSize>0</SampleSize>
          <Seq>0</Seq>
          <Severity>String</Severity>
          <Unit>String</Unit>
        </EstimateVarianceLine>
      </Lines>
      <MarketTotal>0</MarketTotal>
      <Note>String</Note>
      <OursTotal>0</OursTotal>
      <OutlierCount>0</OutlierCount>
      <WatchCount>0</WatchCount>
    </Variance>
  </View>
</EstimateResponse>