' Options: 'Date: 2026-08-01 04:22:36 'Version: 8.80 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.dev.dynamics.trendsic.com ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: EstimateSubcontractAddRequest.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Net Imports CRM.AgencyPlatform.API.Internal Namespace Global Namespace CRM.AgencyPlatform.API.Internal Public Partial Class BidScheduleLine Public Overridable Property ItemNo As String Public Overridable Property Description As String Public Overridable Property Unit As String Public Overridable Property Quantity As Decimal Public Overridable Property UnitPrice As Decimal Public Overridable Property Extension As Decimal Public Overridable Property PricingBasis As String Public Overridable Property BenchmarkDeltaPct As Decimal? Public Overridable Property BenchmarkFlagged As Boolean End Class Public Partial Class EstimateCrewLineView Public Overridable Property Role As String Public Overridable Property Hours As Decimal Public Overridable Property StHours As Decimal Public Overridable Property OtHours As Decimal Public Overridable Property HasOt As Boolean Public Overridable Property PremiumApplied As Boolean Public Overridable Property NeedsRate As Boolean Public Overridable Property RateKey As String Public Overridable Property Chip As String Public Overridable Property Rrop As Decimal? Public Overridable Property StCost As Decimal? Public Overridable Property OtCost As Decimal? Public Overridable Property Cost As Decimal? Public Overridable Property FringeCost As Decimal? End Class Public Partial Class EstimateEquipmentLineView Public Overridable Property Name As String Public Overridable Property Quantity As Decimal Public Overridable Property Rate As Decimal? Public Overridable Property NeedsRate As Boolean Public Overridable Property MobCost As Decimal Public Overridable Property Cost As Decimal Public Overridable Property IsAvailabilityTracked As Boolean Public Overridable Property IsOwned As Boolean Public Overridable Property AvailabilityLabel As String Public Overridable Property FreedFromProject As String Public Overridable Property AvailableFrom As Date? Public Overridable Property RateKey As String Public Overridable Property Chip As String Public Overridable Property RentalExplain As String Public Overridable Property UsageDays As Decimal Public Overridable Property BilledDays As Decimal End Class Public Partial Class EstimateJobView Public Overridable Property Seq As Integer Public Overridable Property WorkPackage As WorkPackageView Public Overridable Property ItemNo As String Public Overridable Property Name As String Public Overridable Property Category As String Public Overridable Property SourceRef As String Public Overridable Property Unit As String Public Overridable Property Quantity As Decimal Public Overridable Property PatternCode As String Public Overridable Property Workdays As Integer Public Overridable Property HoursPerDay As Decimal Public Overridable Property IsNight As Boolean Public Overridable Property WeeklyHours As Decimal Public Overridable Property OtFraction As Decimal Public Overridable Property Days As Decimal Public Overridable Property EffectiveProdPerDay As Decimal? Public Overridable Property CrewPremiumApplied As Boolean Public Overridable Property CrewCost As Decimal Public Overridable Property FringeCost As Decimal Public Overridable Property EquipmentCost As Decimal Public Overridable Property MaterialCost As Decimal Public Overridable Property SubcontractCost As Decimal Public Overridable Property Direct As Decimal Public Overridable Property PricingBasis As String Public Overridable Property BenchmarkUnitPrice As Decimal? Public Overridable Property Crew As List(Of EstimateCrewLineView) = New List(Of EstimateCrewLineView) Public Overridable Property Equipment As List(Of EstimateEquipmentLineView) = New List(Of EstimateEquipmentLineView) Public Overridable Property Materials As List(Of EstimateMaterialLineView) = New List(Of EstimateMaterialLineView) Public Overridable Property Subcontracts As List(Of EstimateSubcontractView) = New List(Of EstimateSubcontractView) End Class Public Partial Class EstimateMaterialLineView Public Overridable Property Name As String Public Overridable Property Quantity As Decimal Public Overridable Property Unit As String Public Overridable Property Rate As Decimal? Public Overridable Property NeedsRate As Boolean Public Overridable Property Cost As Decimal Public Overridable Property RateKey As String Public Overridable Property Chip As String End Class Public Partial Class EstimateResponse Public Overridable Property ResponseStatus As ResponseStatus Public Overridable Property View As EstimatingView End Class Public Partial Class EstimateReviewItemView Public Overridable Property TaskSeq As Integer Public Overridable Property TaskName As String Public Overridable Property Reason As String Public Overridable Property Status As String End Class Public Partial Class EstimateSettingsView Public Overridable Property RfpEstimateID As Integer Public Overridable Property StartDate As Date? Public Overridable Property DeadlineDate As Date? Public Overridable Property WorkdaysPerWeek As Integer Public Overridable Property HoursPerDay As Decimal Public Overridable Property WeatherPct As Decimal Public Overridable Property OhpPct As Decimal Public Overridable Property ContingencyPct As Decimal Public Overridable Property BondPct As Decimal Public Overridable Property Holidays As List(Of Date) = New List(Of Date) Public Overridable Property AppliedStartDate As Date? End Class Public Partial Class EstimateSubcontractAddRequest Implements IReturn(Of EstimateResponse) Public Overridable Property RfpDocumentUID As Guid Public Overridable Property TaskSeq As Integer Public Overridable Property Vendor As String Public Overridable Property Amount As Decimal Public Overridable Property Scope As String End Class Public Partial Class EstimateSubcontractView Public Overridable Property EstimateSubcontractID As Integer Public Overridable Property TaskSeq As Integer Public Overridable Property Vendor As String Public Overridable Property Amount As Decimal Public Overridable Property Scope As String End Class Public Partial Class EstimateSummaryView Public Overridable Property Direct As Decimal Public Overridable Property OhpPct As Decimal Public Overridable Property OhpAmount As Decimal Public Overridable Property BondPct As Decimal Public Overridable Property BondAmount As Decimal Public Overridable Property ContingencyPct As Decimal Public Overridable Property ContingencyAmount As Decimal Public Overridable Property BidTotal As Decimal Public Overridable Property LoadFactor As Decimal Public Overridable Property MarginPct As Decimal End Class Public Partial Class EstimateTimingView Public Overridable Property TotalWorkdays As Decimal Public Overridable Property CalendarDays As Integer Public Overridable Property Finish As Date Public Overridable Property Feasible As Boolean Public Overridable Property Deadline As Date? End Class Public Partial Class EstimateVarianceLine Public Overridable Property Seq As Integer Public Overridable Property ItemNo As String Public Overridable Property Name As String Public Overridable Property Unit As String Public Overridable Property Quantity As Decimal Public Overridable Property OurUnitPrice As Decimal Public Overridable Property OurTotal As Decimal Public Overridable Property BenchmarkUnitPrice As Decimal Public Overridable Property MarketTotal As Decimal Public Overridable Property DeltaPct As Decimal Public Overridable Property RateMin As Decimal? Public Overridable Property RateMax As Decimal? Public Overridable Property SampleSize As Integer? Public Overridable Property OutsideRange As Boolean? Public Overridable Property IsFloor As Boolean Public Overridable Property Severity As String Public Overridable Property Note As String End Class Public Partial Class EstimateVarianceView Public Overridable Property Lines As List(Of EstimateVarianceLine) = New List(Of EstimateVarianceLine) Public Overridable Property ItemsTotal As Integer Public Overridable Property ItemsBenchmarked As Integer Public Overridable Property CoverageValuePct As Decimal Public Overridable Property OursTotal As Decimal Public Overridable Property MarketTotal As Decimal Public Overridable Property AggregateDeltaPct As Decimal? Public Overridable Property FlooredCount As Integer Public Overridable Property WatchCount As Integer Public Overridable Property OutlierCount As Integer Public Overridable Property CriticalCount As Integer Public Overridable Property Note As String End Class Public Partial Class EstimatingView Public Overridable Property RfpDocumentID As Integer Public Overridable Property ProjectName As String Public Overridable Property ClientName As String Public Overridable Property BidDueDate As String Public Overridable Property ProjectType As String Public Overridable Property Settings As EstimateSettingsView Public Overridable Property Jobs As List(Of EstimateJobView) = New List(Of EstimateJobView) Public Overridable Property Schedule As List(Of BidScheduleLine) = New List(Of BidScheduleLine) Public Overridable Property ScheduleTotal As Decimal Public Overridable Property Variance As EstimateVarianceView Public Overridable Property Indicative As IndicativeBidView Public Overridable Property Summary As EstimateSummaryView Public Overridable Property Timing As EstimateTimingView Public Overridable Property NeedsRateCount As Integer Public Overridable Property NeedsRateKeys As List(Of String) = New List(Of String) Public Overridable Property ReviewItems As List(Of EstimateReviewItemView) = New List(Of EstimateReviewItemView) Public Overridable Property NeedsReviewCount As Integer Public Overridable Property CanApprove As Boolean Public Overridable Property CanSeePay As Boolean End Class Public Partial Class IndicativeBidView Public Overridable Property Lines As List(Of IndicativeLine) = New List(Of IndicativeLine) Public Overridable Property BottomUpCount As Integer Public Overridable Property BottomUpTotal As Decimal Public Overridable Property BenchmarkCount As Integer Public Overridable Property BenchmarkTotal As Decimal Public Overridable Property UncoveredCount As Integer Public Overridable Property UncoveredFloorTotal As Decimal Public Overridable Property IndicativeTotal As Decimal Public Overridable Property FloorTotal As Decimal Public Overridable Property Note As String End Class Public Partial Class IndicativeLine Public Overridable Property Seq As Integer Public Overridable Property ItemNo As String Public Overridable Property Name As String Public Overridable Property Unit As String Public Overridable Property Quantity As Decimal Public Overridable Property Source As String Public Overridable Property UnitPrice As Decimal Public Overridable Property LineTotal As Decimal End Class End Namespace Namespace ServiceStack Public Partial Class ResponseStatus Implements IMeta Public Overridable Property ErrorCode As String Public Overridable Property Message As String Public Overridable Property StackTrace As String Public Overridable Property Errors As List(Of ResponseError) = New List(Of ResponseError) Public Overridable Property Meta As Dictionary(Of String, String) Implements IMeta.Meta = New Dictionary(Of String, String) End Class End Namespace End Namespace