Trendsic Platform Service

<back to all web services

RfpBriefRequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
GET,OPTIONS/v1/Rfp/{RfpDocumentUID}/Brief
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using CRM.AgencyPlatform.API.Internal;

namespace CRM.AgencyPlatform.API.Internal
{
    public partial class RfpBidConstraint
    {
        public virtual string Constraint { get; set; }
        public virtual string Detail { get; set; }
    }

    public partial class RfpBrief
    {
        public virtual string ProjectTitle { get; set; }
        public virtual string SolicitationNumber { get; set; }
        public virtual string IssuingOrganization { get; set; }
        public virtual string ProjectType { get; set; }
        public virtual string Summary { get; set; }
        public virtual List<RfpLocation> Locations { get; set; } = [];
        public virtual RfpSchedule Schedule { get; set; }
        public virtual List<RfpLineItem> LineItems { get; set; } = [];
        public virtual List<RfpBidConstraint> BidConstraints { get; set; } = [];
        public virtual List<string> SpecialRequirements { get; set; } = [];
    }

    public partial class RfpBriefRequest
    {
        public virtual Guid RfpDocumentUID { get; set; }
    }

    public partial class RfpBriefResponse
    {
        public virtual ResponseStatus ResponseStatus { get; set; }
        public virtual int RfpDocumentID { get; set; }
        public virtual RfpBrief Brief { get; set; }
    }

    public partial class RfpLineItem
    {
        public virtual string ItemNumber { get; set; }
        public virtual string Description { get; set; }
        public virtual double? Quantity { get; set; }
        public virtual string Unit { get; set; }
        public virtual string Category { get; set; }
        public virtual string SourceReference { get; set; }
    }

    public partial class RfpLocation
    {
        public virtual string Description { get; set; }
        public virtual string City { get; set; }
        public virtual string State { get; set; }
        public virtual string Identifier { get; set; }
    }

    public partial class RfpSchedule
    {
        public virtual string BidDueDate { get; set; }
        public virtual string EstimatedStartDate { get; set; }
        public virtual string QuestionsDueDate { get; set; }
        public virtual int? ContractDurationDays { get; set; }
        public virtual string Notes { get; set; }
    }

}

C# RfpBriefRequest 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.

GET /v1/Rfp/{RfpDocumentUID}/Brief HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
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,
	Brief: 
	{
		ProjectTitle: String,
		SolicitationNumber: String,
		IssuingOrganization: String,
		ProjectType: String,
		Summary: String,
		Locations: 
		[
			{
				Description: String,
				City: String,
				State: String,
				Identifier: String
			}
		],
		Schedule: 
		{
			BidDueDate: String,
			EstimatedStartDate: String,
			QuestionsDueDate: String,
			ContractDurationDays: 0,
			Notes: String
		},
		LineItems: 
		[
			{
				ItemNumber: String,
				Description: String,
				Quantity: 0,
				Unit: String,
				Category: String,
				SourceReference: String
			}
		],
		BidConstraints: 
		[
			{
				Constraint: String,
				Detail: String
			}
		],
		SpecialRequirements: 
		[
			String
		]
	}
}