Trendsic Platform Service

<back to all web services

RfpSchedulePreviewRequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
POST,OPTIONS/v1/Rfp/SchedulePreview
RfpSchedulePreviewRequest Parameters:
NameParameterData TypeRequiredDescription
ProposalbodyProjectProposalNo
ProjectProposal Parameters:
NameParameterData TypeRequiredDescription
RfpDocumentIDformintNo
ProjectNameformstringNo
ClientNameformstringNo
ProjectTypeformstringNo
ProjectLocationformstringNo
ScopeformstringNo
ProjectDescriptionformstringNo
ContractDurationDaysformint?No
BidDueDateformstringNo
EstimatedStartDateformDateTime?No
EstimatedEndDateformDateTime?No
TasksformList<ProposedTask>No
ProposedTask Parameters:
NameParameterData TypeRequiredDescription
SeqformintNo
NameformstringNo
CategoryformstringNo
Quantityformdouble?No
UnitformstringNo
SourceItemNumberformstringNo
SourceReferenceformstringNo
NotesformstringNo
ResourcingformTaskResourcingNo
DurationDaysformdouble?No
DependsOnformList<int>No
EstimatedStartDateformDateTime?No
EstimatedEndDateformDateTime?No
TaskResourcing Parameters:
NameParameterData TypeRequiredDescription
PositionsformList<ResourcedPosition>No
EquipmentformList<ResourcedEquipment>No
MaterialsformList<ResourcedMaterial>No
ResourcedPosition Parameters:
NameParameterData TypeRequiredDescription
PositionTagformstringNo
Hoursformdouble?No
Headcountformint?No
SourceReferenceformstringNo
NotesformstringNo
IsInCatalogformboolNo
ContactIDformint?No
ResourcedEquipment Parameters:
NameParameterData TypeRequiredDescription
EquipmentIDformintNo
EquipmentNameformstringNo
MakeModelformstringNo
Quantityformdouble?No
DurationDaysformdouble?No
SourceReferenceformstringNo
NotesformstringNo
IsInCatalogformboolNo
SuggestedEquipmentIDformintNo
SuggestedEquipmentNameformstringNo
ResourcedMaterial Parameters:
NameParameterData TypeRequiredDescription
MaterialIDformintNo
MaterialNameformstringNo
MakeModelformstringNo
Quantityformdouble?No
UnitformstringNo
SourceReferenceformstringNo
NotesformstringNo
IsInCatalogformboolNo
SuggestedMaterialIDformintNo
SuggestedMaterialNameformstringNo
RfpProposalResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
RfpDocumentIDformintNo
ProposalformProjectProposalNo
CrewPlanformList<CrewPlanLine>No
CrewPlanLine Parameters:
NameParameterData TypeRequiredDescription
PositionTagformstringNo
NeededformintNo
NaiveTotalformintNo
TaskAssignmentsformintNo

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

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /v1/Rfp/SchedulePreview HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"Proposal":{"RfpDocumentID":0,"ProjectName":"String","ClientName":"String","ProjectType":"String","ProjectLocation":"String","Scope":"String","ProjectDescription":"String","ContractDurationDays":0,"BidDueDate":"String","EstimatedStartDate":"0001-01-01T00:00:00.0000000","EstimatedEndDate":"0001-01-01T00:00:00.0000000","Tasks":[{"Seq":0,"Name":"String","Category":"String","Quantity":0,"Unit":"String","SourceItemNumber":"String","SourceReference":"String","Notes":"String","Resourcing":{"Positions":[{"PositionTag":"String","Hours":0,"Headcount":0,"SourceReference":"String","Notes":"String","IsInCatalog":false,"ContactID":0}],"Equipment":[{"EquipmentID":0,"EquipmentName":"String","MakeModel":"String","Quantity":0,"DurationDays":0,"SourceReference":"String","Notes":"String","IsInCatalog":false,"SuggestedEquipmentID":0,"SuggestedEquipmentName":"String"}],"Materials":[{"MaterialID":0,"MaterialName":"String","MakeModel":"String","Quantity":0,"Unit":"String","SourceReference":"String","Notes":"String","IsInCatalog":false,"SuggestedMaterialID":0,"SuggestedMaterialName":"String"}]},"DurationDays":0,"DependsOn":[0],"EstimatedStartDate":"0001-01-01T00:00:00.0000000","EstimatedEndDate":"0001-01-01T00:00:00.0000000"}]}}
HTTP/1.1 200 OK
Content-Type: text/csv
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,"Proposal":{"RfpDocumentID":0,"ProjectName":"String","ClientName":"String","ProjectType":"String","ProjectLocation":"String","Scope":"String","ProjectDescription":"String","ContractDurationDays":0,"BidDueDate":"String","EstimatedStartDate":"0001-01-01T00:00:00.0000000","EstimatedEndDate":"0001-01-01T00:00:00.0000000","Tasks":[{"Seq":0,"Name":"String","Category":"String","Quantity":0,"Unit":"String","SourceItemNumber":"String","SourceReference":"String","Notes":"String","Resourcing":{"Positions":[{"PositionTag":"String","Hours":0,"Headcount":0,"SourceReference":"String","Notes":"String","IsInCatalog":false,"ContactID":0}],"Equipment":[{"EquipmentID":0,"EquipmentName":"String","MakeModel":"String","Quantity":0,"DurationDays":0,"SourceReference":"String","Notes":"String","IsInCatalog":false,"SuggestedEquipmentID":0,"SuggestedEquipmentName":"String"}],"Materials":[{"MaterialID":0,"MaterialName":"String","MakeModel":"String","Quantity":0,"Unit":"String","SourceReference":"String","Notes":"String","IsInCatalog":false,"SuggestedMaterialID":0,"SuggestedMaterialName":"String"}]},"DurationDays":0,"DependsOn":[0],"EstimatedStartDate":"0001-01-01T00:00:00.0000000","EstimatedEndDate":"0001-01-01T00:00:00.0000000"}]},"CrewPlan":[{"PositionTag":"String","Needed":0,"NaiveTotal":0,"TaskAssignments":0}]}