| GET | /ETS/Forward-Options |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class ETSForwardOptions
{
var QuoteId:String? = null
var Quantity:Int? = null
var MonthNumber:Int? = null
var StartDate:String? = null
}
open class ETSForwardOptionsViewModel
{
var QuoteGuid:UUID? = null
var Quantity:Int? = null
var MonthNumber:Int? = null
var StartDate:Date? = null
var InvoicedBy:String? = null
var SelectedDepositPercentage:String? = null
var SelectedForwardOption:String? = null
var ThirdPartyName:String? = null
var CurrentServerTime:Date? = null
var IsBridgeClient:Boolean? = null
var ETSQuote:ETSQuoteViewModel? = null
var GetETSForwardDepositOptionsForEntityContact:ArrayList<GetETSForwardDepositOptionsForEntityContactViewModel> = ArrayList<GetETSForwardDepositOptionsForEntityContactViewModel>()
}
open class ETSQuoteViewModel
{
var Id:Int? = null
var QuoteGuid:UUID? = null
var QuoteDateTime:Date? = null
var Quantity:Int? = null
var GreyEpochPrice:Double? = null
var GreyEpochFee:Double? = null
var PayNowTotal:Double? = null
var ServiceFeeType:String? = null
var ServiceFee:Double? = null
var FinanceStatus:String? = null
var FinanceFee:Double? = null
var FinanceTotal:Double? = null
var ServiceFeeDescription:String? = null
var FinancePercentage:Double? = null
var ServiceFeeValue:Double? = null
var DeviceType:String? = null
}
open class GetETSForwardDepositOptionsForEntityContactViewModel
{
var InvoiceFrom:String? = null
var AllowanceCostEach:Double? = null
var DepAvailable:Boolean? = null
var CreditAvailable:Boolean? = null
var MarkupPercentage:Double? = null
var EUAPrice:Double? = null
var OrderTotalValue:Double? = null
var DepositPercentage:Double? = null
var DepositTotalValue:Double? = null
var MarginPercentageCovered:Double? = null
var MarginCoveredTo:Double? = null
var ServiceFeeType:String? = null
var TotalServiceFee:Double? = null
var DepositCashRequired:Double? = null
var MarginCashRisk:Double? = null
var TotalCashRisk:Double? = null
var DepositTitle:String? = null
var HeaderBarText:String? = null
var HeaderBarValue:String? = null
var MoreDetailsString:String? = null
var PriceToBridge:Double? = null
var BridgeDepositValue:Double? = null
var ExternalFeePerTicket:Double? = null
var OurCommission:Double? = null
var Sort:Int? = null
var ServiceFeeDescription:String? = null
var ApiToUse:String? = null
var AitherSettlementUUID:String? = null
}
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 /ETS/Forward-Options HTTP/1.1 Host: internal.thebunkerbridge.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
QuoteGuid: 00000000000000000000000000000000,
Quantity: 0,
MonthNumber: 0,
StartDate: 0001-01-01,
InvoicedBy: String,
SelectedDepositPercentage: String,
SelectedForwardOption: String,
ThirdPartyName: String,
CurrentServerTime: 0001-01-01,
IsBridgeClient: False,
ETSQuote:
{
Id: 0,
QuoteGuid: 00000000000000000000000000000000,
QuoteDateTime: 0001-01-01,
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
}
]
}