Trendsic Platform Service

<back to all web services

RfpProposalRequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
GET,OPTIONS/v1/Rfp/{RfpDocumentUID}/Proposal
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports CRM.AgencyPlatform.API.Internal

Namespace Global

    Namespace CRM.AgencyPlatform.API.Internal

        Public Partial Class AddendaChange
            Public Overridable Property ChangeId As String
            Public Overridable Property ChangeType As String
            Public Overridable Property TargetSeq As Integer?
            Public Overridable Property ItemNumber As String
            Public Overridable Property ItemName As String
            Public Overridable Property Field As String
            Public Overridable Property OldValue As String
            Public Overridable Property NewValue As String
            Public Overridable Property Description As String
            Public Overridable Property Status As String
        End Class

        Public Partial Class AddendaChangeSet
            Public Overridable Property ChangeSetId As String
            Public Overridable Property SourceRfpDocumentID As Integer
            Public Overridable Property SourceFileName As String
            Public Overridable Property DocumentType As String
            Public Overridable Property ExtractedAtUtc As Date?
            Public Overridable Property Summary As String
            Public Overridable Property Changes As List(Of AddendaChange) = New List(Of AddendaChange)
        End Class

        Public Partial Class CrewPlanLine
            Public Overridable Property PositionTag As String
            Public Overridable Property Needed As Integer
            Public Overridable Property NaiveTotal As Integer
            Public Overridable Property TaskAssignments As Integer
        End Class

        Public Partial Class ProjectProposal
            Public Overridable Property RfpDocumentID As Integer
            Public Overridable Property Mode As String
            Public Overridable Property ProjectID As Integer?
            Public Overridable Property ChangeOrderID 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)
            Public Overridable Property PendingAddendaDiffs As List(Of AddendaChangeSet) = New List(Of AddendaChangeSet)
            Public Overridable Property WageDeterminations As List(Of WageDeterminationResult) = New List(Of WageDeterminationResult)
        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?
            Public Overridable Property WorkPackage As TaskWorkPackage
            Public Overridable Property CreatedJobID As Integer?
        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 Utilization As Double?
            Public Overridable Property FixedDays 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 QuantityPerUnit 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 CrewSize As Double?
            Public Overridable Property Utilization As Double?
            Public Overridable Property FixedDays 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 RfpProposalRequest
            Public Overridable Property RfpDocumentUID As Guid
        End Class

        Public Partial Class RfpProposalResponse
            Public Overridable Property ResponseStatus As ResponseStatus
            Public Overridable Property RfpDocumentID As Integer
            Public Overridable Property Proposal As ProjectProposal
            Public Overridable Property CrewPlan As List(Of CrewPlanLine) = New List(Of CrewPlanLine)
        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)
            Public Overridable Property ResourcedForQuantity As Double?
            Public Overridable Property ProductionRatePerDay As Double?
            Public Overridable Property FixedDays As Double?
        End Class

        Public Partial Class TaskWorkPackage
            Public Overridable Property Scope As String
            Public Overridable Property LimitsOfWork As String
            Public Overridable Property SpecRefs As List(Of WorkPackageSpecRef) = New List(Of WorkPackageSpecRef)
            Public Overridable Property Constraints As List(Of String) = New List(Of String)
            Public Overridable Property HoldPoints As List(Of String) = New List(Of String)
            Public Overridable Property DefinitionOfDone As List(Of String) = New List(Of String)
            Public Overridable Property SafetyNote As String
            Public Overridable Property RfpRef As String
            Public Overridable Property Confidence As Integer?
            Public Overridable Property SpecBook As String
            Public Overridable Property UserScope As String
            Public Overridable Property DodRemoved As List(Of Integer) = New List(Of Integer)
            Public Overridable Property DodExtra As List(Of String) = New List(Of String)
            Public Overridable Property UserEdited As Boolean
            Public Overridable Property DodChecked As List(Of String) = New List(Of String)
            Public Overridable Property RedraftNote As String
        End Class

        Public Partial Class WageClassification
            Public Overridable Property Title As String
            Public Overridable Property BaseRate As Decimal?
            Public Overridable Property FringeRate As Decimal?
            Public Overridable Property ParishNote As String
            Public Overridable Property SourceLine As String
            Public Overridable Property BenchmarkFringeRate As Decimal?
            Public Overridable Property FringeCompareNote As String
        End Class

        Public Partial Class WageDeterminationResult
            Public Overridable Property SourceRfpDocumentID As Integer
            Public Overridable Property SourceFileName As String
            Public Overridable Property WdNumber As String
            Public Overridable Property ExtractedAtUtc As Date?
            Public Overridable Property Classifications As List(Of WageClassification) = New List(Of WageClassification)
            Public Overridable Property Source As String
            Public Overridable Property IsTrustworthy As Boolean
            Public Overridable Property ExecutiveOrderFloor As Decimal?
            Public Overridable Property PublishedDate As String
            Public Overridable Property ProjectParish As String
            Public Overridable Property Warnings As List(Of String) = New List(Of String)
        End Class

        Public Partial Class WorkPackageSpecRef
            Public Overridable Property Section As String
            Public Overridable Property Title As String
        End Class
    End Namespace
