Bridge

<back to all web services

ETSForwardOptions

ETS
The following routes are available for this service:
GET/ETS/Forward-Options
import Foundation
import ServiceStack

public class ETSForwardOptions : Codable
{
    public var quoteId:String
    public var quantity:Int
    public var monthNumber:Int
    public var startDate:String

    required public init(){}
}

public class ETSForwardOptionsViewModel : Codable
{
    public var quoteGuid:String
    public var quantity:Int
    public var monthNumber:Int
    public var startDate:Date
    public var invoicedBy:String
    public var selectedDepositPercentage:String
    public var selectedForwardOption:String
    public var thirdPartyName:String
    public var currentServerTime:Date
    public var isBridgeClient:Bool
    public var etsQuote:ETSQuoteViewModel
    public var getETSForwardDepositOptionsForEntityContact:[GetETSForwardDepositOptionsForEntityContactViewModel] = []

    required public init(){}
}

public class ETSQuoteViewModel : Codable
{
    public var id:Int
    public var quoteGuid:String
    public var quoteDateTime:Date
    public var quantity:Int
    public var greyEpochPrice:Double
    public var greyEpochFee:Double
    public var payNowTotal:Double
    public var serviceFeeType:String
    public var serviceFee:Double
    public var financeStatus:String
    public var financeFee:Double
    public var financeTotal:Double
    public var serviceFeeDescription:String
    public var financePercentage:Double
    public var serviceFeeValue:Double
    public var deviceType:String

    required public init(){}
}

public class GetETSForwardDepositOptionsForEntityContactViewModel : Codable
{
    public var invoiceFrom:String
    public var allowanceCostEach:Double
    public var depAvailable:Bool
    public var creditAvailable:Bool
    public var markupPercentage:Double
    public var euaPrice:Double
    public var orderTotalValue:Double
    public var depositPercentage:Double
    public var depositTotalValue:Double
    public var marginPercentageCovered:Double
    public var marginCoveredTo:Double
    public var serviceFeeType:String
    public var totalServiceFee:Double
    public var depositCashRequired:Double
    public var marginCashRisk:Double
    public var totalCashRisk:Double
    public var depositTitle:String
    public var headerBarText:String
    public var headerBarValue:String
    public var moreDetailsString:String
    public var priceToBridge:Double
    public var bridgeDepositValue:Double
    public var externalFeePerTicket:Double
    public var ourCommission:Double
    public var sort:Int
    public var serviceFeeDescription:String
    public var apiToUse:String
    public var aitherSettlementUUID:String

    required public init(){}
}


Swift ETSForwardOptions DTOs

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

HTTP + OTHER

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: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
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"}]}