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.*;

public class dtos
{

    public static class RfpAddendaApplyRequest
    {
        public UUID RfpDocumentUID = null;
        public String ChangeId = null;
        
        public UUID getRfpDocumentUID() { return RfpDocumentUID; }
        public RfpAddendaApplyRequest setRfpDocumentUID(UUID value) { this.RfpDocumentUID = value; return this; }
        public String getChangeId() { return ChangeId; }
        public RfpAddendaApplyRequest setChangeId(String value) { this.ChangeId = value; return this; }
    }

    public static class RfpAddendaResponse
    {
        public ResponseStatus ResponseStatus = null;
        public Integer RfpDocumentID = null;
        public ArrayList<AddendaChangeSet> Diffs = new ArrayList<AddendaChangeSet>();
        public ArrayList<WageDeterminationResult> WageDeterminations = new ArrayList<WageDeterminationResult>();
        public String Message = null;
        public Boolean Reflowed = null;
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public RfpAddendaResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public Integer getRfpDocumentID() { return RfpDocumentID; }
        public RfpAddendaResponse setRfpDocumentID(Integer value) { this.RfpDocumentID = value; return this; }
        public ArrayList<AddendaChangeSet> getDiffs() { return Diffs; }
        public RfpAddendaResponse setDiffs(ArrayList<AddendaChangeSet> value) { this.Diffs = value; return this; }
        public ArrayList<WageDeterminationResult> getWageDeterminations() { return WageDeterminations; }
        public RfpAddendaResponse setWageDeterminations(ArrayList<WageDeterminationResult> value) { this.WageDeterminations = value; return this; }
        public String getMessage() { return Message; }
        public RfpAddendaResponse setMessage(String value) { this.Message = value; return this; }
        public Boolean isReflowed() { return Reflowed; }
        public RfpAddendaResponse setReflowed(Boolean value) { this.Reflowed = value; return this; }
    }

    public static class AddendaChangeSet
    {
        public String ChangeSetId = null;
        public Integer SourceRfpDocumentID = null;
        public String SourceFileName = null;
        public String DocumentType = null;
        public Date ExtractedAtUtc = null;
        public String Summary = null;
        public ArrayList<AddendaChange> Changes = new ArrayList<AddendaChange>();
        
        public String getChangeSetId() { return ChangeSetId; }
        public AddendaChangeSet setChangeSetId(String value) { this.ChangeSetId = value; return this; }
        public Integer getSourceRfpDocumentID() { return SourceRfpDocumentID; }
        public AddendaChangeSet setSourceRfpDocumentID(Integer value) { this.SourceRfpDocumentID = value; return this; }
        public String getSourceFileName() { return SourceFileName; }
        public AddendaChangeSet setSourceFileName(String value) { this.SourceFileName = value; return this; }
        public String getDocumentType() { return DocumentType; }
        public AddendaChangeSet setDocumentType(String value) { this.DocumentType = value; return this; }
        public Date getExtractedAtUtc() { return ExtractedAtUtc; }
        public AddendaChangeSet setExtractedAtUtc(Date value) { this.ExtractedAtUtc = value; return this; }
        public String getSummary() { return Summary; }
        public AddendaChangeSet setSummary(String value) { this.Summary = value; return this; }
        public ArrayList<AddendaChange> getChanges() { return Changes; }
        public AddendaChangeSet setChanges(ArrayList<AddendaChange> value) { this.Changes = value; return this; }
    }

    public static class AddendaChange
    {
        public String ChangeId = null;
        public String ChangeType = null;
        public Integer TargetSeq = null;
        public String ItemNumber = null;
        public String ItemName = null;
        public String Field = null;
        public String OldValue = null;
        public String NewValue = null;
        public String Description = null;
        public String Status = null;
        
        public String getChangeId() { return ChangeId; }
        public AddendaChange setChangeId(String value) { this.ChangeId = value; return this; }
        public String getChangeType() { return ChangeType; }
        public AddendaChange setChangeType(String value) { this.ChangeType = value; return this; }
        public Integer getTargetSeq() { return TargetSeq; }
        public AddendaChange setTargetSeq(Integer value) { this.TargetSeq = value; return this; }
        public String getItemNumber() { return ItemNumber; }
        public AddendaChange setItemNumber(String value) { this.ItemNumber = value; return this; }
        public String getItemName() { return ItemName; }
        public AddendaChange setItemName(String value) { this.ItemName = value; return this; }
        public String getField() { return Field; }
        public AddendaChange setField(String value) { this.Field = value; return this; }
        public String getOldValue() { return OldValue; }
        public AddendaChange setOldValue(String value) { this.OldValue = value; return this; }
        public String getNewValue() { return NewValue; }
        public AddendaChange setNewValue(String value) { this.NewValue = value; return this; }
        public String getDescription() { return Description; }
        public AddendaChange setDescription(String value) { this.Description = value; return this; }
        public String getStatus() { return Status; }
        public AddendaChange setStatus(String value) { this.Status = value; return this; }
    }

