| Requires any of the roles: | Agent, Administrator |
| POST,OPTIONS | /v1/Rfp/{RfpDocumentUID}/Addenda/{ChangeId}/Apply |
|---|
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 RfpAddendaApplyRequest
Public Overridable Property RfpDocumentUID As Guid
Public Overridable Property ChangeId As String
End Class
Public Partial Class RfpAddendaResponse
Public Overridable Property ResponseStatus As ResponseStatus
Public Overridable Property RfpDocumentID As Integer
Public Overridable Property Diffs As List(Of AddendaChangeSet) = New List(Of AddendaChangeSet)
Public Overridable Property WageDeterminations As List(Of WageDeterminationResult) = New List(Of WageDeterminationResult)
Public Overridable Property Message As String
Public Overridable Property Reflowed As Boolean
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
End Namespace
End Namespace
VB.NET RfpAddendaApplyRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
RfpDocumentUID: 00000000000000000000000000000000,
ChangeId: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
RfpDocumentID: 0,
Diffs:
[
{
ChangeSetId: String,
SourceRfpDocumentID: 0,
SourceFileName: String,
DocumentType: String,
ExtractedAtUtc: 0001-01-01,
Summary: String,
Changes:
[
{
ChangeId: String,
ChangeType: String,
TargetSeq: 0,
ItemNumber: String,
ItemName: String,
Field: String,
OldValue: String,
NewValue: String,
Description: String,
Status: String
}
]
}
],
WageDeterminations:
[
{
SourceRfpDocumentID: 0,
SourceFileName: String,
WdNumber: String,
ExtractedAtUtc: 0001-01-01,
Classifications:
[
{
Title: String,
BaseRate: 0,
FringeRate: 0,
ParishNote: String,
SourceLine: String,
BenchmarkFringeRate: 0,
FringeCompareNote: String
}
],
Source: String,
IsTrustworthy: False,
ExecutiveOrderFloor: 0,
PublishedDate: String,
ProjectParish: String,
Warnings:
[
String
]
}
],
Message: String,
Reflowed: False
}