Bridge

<back to all web services

ETSForwardOptions

ETS
The following routes are available for this service:
GET/ETS/Forward-Options
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Bridge.Private.Api.DTO
Imports Bridge.Core.ViewModels

Namespace Global

    Namespace Bridge.Core.ViewModels

        Public Partial Class ETSForwardOptionsViewModel
            Public Sub New()
                GetETSForwardDepositOptionsForEntityContact = New List(Of GetETSForwardDepositOptionsForEntityContactViewModel)
            End Sub

            Public Overridable Property QuoteGuid As Guid
            Public Overridable Property Quantity As Integer
            Public Overridable Property MonthNumber As Integer
            Public Overridable Property StartDate As Date
            Public Overridable Property InvoicedBy As String
            Public Overridable Property SelectedDepositPercentage As String
            Public Overridable Property SelectedForwardOption As String
            Public Overridable Property ThirdPartyName As String
            Public Overridable Property CurrentServerTime As Date
            Public Overridable Property IsBridgeClient As Boolean
            Public Overridable Property ETSQuote As ETSQuoteViewModel
            Public Overridable Property GetETSForwardDepositOptionsForEntityContact As List(Of GetETSForwardDepositOptionsForEntityContactViewModel)
        End Class

        Public Partial Class ETSQuoteViewModel
            Public Overridable Property Id As Integer
            Public Overridable Property QuoteGuid As Guid
            Public Overridable Property QuoteDateTime As Date
            Public Overridable Property Quantity As Integer
            Public Overridable Property GreyEpochPrice As Double
            Public Overridable Property GreyEpochFee As Double
            Public Overridable Property PayNowTotal As Double
            Public Overridable Property ServiceFeeType As String
            Public Overridable Property ServiceFee As Double
            Public Overridable Property FinanceStatus As String
            Public Overridable Property FinanceFee As Double
            Public Overridable Property FinanceTotal As Double
            Public Overridable Property ServiceFeeDescription As String
            Public Overridable Property FinancePercentage As Double
            Public Overridable Property ServiceFeeValue As Double
            Public Overridable Property DeviceType As String
        End Class

        Public Partial Class GetETSForwardDepositOptionsForEntityContactViewModel
            Public Overridable Property InvoiceFrom As String
            Public Overridable Property AllowanceCostEach As Double
            Public Overridable Property DepAvailable As Boolean
            Public Overridable Property CreditAvailable As Boolean
            Public Overridable Property MarkupPercentage As Double
            Public Overridable Property EUAPrice As Double
            Public Overridable Property OrderTotalValue As Double
            Public Overridable Property DepositPercentage As Double
            Public Overridable Property DepositTotalValue As Double
            Public Overridable Property MarginPercentageCovered As Double
            Public Overridable Property MarginCoveredTo As Double
            Public Overridable Property ServiceFeeType As String
            Public Overridable Property TotalServiceFee As Double
            Public Overridable Property DepositCashRequired As Double
            Public Overridable Property MarginCashRisk As Double
            Public Overridable Property TotalCashRisk As Double
            Public Overridable Property DepositTitle As String
            Public Overridable Property HeaderBarText As String
            Public Overridable Property HeaderBarValue As String
            Public Overridable Property MoreDetailsString As String
            Public Overridable Property PriceToBridge As Double
            Public Overridable Property BridgeDepositValue As Double
            Public Overridable Property ExternalFeePerTicket As Double
            Public Overridable Property OurCommission As Double
            Public Overridable Property Sort As Integer
            Public Overridable Property ServiceFeeDescription As String
            Public Overridable Property ApiToUse As String
            Public Overridable Property AitherSettlementUUID As String
        End Class
    End Namespace

    Namespace Bridge.Private.Api.DTO

        Public Partial Class ETSForwardOptions
            Public Overridable Property QuoteId As String
            Public Overridable Property Quantity As Integer
            Public Overridable Property MonthNumber As Integer
            Public Overridable Property StartDate As String
        End Class
    End Namespace
End Namespace

VB.NET ETSForwardOptions DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /ETS/Forward-Options HTTP/1.1 
Host: internal.thebunkerbridge.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"QuoteGuid":"00000000000000000000000000000000","Quantity":0,"MonthNumber":0,"StartDate":"0001-01-01T00:00:00.0000000","InvoicedBy":"String","SelectedDepositPercentage":"String","SelectedForwardOption":"String","ThirdPartyName":"String","CurrentServerTime":"0001-01-01T00:00:00.0000000","IsBridgeClient":false,"ETSQuote":{"Id":0,"QuoteGuid":"00000000000000000000000000000000","QuoteDateTime":"0001-01-01T00:00:00.0000000","Quantity":0,"GreyEpochPrice":0,"GreyEpochFee":0,"PayNowTotal":0,"ServiceFeeType":"String","ServiceFee":0,"FinanceStatus":"String","FinanceFee":0,"FinanceTotal":0,"ServiceFeeDescription":"String","FinancePercentage":0,"ServiceFeeValue":0,"DeviceType":"String"},"GetETSForwardDepositOptionsForEntityContact":[{"InvoiceFrom":"String","AllowanceCostEach":0,"DepAvailable":false,"CreditAvailable":false,"MarkupPercentage":0,"EUAPrice":0,"OrderTotalValue":0,"DepositPercentage":0,"DepositTotalValue":0,"MarginPercentageCovered":0,"MarginCoveredTo":0,"ServiceFeeType":"String","TotalServiceFee":0,"DepositCashRequired":0,"MarginCashRisk":0,"TotalCashRisk":0,"DepositTitle":"String","HeaderBarText":"String","HeaderBarValue":"String","MoreDetailsString":"String","PriceToBridge":0,"BridgeDepositValue":0,"ExternalFeePerTicket":0,"OurCommission":0,"Sort":0,"ServiceFeeDescription":"String","ApiToUse":"String","AitherSettlementUUID":"String"}]}