| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/Rfp/{RfpDocumentUID}/Estimate/Assemblies |
|---|
namespace CRM.AgencyPlatform.API.Internal
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type AppliedAssembly() =
member val TaskSeq:Int32 = new Int32() with get,set
member val TemplateUID:Nullable<Guid> = new Nullable<Guid>() with get,set
member val TemplateName:String = null with get,set
member val AppliedBy:String = null with get,set
member val AppliedAt:Nullable<DateTime> = new Nullable<DateTime>() with get,set
[<AllowNullLiteral>]
type AssemblyOption() =
member val TemplateUID:Guid = new Guid() with get,set
member val Name:String = null with get,set
member val Unit:String = null with get,set
member val Pack:String = null with get,set
member val IsGlobal:Boolean = new Boolean() with get,set
member val Summary:String = null with get,set
[<AllowNullLiteral>]
type EstimateAssembliesResponse() =
member val ResponseStatus:ResponseStatus = null with get,set
member val Applied:ResizeArray<AppliedAssembly> = new ResizeArray<AppliedAssembly>() with get,set
member val Available:ResizeArray<AssemblyOption> = new ResizeArray<AssemblyOption>() with get,set
[<AllowNullLiteral>]
type EstimateAssembliesRequest() =
member val RfpDocumentUID:Guid = new Guid() with get,set
F# EstimateAssembliesRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/Rfp/{RfpDocumentUID}/Estimate/Assemblies 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
}
},
Applied:
[
{
TaskSeq: 0,
TemplateUID: 00000000000000000000000000000000,
TemplateName: String,
AppliedBy: String,
AppliedAt: 0001-01-01
}
],
Available:
[
{
TemplateUID: 00000000000000000000000000000000,
Name: String,
Unit: String,
Pack: String,
IsGlobal: False,
Summary: String
}
]
}