Trendsic Platform Service

<back to all web services

RfpAddendaApplyRequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
POST,OPTIONS/v1/Rfp/{RfpDocumentUID}/Addenda/{ChangeId}/Apply
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class RfpAddendaApplyRequest
{
    open var RfpDocumentUID:UUID? = null
    open var ChangeId:String? = null
}

open class RfpAddendaResponse
{
    open var ResponseStatus:ResponseStatus? = null
    open var RfpDocumentID:Int? = null
    open var Diffs:ArrayList<AddendaChangeSet> = ArrayList<AddendaChangeSet>()
    open var WageDeterminations:ArrayList<WageDeterminationResult> = ArrayList<WageDeterminationResult>()
    open var Message:String? = null
    open var Reflowed:Boolean? = null
}

open class AddendaChangeSet
{
    open var ChangeSetId:String? = null
    open var SourceRfpDocumentID:Int? = null
    open var SourceFileName:String? = null
    open var DocumentType:String? = null
    open var ExtractedAtUtc:Date? = null
    open var Summary:String? = null
    open var Changes:ArrayList<AddendaChange> = ArrayList<AddendaChange>()
}

open class AddendaChange
{
    open var ChangeId:String? = null
    open var ChangeType:String? = null
    open var TargetSeq:Int? = null
    open var ItemNumber:String? = null
    open var ItemName:String? = null
    open var Field:String? = null
    open var OldValue:String? = null
    open var NewValue:String? = null
    open var Description:String? = null
    open var Status:String? = null
}

open class WageDeterminationResult
{
    open var SourceRfpDocumentID:Int? = null
    open var SourceFileName:String? = null
    open var WdNumber:String? = null
    open var ExtractedAtUtc:Date? = null
    open var Classifications:ArrayList<WageClassification> = ArrayList<WageClassification>()
    open var Source:String? = null
    open var IsTrustworthy:Boolean? = null
    open var ExecutiveOrderFloor:BigDecimal? = null
    open var PublishedDate:String? = null
    open var ProjectParish:String? = null
    open var Warnings:ArrayList<String> = ArrayList<String>()
}

open class WageClassification
{
    open var Title:String? = null
    open var BaseRate:BigDecimal? = null
    open var FringeRate:BigDecimal? = null
    open var ParishNote:String? = null
    open var SourceLine:String? = null
    open var BenchmarkFringeRate:BigDecimal? = null
    open var FringeCompareNote:String? = null
}

Kotlin RfpAddendaApplyRequest 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.

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

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

<RfpAddendaResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
  <Diffs>
    <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>
  </Diffs>
  <Message>String</Message>
  <Reflowed>false</Reflowed>
  <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>
  <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:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </Warnings>
      <WdNumber>String</WdNumber>
    </WageDeterminationResult>
  </WageDeterminations>
</RfpAddendaResponse>