| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/Rfp/{RfpDocumentUID}/Brief |
|---|
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 RfpBidConstraint
Public Overridable Property Constraint As String
Public Overridable Property Detail As String
End Class
Public Partial Class RfpBrief
Public Overridable Property ProjectTitle As String
Public Overridable Property SolicitationNumber As String
Public Overridable Property IssuingOrganization As String
Public Overridable Property ProjectType As String
Public Overridable Property Summary As String
Public Overridable Property Locations As List(Of RfpLocation) = New List(Of RfpLocation)
Public Overridable Property Schedule As RfpSchedule
Public Overridable Property LineItems As List(Of RfpLineItem) = New List(Of RfpLineItem)
Public Overridable Property BidConstraints As List(Of RfpBidConstraint) = New List(Of RfpBidConstraint)
Public Overridable Property SpecialRequirements As List(Of String) = New List(Of String)
End Class
Public Partial Class RfpBriefRequest
Public Overridable Property RfpDocumentUID As Guid
End Class
Public Partial Class RfpBriefResponse
Public Overridable Property ResponseStatus As ResponseStatus
Public Overridable Property RfpDocumentID As Integer
Public Overridable Property Brief As RfpBrief
End Class
Public Partial Class RfpLineItem
Public Overridable Property ItemNumber As String
Public Overridable Property Description As String
Public Overridable Property Quantity As Double?
Public Overridable Property Unit As String
Public Overridable Property Category As String
Public Overridable Property SourceReference As String
End Class
Public Partial Class RfpLocation
Public Overridable Property Description As String
Public Overridable Property City As String
Public Overridable Property State As String
Public Overridable Property Identifier As String
End Class
Public Partial Class RfpSchedule
Public Overridable Property BidDueDate As String
Public Overridable Property EstimatedStartDate As String
Public Overridable Property QuestionsDueDate As String
Public Overridable Property ContractDurationDays As Integer?
Public Overridable Property Notes As String
End Class
End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
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: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<RfpBriefResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
<Brief>
<BidConstraints>
<RfpBidConstraint>
<Constraint>String</Constraint>
<Detail>String</Detail>
</RfpBidConstraint>
</BidConstraints>
<IssuingOrganization>String</IssuingOrganization>
<LineItems>
<RfpLineItem>
<Category>String</Category>
<Description>String</Description>
<ItemNumber>String</ItemNumber>
<Quantity>0</Quantity>
<SourceReference>String</SourceReference>
<Unit>String</Unit>
</RfpLineItem>
</LineItems>
<Locations>
<RfpLocation>
<City>String</City>
<Description>String</Description>
<Identifier>String</Identifier>
<State>String</State>
</RfpLocation>
</Locations>
<ProjectTitle>String</ProjectTitle>
<ProjectType>String</ProjectType>
<Schedule>
<BidDueDate>String</BidDueDate>
<ContractDurationDays>0</ContractDurationDays>
<EstimatedStartDate>String</EstimatedStartDate>
<Notes>String</Notes>
<QuestionsDueDate>String</QuestionsDueDate>
</Schedule>
<SolicitationNumber>String</SolicitationNumber>
<SpecialRequirements xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</SpecialRequirements>
<Summary>String</Summary>
</Brief>
<ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:Message>String</d2p1:Message>
<d2p1:StackTrace>String</d2p1:StackTrace>
<d2p1:Errors>
<d2p1:ResponseError>
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:Message>String</d2p1:Message>
<d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringstring>
<d5p1:Key>String</d5p1:Key>
<d5p1:Value>String</d5p1:Value>
</d5p1:KeyValueOfstringstring>
</d2p1:Meta>
</d2p1:ResponseError>
</d2p1:Errors>
<d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringstring>
<d3p1:Key>String</d3p1:Key>
<d3p1:Value>String</d3p1:Value>
</d3p1:KeyValueOfstringstring>
</d2p1:Meta>
</ResponseStatus>
<RfpDocumentID>0</RfpDocumentID>
</RfpBriefResponse>