    public static class WageDeterminationResult
    {
        public Integer SourceRfpDocumentID = null;
        public String SourceFileName = null;
        public String WdNumber = null;
        public Date ExtractedAtUtc = null;
        public ArrayList<WageClassification> Classifications = new ArrayList<WageClassification>();
        public String Source = null;
        public Boolean IsTrustworthy = null;
        public BigDecimal ExecutiveOrderFloor = null;
        public String PublishedDate = null;
        public String ProjectParish = null;
        public ArrayList<String> Warnings = new ArrayList<String>();
        
        public Integer getSourceRfpDocumentID() { return SourceRfpDocumentID; }
        public WageDeterminationResult setSourceRfpDocumentID(Integer value) { this.SourceRfpDocumentID = value; return this; }
        public String getSourceFileName() { return SourceFileName; }
        public WageDeterminationResult setSourceFileName(String value) { this.SourceFileName = value; return this; }
        public String getWdNumber() { return WdNumber; }
        public WageDeterminationResult setWdNumber(String value) { this.WdNumber = value; return this; }
        public Date getExtractedAtUtc() { return ExtractedAtUtc; }
        public WageDeterminationResult setExtractedAtUtc(Date value) { this.ExtractedAtUtc = value; return this; }
        public ArrayList<WageClassification> getClassifications() { return Classifications; }
        public WageDeterminationResult setClassifications(ArrayList<WageClassification> value) { this.Classifications = value; return this; }
        public String getSource() { return Source; }
        public WageDeterminationResult setSource(String value) { this.Source = value; return this; }
        public Boolean getIsTrustworthy() { return IsTrustworthy; }
        public WageDeterminationResult setIsTrustworthy(Boolean value) { this.IsTrustworthy = value; return this; }
        public BigDecimal getExecutiveOrderFloor() { return ExecutiveOrderFloor; }
        public WageDeterminationResult setExecutiveOrderFloor(BigDecimal value) { this.ExecutiveOrderFloor = value; return this; }
        public String getPublishedDate() { return PublishedDate; }
        public WageDeterminationResult setPublishedDate(String value) { this.PublishedDate = value; return this; }
        public String getProjectParish() { return ProjectParish; }
        public WageDeterminationResult setProjectParish(String value) { this.ProjectParish = value; return this; }
        public ArrayList<String> getWarnings() { return Warnings; }
        public WageDeterminationResult setWarnings(ArrayList<String> value) { this.Warnings = value; return this; }
    }

    public static class WageClassification
    {
        public String Title = null;
        public BigDecimal BaseRate = null;
        public BigDecimal FringeRate = null;
        public String ParishNote = null;
        public String SourceLine = null;
        public BigDecimal BenchmarkFringeRate = null;
        public String FringeCompareNote = null;
        
        public String getTitle() { return Title; }
        public WageClassification setTitle(String value) { this.Title = value; return this; }
        public BigDecimal getBaseRate() { return BaseRate; }
        public WageClassification setBaseRate(BigDecimal value) { this.BaseRate = value; return this; }
        public BigDecimal getFringeRate() { return FringeRate; }
        public WageClassification setFringeRate(BigDecimal value) { this.FringeRate = value; return this; }
        public String getParishNote() { return ParishNote; }
        public WageClassification setParishNote(String value) { this.ParishNote = value; return this; }
        public String getSourceLine() { return SourceLine; }
        public WageClassification setSourceLine(String value) { this.SourceLine = value; return this; }
        public BigDecimal getBenchmarkFringeRate() { return BenchmarkFringeRate; }
        public WageClassification setBenchmarkFringeRate(BigDecimal value) { this.BenchmarkFringeRate = value; return this; }
        public String getFringeCompareNote() { return FringeCompareNote; }
        public WageClassification setFringeCompareNote(String value) { this.FringeCompareNote = value; return this; }
    }

}

Java RfpAddendaApplyRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + 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
}