End Namespace

VB.NET RfpProposalRequest DTOs

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.

GET /v1/Rfp/{RfpDocumentUID}/Proposal HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<RfpProposalResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
  <CrewPlan>
    <CrewPlanLine>
      <NaiveTotal>0</NaiveTotal>
      <Needed>0</Needed>
      <PositionTag>String</PositionTag>
      <TaskAssignments>0</TaskAssignments>
    </CrewPlanLine>
  </CrewPlan>
  <Proposal>
    <BidDueDate>String</BidDueDate>
    <ChangeOrderID>0</ChangeOrderID>
    <ClientName>String</ClientName>
    <ContractDurationDays>0</ContractDurationDays>
    <EstimatedEndDate>0001-01-01T00:00:00</EstimatedEndDate>
    <EstimatedStartDate>0001-01-01T00:00:00</EstimatedStartDate>
    <Mode>String</Mode>
    <PendingAddendaDiffs>
      <AddendaChangeSet>
        <ChangeSetId>String</ChangeSetId>
        <Changes>
          <AddendaChange>
            <ChangeId>String</ChangeId>
            <ChangeType>String</ChangeType>
            <Description>String</Description>
            <Field>String</Field>
            <ItemName>String</ItemName>
            <ItemNumber>String</ItemNumber>
            <NewValue>String</NewValue>
            <OldValue>String</OldValue>
            <Status>String</Status>
            <TargetSeq>0</TargetSeq>
          </AddendaChange>
        </Changes>
        <DocumentType>String</DocumentType>
        <ExtractedAtUtc>0001-01-01T00:00:00</ExtractedAtUtc>
        <SourceFileName>String</SourceFileName>
        <SourceRfpDocumentID>0</SourceRfpDocumentID>
        <Summary>String</Summary>
      </AddendaChangeSet>
    </PendingAddendaDiffs>
    <ProjectDescription>String</ProjectDescription>
    <ProjectID>0</ProjectID>
    <ProjectLocation>String</ProjectLocation>
    <ProjectName>String</ProjectName>
    <ProjectType>String</ProjectType>
    <RfpDocumentID>0</RfpDocumentID>
    <Scope>String</Scope>
    <Tasks>
      <ProposedTask>
        <Category>String</Category>
        <CreatedJobID>0</CreatedJobID>
        <DependsOn xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:int>0</d5p1:int>
        </DependsOn>
        <DurationDays>0</DurationDays>
        <EstimatedEndDate>0001-01-01T00:00:00</EstimatedEndDate>
        <EstimatedStartDate>0001-01-01T00:00:00</EstimatedStartDate>
        <Name>String</Name>
        <Notes>String</Notes>
        <Quantity>0</Quantity>
        <Resourcing>
          <Equipment>
            <ResourcedEquipment>
              <DurationDays>0</DurationDays>
              <EquipmentID>0</EquipmentID>
              <EquipmentName>String</EquipmentName>
              <FixedDays>0</FixedDays>
              <IsInCatalog>false</IsInCatalog>
              <MakeModel>String</MakeModel>
              <Notes>String</Notes>
              <Quantity>0</Quantity>
              <SourceReference>String</SourceReference>
              <SuggestedEquipmentID>0</SuggestedEquipmentID>
              <SuggestedEquipmentName>String</SuggestedEquipmentName>
              <Utilization>0</Utilization>
            </ResourcedEquipment>
          </Equipment>
          <FixedDays>0</FixedDays>
          <Materials>
            <ResourcedMaterial>
              <IsInCatalog>false</IsInCatalog>
              <MakeModel>String</MakeModel>
              <MaterialID>0</MaterialID>
              <MaterialName>String</MaterialName>
              <Notes>String</Notes>
              <Quantity>0</Quantity>
              <QuantityPerUnit>0</QuantityPerUnit>
              <SourceReference>String</SourceReference>
              <SuggestedMaterialID>0</SuggestedMaterialID>
              <SuggestedMaterialName>String</SuggestedMaterialName>
              <Unit>String</Unit>
            </ResourcedMaterial>
          </Materials>
          <Positions>
            <ResourcedPosition>
              <ContactID>0</ContactID>
              <CrewSize>0</CrewSize>
              <FixedDays>0</FixedDays>
              <Headcount>0</Headcount>
              <Hours>0</Hours>
              <IsInCatalog>false</IsInCatalog>
              <Notes>String</Notes>
              <PositionTag>String</PositionTag>
              <SourceReference>String</SourceReference>
              <Utilization>0</Utilization>
            </ResourcedPosition>
          </Positions>
          <ProductionRatePerDay>0</ProductionRatePerDay>
          <ResourcedForQuantity>0</ResourcedForQuantity>
        </Resourcing>
        <Seq>0</Seq>
        <SourceItemNumber>String</SourceItemNumber>
        <SourceReference>String</SourceReference>
        <Unit>String</Unit>
        <WorkPackage>
          <Confidence>0</Confidence>
          <Constraints xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </Constraints>
          <DefinitionOfDone xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </DefinitionOfDone>
          <DodChecked xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </DodChecked>
          <DodExtra xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </DodExtra>
          <DodRemoved xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:int>0</d6p1:int>
          </DodRemoved>
          <HoldPoints xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </HoldPoints>
          <LimitsOfWork>String</LimitsOfWork>
          <RedraftNote>String</RedraftNote>
          <RfpRef>String</RfpRef>
          <SafetyNote>String</SafetyNote>
          <Scope>String</Scope>
          <SpecBook>String</SpecBook>
          <SpecRefs>
            <WorkPackageSpecRef>
              <Section>String</Section>
              <Title>String</Title>
            </WorkPackageSpecRef>
          </SpecRefs>
          <UserEdited>false</UserEdited>
          <UserScope>String</UserScope>
        </WorkPackage>
      </ProposedTask>
    </Tasks>
    <WageDeterminations>
      <WageDeterminationResult>
        <Classifications>
          <WageClassification>
            <BaseRate>0</BaseRate>
            <BenchmarkFringeRate>0</BenchmarkFringeRate>
            <FringeCompareNote>String</FringeCompareNote>
            <FringeRate>0</FringeRate>
            <ParishNote>String</ParishNote>
            <SourceLine>String</SourceLine>
            <Title>String</Title>
          </WageClassification>
        </Classifications>
        <ExecutiveOrderFloor>0</ExecutiveOrderFloor>
        <ExtractedAtUtc>0001-01-01T00:00:00</ExtractedAtUtc>
        <IsTrustworthy>false</IsTrustworthy>
        <ProjectParish>String</ProjectParish>
        <PublishedDate>String</PublishedDate>
        <Source>String</Source>
        <SourceFileName>String</SourceFileName>
        <SourceRfpDocumentID>0</SourceRfpDocumentID>
        <Warnings xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>String</d5p1:string>
        </Warnings>
        <WdNumber>String</WdNumber>
      </WageDeterminationResult>
    </WageDeterminations>
  </Proposal>
  <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>
  <RfpDocumentID>0</RfpDocumentID>
</RfpProposalResponse>