| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/Rfp/{RfpDocumentUID}/Estimate/Revisions |
|---|
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 EstimateRevision
Public Overridable Property EstimateRevisionID As Integer
Public Overridable Property RfpDocumentID As Integer
Public Overridable Property RevisionNo As Integer
Public Overridable Property Label As String
Public Overridable Property Reason As String
Public Overridable Property Trigger As String
Public Overridable Property TotalAmount As Decimal
Public Overridable Property LineCount As Integer
Public Overridable Property CreatedBy As String
Public Overridable Property CreatedAt As Date?
Public Overridable Property SnapshotJson As String
End Class
Public Partial Class EstimateRevisionListRequest
Public Overridable Property RfpDocumentUID As Guid
End Class
Public Partial Class EstimateRevisionListResponse
Public Overridable Property ResponseStatus As ResponseStatus
Public Overridable Property Revisions As List(Of EstimateRevision) = New List(Of EstimateRevision)
Public Overridable Property RevisionNo As Integer
End Class
End Namespace
End Namespace
VB.NET EstimateRevisionListRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/Rfp/{RfpDocumentUID}/Estimate/Revisions HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Revisions":[{"EstimateRevisionID":0,"RfpDocumentID":0,"RevisionNo":0,"Label":"String","Reason":"String","Trigger":"String","TotalAmount":0,"LineCount":0,"CreatedBy":"String","CreatedAt":"0001-01-01T00:00:00.0000000","SnapshotJson":"String"}],"RevisionNo":0}