| GET | /ETS/Forward-Options |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class ETSForwardOptions
{
public String QuoteId = null;
public Integer Quantity = null;
public Integer MonthNumber = null;
public String StartDate = null;
public String getQuoteId() { return QuoteId; }
public ETSForwardOptions setQuoteId(String value) { this.QuoteId = value; return this; }
public Integer getQuantity() { return Quantity; }
public ETSForwardOptions setQuantity(Integer value) { this.Quantity = value; return this; }
public Integer getMonthNumber() { return MonthNumber; }
public ETSForwardOptions setMonthNumber(Integer value) { this.MonthNumber = value; return this; }
public String getStartDate() { return StartDate; }
public ETSForwardOptions setStartDate(String value) { this.StartDate = value; return this; }
}
public static class ETSForwardOptionsViewModel
{
public UUID QuoteGuid = null;
public Integer Quantity = null;
public Integer MonthNumber = null;
public Date StartDate = null;
public String InvoicedBy = null;
public String SelectedDepositPercentage = null;
public String SelectedForwardOption = null;
public String ThirdPartyName = null;
public Date CurrentServerTime = null;
public Boolean IsBridgeClient = null;
public ETSQuoteViewModel ETSQuote = null;
public ArrayList<GetETSForwardDepositOptionsForEntityContactViewModel> GetETSForwardDepositOptionsForEntityContact = null;
public UUID getQuoteGuid() { return QuoteGuid; }
public ETSForwardOptionsViewModel setQuoteGuid(UUID value) { this.QuoteGuid = value; return this; }
public Integer getQuantity() { return Quantity; }
public ETSForwardOptionsViewModel setQuantity(Integer value) { this.Quantity = value; return this; }
public Integer getMonthNumber() { return MonthNumber; }
public ETSForwardOptionsViewModel setMonthNumber(Integer value) { this.MonthNumber = value; return this; }
public Date getStartDate() { return StartDate; }
public ETSForwardOptionsViewModel setStartDate(Date value) { this.StartDate = value; return this; }
public String getInvoicedBy() { return InvoicedBy; }
public ETSForwardOptionsViewModel setInvoicedBy(String value) { this.InvoicedBy = value; return this; }
public String getSelectedDepositPercentage() { return SelectedDepositPercentage; }
public ETSForwardOptionsViewModel setSelectedDepositPercentage(String value) { this.SelectedDepositPercentage = value; return this; }
public String getSelectedForwardOption() { return SelectedForwardOption; }
public ETSForwardOptionsViewModel setSelectedForwardOption(String value) { this.SelectedForwardOption = value; return this; }
public String getThirdPartyName() { return ThirdPartyName; }
public ETSForwardOptionsViewModel setThirdPartyName(String value) { this.ThirdPartyName = value; return this; }
public Date getCurrentServerTime() { return CurrentServerTime; }
public ETSForwardOptionsViewModel setCurrentServerTime(Date value) { this.CurrentServerTime = value; return this; }
public Boolean getIsBridgeClient() { return IsBridgeClient; }
public ETSForwardOptionsViewModel setIsBridgeClient(Boolean value) { this.IsBridgeClient = value; return this; }
public ETSQuoteViewModel getEtsQuote() { return ETSQuote; }
public ETSForwardOptionsViewModel setEtsQuote(ETSQuoteViewModel value) { this.ETSQuote = value; return this; }
public ArrayList<GetETSForwardDepositOptionsForEntityContactViewModel> getGetETSForwardDepositOptionsForEntityContact() { return GetETSForwardDepositOptionsForEntityContact; }
public ETSForwardOptionsViewModel setGetETSForwardDepositOptionsForEntityContact(ArrayList<GetETSForwardDepositOptionsForEntityContactViewModel> value) { this.GetETSForwardDepositOptionsForEntityContact = value; return this; }
}
public static class ETSQuoteViewModel
{
public Integer Id = null;
public UUID QuoteGuid = null;
public Date QuoteDateTime = null;
public Integer Quantity = null;
public Double GreyEpochPrice = null;
public Double GreyEpochFee = null;
public Double PayNowTotal = null;
public String ServiceFeeType = null;
public Double ServiceFee = null;
public String FinanceStatus = null;
public Double FinanceFee = null;
public Double FinanceTotal = null;
public String ServiceFeeDescription = null;
public Double FinancePercentage = null;
public Double ServiceFeeValue = null;
public String DeviceType = null;
public Integer getId() { return Id; }
public ETSQuoteViewModel setId(Integer value) { this.Id = value; return this; }
public UUID getQuoteGuid() { return QuoteGuid; }
public ETSQuoteViewModel setQuoteGuid(UUID value) { this.QuoteGuid = value; return this; }
public Date getQuoteDateTime() { return QuoteDateTime; }
public ETSQuoteViewModel setQuoteDateTime(Date value) { this.QuoteDateTime = value; return this; }
public Integer getQuantity() { return Quantity; }
public ETSQuoteViewModel setQuantity(Integer value) { this.Quantity = value; return this; }
public Double getGreyEpochPrice() { return GreyEpochPrice; }
public ETSQuoteViewModel setGreyEpochPrice(Double value) { this.GreyEpochPrice = value; return this; }
public Double getGreyEpochFee() { return GreyEpochFee; }
public ETSQuoteViewModel setGreyEpochFee(Double value) { this.GreyEpochFee = value; return this; }
public Double getPayNowTotal() { return PayNowTotal; }
public ETSQuoteViewModel setPayNowTotal(Double value) { this.PayNowTotal = value; return this; }
public String getServiceFeeType() { return ServiceFeeType; }
public ETSQuoteViewModel setServiceFeeType(String value) { this.ServiceFeeType = value; return this; }
public Double getServiceFee() { return ServiceFee; }
public ETSQuoteViewModel setServiceFee(Double value) { this.ServiceFee = value; return this; }
public String getFinanceStatus() { return FinanceStatus; }
public ETSQuoteViewModel setFinanceStatus(String value) { this.FinanceStatus = value; return this; }
public Double getFinanceFee() { return FinanceFee; }
public ETSQuoteViewModel setFinanceFee(Double value) { this.FinanceFee = value; return this; }
public Double getFinanceTotal() { return FinanceTotal; }
public ETSQuoteViewModel setFinanceTotal(Double value) { this.FinanceTotal = value; return this; }
public String getServiceFeeDescription() { return ServiceFeeDescription; }
public ETSQuoteViewModel setServiceFeeDescription(String value) { this.ServiceFeeDescription = value; return this; }
public Double getFinancePercentage() { return FinancePercentage; }
public ETSQuoteViewModel setFinancePercentage(Double value) { this.FinancePercentage = value; return this; }
public Double getServiceFeeValue() { return ServiceFeeValue; }
public ETSQuoteViewModel setServiceFeeValue(Double value) { this.ServiceFeeValue = value; return this; }
public String getDeviceType() { return DeviceType; }
public ETSQuoteViewModel setDeviceType(String value) { this.DeviceType = value; return this; }
}
public static class GetETSForwardDepositOptionsForEntityContactViewModel
{
public String InvoiceFrom = null;
public Double AllowanceCostEach = null;
public Boolean DepAvailable = null;
public Boolean CreditAvailable = null;
public Double MarkupPercentage = null;
public Double EUAPrice = null;
public Double OrderTotalValue = null;
public Double DepositPercentage = null;
public Double DepositTotalValue = null;
public Double MarginPercentageCovered = null;
public Double MarginCoveredTo = null;
public String ServiceFeeType = null;
public Double TotalServiceFee = null;
public Double DepositCashRequired = null;
public Double MarginCashRisk = null;
public Double TotalCashRisk = null;
public String DepositTitle = null;
public String HeaderBarText = null;
public String HeaderBarValue = null;
public String MoreDetailsString = null;
public Double PriceToBridge = null;
public Double BridgeDepositValue = null;
public Double ExternalFeePerTicket = null;
public Double OurCommission = null;
public Integer Sort = null;
public String ServiceFeeDescription = null;
public String ApiToUse = null;
public String AitherSettlementUUID = null;
public String getInvoiceFrom() { return InvoiceFrom; }
public GetETSForwardDepositOptionsForEntityContactViewModel setInvoiceFrom(String value) { this.InvoiceFrom = value; return this; }
public Double getAllowanceCostEach() { return AllowanceCostEach; }
public GetETSForwardDepositOptionsForEntityContactViewModel setAllowanceCostEach(Double value) { this.AllowanceCostEach = value; return this; }
public Boolean isDepAvailable() { return DepAvailable; }
public GetETSForwardDepositOptionsForEntityContactViewModel setDepAvailable(Boolean value) { this.DepAvailable = value; return this; }
public Boolean isCreditAvailable() { return CreditAvailable; }
public GetETSForwardDepositOptionsForEntityContactViewModel setCreditAvailable(Boolean value) { this.CreditAvailable = value; return this; }
public Double getMarkupPercentage() { return MarkupPercentage; }
public GetETSForwardDepositOptionsForEntityContactViewModel setMarkupPercentage(Double value) { this.MarkupPercentage = value; return this; }
public Double getEuaPrice() { return EUAPrice; }
public GetETSForwardDepositOptionsForEntityContactViewModel setEuaPrice(Double value) { this.EUAPrice = value; return this; }
public Double getOrderTotalValue() { return OrderTotalValue; }
public GetETSForwardDepositOptionsForEntityContactViewModel setOrderTotalValue(Double value) { this.OrderTotalValue = value; return this; }
public Double getDepositPercentage() { return DepositPercentage; }
public GetETSForwardDepositOptionsForEntityContactViewModel setDepositPercentage(Double value) { this.DepositPercentage = value; return this; }
public Double getDepositTotalValue() { return DepositTotalValue; }
public GetETSForwardDepositOptionsForEntityContactViewModel setDepositTotalValue(Double value) { this.DepositTotalValue = value; return this; }
public Double getMarginPercentageCovered() { return MarginPercentageCovered; }
public GetETSForwardDepositOptionsForEntityContactViewModel setMarginPercentageCovered(Double value) { this.MarginPercentageCovered = value; return this; }
public Double getMarginCoveredTo() { return MarginCoveredTo; }
public GetETSForwardDepositOptionsForEntityContactViewModel setMarginCoveredTo(Double value) { this.MarginCoveredTo = value; return this; }
public String getServiceFeeType() { return ServiceFeeType; }
public GetETSForwardDepositOptionsForEntityContactViewModel setServiceFeeType(String value) { this.ServiceFeeType = value; return this; }
public Double getTotalServiceFee() { return TotalServiceFee; }
public GetETSForwardDepositOptionsForEntityContactViewModel setTotalServiceFee(Double value) { this.TotalServiceFee = value; return this; }
public Double getDepositCashRequired() { return DepositCashRequired; }
public GetETSForwardDepositOptionsForEntityContactViewModel setDepositCashRequired(Double value) { this.DepositCashRequired = value; return this; }
public Double getMarginCashRisk() { return MarginCashRisk; }
public GetETSForwardDepositOptionsForEntityContactViewModel setMarginCashRisk(Double value) { this.MarginCashRisk = value; return this; }
public Double getTotalCashRisk() { return TotalCashRisk; }
public GetETSForwardDepositOptionsForEntityContactViewModel setTotalCashRisk(Double value) { this.TotalCashRisk = value; return this; }
public String getDepositTitle() { return DepositTitle; }
public GetETSForwardDepositOptionsForEntityContactViewModel setDepositTitle(String value) { this.DepositTitle = value; return this; }
public String getHeaderBarText() { return HeaderBarText; }
public GetETSForwardDepositOptionsForEntityContactViewModel setHeaderBarText(String value) { this.HeaderBarText = value; return this; }
public String getHeaderBarValue() { return HeaderBarValue; }
public GetETSForwardDepositOptionsForEntityContactViewModel setHeaderBarValue(String value) { this.HeaderBarValue = value; return this; }
public String getMoreDetailsString() { return MoreDetailsString; }
public GetETSForwardDepositOptionsForEntityContactViewModel setMoreDetailsString(String value) { this.MoreDetailsString = value; return this; }
public Double getPriceToBridge() { return PriceToBridge; }
public GetETSForwardDepositOptionsForEntityContactViewModel setPriceToBridge(Double value) { this.PriceToBridge = value; return this; }
public Double getBridgeDepositValue() { return BridgeDepositValue; }
public GetETSForwardDepositOptionsForEntityContactViewModel setBridgeDepositValue(Double value) { this.BridgeDepositValue = value; return this; }
public Double getExternalFeePerTicket() { return ExternalFeePerTicket; }
public GetETSForwardDepositOptionsForEntityContactViewModel setExternalFeePerTicket(Double value) { this.ExternalFeePerTicket = value; return this; }
public Double getOurCommission() { return OurCommission; }
public GetETSForwardDepositOptionsForEntityContactViewModel setOurCommission(Double value) { this.OurCommission = value; return this; }
public Integer getSort() { return Sort; }
public GetETSForwardDepositOptionsForEntityContactViewModel setSort(Integer value) { this.Sort = value; return this; }
public String getServiceFeeDescription() { return ServiceFeeDescription; }
public GetETSForwardDepositOptionsForEntityContactViewModel setServiceFeeDescription(String value) { this.ServiceFeeDescription = value; return this; }
public String getApiToUse() { return ApiToUse; }
public GetETSForwardDepositOptionsForEntityContactViewModel setApiToUse(String value) { this.ApiToUse = value; return this; }
public String getAitherSettlementUUID() { return AitherSettlementUUID; }
public GetETSForwardDepositOptionsForEntityContactViewModel setAitherSettlementUUID(String value) { this.AitherSettlementUUID = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
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/csv
HTTP/1.1 200 OK
Content-Type: text/csv
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"}]}