' Options: 'Date: 2026-06-13 05:05:01 '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: RfpPricePreviewRequest.* '''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 CostRange Public Overridable Property Min As Double Public Overridable Property Max As Double Public Overridable Property Mid As Double End Class Public Partial Class PricedEquipment Public Overridable Property EquipmentID As Integer Public Overridable Property EquipmentName As String Public Overridable Property Quantity As Double Public Overridable Property DurationDays As Double? Public Overridable Property RateType As String Public Overridable Property BilledRate As Double? Public Overridable Property CostRate As Double? Public Overridable Property HasRate As Boolean Public Overridable Property IsInCatalog As Boolean Public Overridable Property Cost As Double Public Overridable Property CompanyCost As Double Public Overridable Property Margin As Double End Class Public Partial Class PricedMaterial Public Overridable Property MaterialID As Integer Public Overridable Property MaterialName As String Public Overridable Property Quantity As Double Public Overridable Property UnitCost As Double? Public Overridable Property HasRate As Boolean Public Overridable Property IsInCatalog As Boolean Public Overridable Property Cost As Double End Class Public Partial Class PricedPosition Public Overridable Property PositionTag As String Public Overridable Property Hours As Double Public Overridable Property HasInternalRate As Boolean Public Overridable Property RateMin As Double? Public Overridable Property RateMax As Double? Public Overridable Property RateAvg As Double? Public Overridable Property ContactCount As Integer Public Overridable Property Cost As CostRange Public Overridable Property MarketRateReference As Double? End Class Public Partial Class PricedProposal Public Overridable Property RfpDocumentID As Integer Public Overridable Property ProjectName As String Public Overridable Property Currency As String Public Overridable Property Tasks As List(Of PricedTask) = New List(Of PricedTask) Public Overridable Property Total As CostRange Public Overridable Property PositionsNeedingRate As Integer Public Overridable Property EquipmentNotInCatalog As Integer Public Overridable Property MaterialsNotInCatalog As Integer Public Overridable Property PositionsNotInCatalog As Integer Public Overridable Property EquipmentMargin As Double End Class Public Partial Class PricedTask Public Overridable Property Name As String Public Overridable Property Category As String Public Overridable Property Positions As List(Of PricedPosition) = New List(Of PricedPosition) Public Overridable Property Equipment As List(Of PricedEquipment) = New List(Of PricedEquipment) Public Overridable Property Materials As List(Of PricedMaterial) = New List(Of PricedMaterial) Public Overridable Property Subtotal As CostRange End Class Public Partial Class ProjectProposal Public Overridable Property RfpDocumentID As Integer Public Overridable Property ProjectName As String Public Overridable Property ClientName As String Public Overridable Property ProjectType As String Public Overridable Property ProjectLocation As String Public Overridable Property Scope As String Public Overridable Property ProjectDescription As String Public Overridable Property ContractDurationDays As Integer? Public Overridable Property BidDueDate As String Public Overridable Property EstimatedStartDate As Date? Public Overridable Property EstimatedEndDate As Date? Public Overridable Property Tasks As List(Of ProposedTask) = New List(Of ProposedTask) End Class Public Partial Class ProposedTask Public Overridable Property Seq As Integer Public Overridable Property Name As String Public Overridable Property Category As String Public Overridable Property Quantity As Double? Public Overridable Property Unit As String Public Overridable Property SourceItemNumber As String Public Overridable Property SourceReference As String Public Overridable Property Notes As String Public Overridable Property Resourcing As TaskResourcing Public Overridable Property DurationDays As Double? Public Overridable Property DependsOn As List(Of Integer) = New List(Of Integer) Public Overridable Property EstimatedStartDate As Date? Public Overridable Property EstimatedEndDate As Date? End Class Public Partial Class ResourcedEquipment Public Overridable Property EquipmentID As Integer Public Overridable Property EquipmentName As String Public Overridable Property MakeModel As String Public Overridable Property Quantity As Double? Public Overridable Property DurationDays As Double? Public Overridable Property SourceReference As String Public Overridable Property Notes As String Public Overridable Property IsInCatalog As Boolean Public Overridable Property SuggestedEquipmentID As Integer Public Overridable Property SuggestedEquipmentName As String End Class Public Partial Class ResourcedMaterial Public Overridable Property MaterialID As Integer Public Overridable Property MaterialName As String Public Overridable Property MakeModel As String Public Overridable Property Quantity As Double? Public Overridable Property Unit As String Public Overridable Property SourceReference As String Public Overridable Property Notes As String Public Overridable Property IsInCatalog As Boolean Public Overridable Property SuggestedMaterialID As Integer Public Overridable Property SuggestedMaterialName As String End Class Public Partial Class ResourcedPosition Public Overridable Property PositionTag As String Public Overridable Property Hours As Double? Public Overridable Property Headcount As Integer? Public Overridable Property SourceReference As String Public Overridable Property Notes As String Public Overridable Property IsInCatalog As Boolean Public Overridable Property ContactID As Integer? End Class Public Partial Class RfpPricePreviewRequest Implements IReturn(Of RfpPricingResponse) Public Overridable Property Proposal As ProjectProposal End Class Public Partial Class RfpPricingResponse Public Overridable Property ResponseStatus As ResponseStatus Public Overridable Property RfpDocumentID As Integer Public Overridable Property Pricing As PricedProposal End Class Public Partial Class TaskResourcing Public Overridable Property Positions As List(Of ResourcedPosition) = New List(Of ResourcedPosition) Public Overridable Property Equipment As List(Of ResourcedEquipment) = New List(Of ResourcedEquipment) Public Overridable Property Materials As List(Of ResourcedMaterial) = New List(Of ResourcedMaterial) 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