| GET | /ETS/Calculator-Calculate |
|---|
namespace Bridge.Core.ViewModels
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type ETSCalculatorCalculate() =
member val AllowancesRequired:Nullable<Int32> = new Nullable<Int32>() with get,set
member val ProductId:Nullable<Int32> = new Nullable<Int32>() with get,set
member val VoyageFuelBurn:Nullable<Decimal> = new Nullable<Decimal>() with get,set
member val BothEU:Boolean = new Boolean() with get,set
[<AllowNullLiteral>]
type GetETSCalculationViewModel() =
member val AllowancesRequired:Int32 = new Int32() with get,set
member val FormulaExplanation:String = null with get,set
F# ETSCalculatorCalculate 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 /ETS/Calculator-Calculate HTTP/1.1 Host: internal.thebunkerbridge.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"AllowancesRequired":0,"FormulaExplanation":"String"}