Trendsic Platform Service

<back to all web services

ApplyAssemblyRequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
POST,OPTIONS/v1/Rfp/{RfpDocumentUID}/Estimate/Jobs/{TaskSeq}/assembly
ApplyAssemblyRequest Parameters:
NameParameterData TypeRequiredDescription
RfpDocumentUIDpathGuidNo
TaskSeqpathintNo
TemplateUIDbodyGuidNo
ApplyAssemblyResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
TaskSeqformintNo
TemplateUIDformGuid?No
TemplateNameformstringNo
QuantityformdecimalNo
UnitformstringNo
ResourcingformTaskResourcingNo
JobformEstimateJobResultNo
HeadlineformstringNo
TaskResourcing Parameters:
NameParameterData TypeRequiredDescription
PositionsformList<ResourcedPosition>No
EquipmentformList<ResourcedEquipment>No
MaterialsformList<ResourcedMaterial>No
ResourcedForQuantityformdouble?No
ProductionRatePerDayformdouble?No
FixedDaysformdouble?No
ResourcedPosition Parameters:
NameParameterData TypeRequiredDescription
PositionTagformstringNo
Hoursformdouble?No
CrewSizeformdouble?No
Utilizationformdouble?No
FixedDaysformdouble?No
Headcountformint?No
SourceReferenceformstringNo
NotesformstringNo
IsInCatalogformboolNo
ContactIDformint?No
ResourcedEquipment Parameters:
NameParameterData TypeRequiredDescription
EquipmentIDformintNo
EquipmentNameformstringNo
MakeModelformstringNo
Quantityformdouble?No
DurationDaysformdouble?No
Utilizationformdouble?No
FixedDaysformdouble?No
SourceReferenceformstringNo
NotesformstringNo
IsInCatalogformboolNo
SuggestedEquipmentIDformintNo
SuggestedEquipmentNameformstringNo
ResourcedMaterial Parameters:
NameParameterData TypeRequiredDescription
MaterialIDformintNo
MaterialNameformstringNo
MakeModelformstringNo
Quantityformdouble?No
QuantityPerUnitformdouble?No
UnitformstringNo
SourceReferenceformstringNo
NotesformstringNo
IsInCatalogformboolNo
SuggestedMaterialIDformintNo
SuggestedMaterialNameformstringNo
EstimateJobResult Parameters:
NameParameterData TypeRequiredDescription
SeqformintNo
DependsOnformList<int>No
ItemNoformstringNo
NameformstringNo
CategoryformstringNo
SourceRefformstringNo
UnitformstringNo
QuantityformdecimalNo
PatternCodeformstringNo
WorkdaysformintNo
HoursPerDayformdecimalNo
IsNightformboolNo
WeeklyHoursformdecimalNo
OtFractionformdecimalNo
DaysformdecimalNo
EffectiveProdPerDayformdecimal?No
CrewPremiumAppliedformboolNo
WorkPackageformWorkPackageViewNo
CrewformList<EstimateCrewLineResult>No
EquipmentformList<EstimateEquipmentLineResult>No
MaterialsformList<EstimateMaterialLineResult>No
SubcontractsformList<EstimateSubcontractLine>No
CrewCostformdecimalNo
FringeCostformdecimalNo
EquipmentCostformdecimalNo
MaterialCostformdecimalNo
SubcontractCostformdecimalNo
DirectformdecimalNo
PricingBasisformstringNo
PricingRuleIdformstringNo
PricingBandP25formdecimal?No
PricingBandP75formdecimal?No
PricingBandNformint?No
PricingBandLabelformstringNo
BenchmarkUnitPriceformdecimal?No
BenchmarkRateMinformdecimal?No
BenchmarkRateMaxformdecimal?No
BenchmarkSampleSizeformint?No
BenchmarkP25formdecimal?No
BenchmarkP75formdecimal?No
BenchmarkBasisformstringNo
UnitPriceOverrideformdecimal?No
OverrideBasisformstringNo
ReferencePriceformdecimal?No
ReferenceRangeMinformdecimal?No
ReferenceRangeMaxformdecimal?No
ReferenceNformint?No
ReferenceDateformDateTime?No
ReferenceBasisformstringNo
ReferenceUrlformstringNo
WorkPackageView Parameters:
NameParameterData TypeRequiredDescription
HasPackageformboolNo
ScopeformstringNo
LimitsOfWorkformstringNo
SpecRefsformList<SpecRefView>No
ConstraintsformList<string>No
HoldPointsformList<string>No
DodformList<DodItemView>No
SafetyNoteformstringNo
ProvenanceformstringNo
SpecBookformstringNo
UserEditedformboolNo
RedraftNoteformstringNo
SpecRefView Parameters:
NameParameterData TypeRequiredDescription
SectionformstringNo
TitleformstringNo
UrlformstringNo
DodItemView Parameters:
NameParameterData TypeRequiredDescription
KeyformstringNo
TextformstringNo
CheckedformboolNo
SourceformstringNo
EstimateCrewLineResult Parameters:
NameParameterData TypeRequiredDescription
RoleformstringNo
HoursformdecimalNo
StHoursformdecimalNo
OtHoursformdecimalNo
RropformdecimalNo
StCostformdecimalNo
OtCostformdecimalNo
CostformdecimalNo
FringeCostformdecimalNo
PremiumAppliedformboolNo
HasOtformboolNo
NeedsRateformboolNo
EstimateEquipmentLineResult Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
QuantityformdecimalNo
Rateformdecimal?No
NeedsRateformboolNo
MobCostformdecimalNo
CostformdecimalNo
IsAvailabilityTrackedformboolNo
IsOwnedformboolNo
AvailabilityLabelformstringNo
FreedFromProjectformstringNo
AvailableFromformDateTime?No
RateKeyformstringNo
RentalExplainformstringNo
UsageDaysformdecimalNo
BilledDaysformdecimalNo
EstimateMaterialLineResult Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
QuantityformdecimalNo
UnitformstringNo
Rateformdecimal?No
NeedsRateformboolNo
CostformdecimalNo
RateKeyformstringNo
EstimateSubcontractLine Parameters:
NameParameterData TypeRequiredDescription
VendorformstringNo
AmountformdecimalNo
ScopeformstringNo

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}/Estimate/Jobs/{TaskSeq}/assembly HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	RfpDocumentUID: 00000000000000000000000000000000,
	TaskSeq: 0,
	TemplateUID: 00000000000000000000000000000000
}
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
		}
	},
	TaskSeq: 0,
	TemplateUID: 00000000000000000000000000000000,
	TemplateName: String,
	Quantity: 0,
	Unit: String,
	Resourcing: 
	{
		Positions: 
		[
			{
				PositionTag: String,
				Hours: 0,
				CrewSize: 0,
				Utilization: 0,
				FixedDays: 0,
				Headcount: 0,
				SourceReference: String,
				Notes: String,
				IsInCatalog: False,
				ContactID: 0
			}
		],
		Equipment: 
		[
			{
				EquipmentID: 0,
				EquipmentName: String,
				MakeModel: String,
				Quantity: 0,
				DurationDays: 0,
				Utilization: 0,
				FixedDays: 0,
				SourceReference: String,
				Notes: String,
				IsInCatalog: False,
				SuggestedEquipmentID: 0,
				SuggestedEquipmentName: String
			}
		],
		Materials: 
		[
			{
				MaterialID: 0,
				MaterialName: String,
				MakeModel: String,
				Quantity: 0,
				QuantityPerUnit: 0,
				Unit: String,
				SourceReference: String,
				Notes: String,
				IsInCatalog: False,
				SuggestedMaterialID: 0,
				SuggestedMaterialName: String
			}
		],
		ResourcedForQuantity: 0,
		ProductionRatePerDay: 0,
		FixedDays: 0
	},
	Job: 
	{
		Seq: 0,
		DependsOn: 
		[
			0
		],
		ItemNo: String,
		Name: String,
		Category: String,
		SourceRef: String,
		Unit: String,
		Quantity: 0,
		PatternCode: String,
		Workdays: 0,
		HoursPerDay: 0,
		IsNight: False,
		WeeklyHours: 0,
		OtFraction: 0,
		Days: 0,
		EffectiveProdPerDay: 0,
		CrewPremiumApplied: False,
		WorkPackage: 
		{
			HasPackage: False,
			Scope: String,
			LimitsOfWork: String,
			SpecRefs: 
			[
				{
					Section: String,
					Title: String,
					Url: String
				}
			],
			Constraints: 
			[
				String
			],
			HoldPoints: 
			[
				String
			],
			Dod: 
			[
				{
					Key: String,
					Text: String,
					Checked: False,
					Source: String
				}
			],
			SafetyNote: String,
			Provenance: String,
			SpecBook: String,
			UserEdited: False,
			RedraftNote: String
		},
		Crew: 
		[
			{
				Role: String,
				Hours: 0,
				StHours: 0,
				OtHours: 0,
				Rrop: 0,
				StCost: 0,
				OtCost: 0,
				Cost: 0,
				FringeCost: 0,
				PremiumApplied: False,
				HasOt: False,
				NeedsRate: False
			}
		],
		Equipment: 
		[
			{
				Name: String,
				Quantity: 0,
				Rate: 0,
				NeedsRate: False,
				MobCost: 0,
				Cost: 0,
				IsAvailabilityTracked: False,
				IsOwned: False,
				AvailabilityLabel: String,
				FreedFromProject: String,
				AvailableFrom: 0001-01-01,
				RateKey: String,
				RentalExplain: String,
				UsageDays: 0,
				BilledDays: 0
			}
		],
		Materials: 
		[
			{
				Name: String,
				Quantity: 0,
				Unit: String,
				Rate: 0,
				NeedsRate: False,
				Cost: 0,
				RateKey: String
			}
		],
		Subcontracts: 
		[
			{
				Vendor: String,
				Amount: 0,
				Scope: String
			}
		],
		CrewCost: 0,
		FringeCost: 0,
		EquipmentCost: 0,
		MaterialCost: 0,
		SubcontractCost: 0,
		Direct: 0,
		PricingBasis: String,
		PricingRuleId: String,
		PricingBandP25: 0,
		PricingBandP75: 0,
		PricingBandN: 0,
		PricingBandLabel: String,
		BenchmarkUnitPrice: 0,
		BenchmarkRateMin: 0,
		BenchmarkRateMax: 0,
		BenchmarkSampleSize: 0,
		BenchmarkP25: 0,
		BenchmarkP75: 0,
		BenchmarkBasis: String,
		UnitPriceOverride: 0,
		OverrideBasis: String,
		ReferencePrice: 0,
		ReferenceRangeMin: 0,
		ReferenceRangeMax: 0,
		ReferenceN: 0,
		ReferenceDate: 0001-01-01,
		ReferenceBasis: String,
		ReferenceUrl: String
	},
	Headline: String
}