| GET | /ETS/Forward-Options |
|---|
export class ETSForwardOptions
{
public QuoteId: string;
public Quantity: number;
public MonthNumber: number;
public StartDate: string;
public constructor(init?: Partial<ETSForwardOptions>) { (Object as any).assign(this, init); }
}
export class ETSQuoteViewModel
{
public Id: number;
public QuoteGuid: string;
public QuoteDateTime: string;
public Quantity: number;
public GreyEpochPrice: number;
public GreyEpochFee: number;
public PayNowTotal: number;
public ServiceFeeType: string;
public ServiceFee: number;
public FinanceStatus: string;
public FinanceFee: number;
public FinanceTotal: number;
public ServiceFeeDescription: string;
public FinancePercentage: number;
public ServiceFeeValue: number;
public DeviceType: string;
public constructor(init?: Partial<ETSQuoteViewModel>) { (Object as any).assign(this, init); }
}
export class GetETSForwardDepositOptionsForEntityContactViewModel
{
public InvoiceFrom: string;
public AllowanceCostEach: number;
public DepAvailable: boolean;
public CreditAvailable: boolean;
public MarkupPercentage: number;
public EUAPrice: number;
public OrderTotalValue: number;
public DepositPercentage: number;
public DepositTotalValue: number;
public MarginPercentageCovered: number;
public MarginCoveredTo: number;
public ServiceFeeType: string;
public TotalServiceFee: number;
public DepositCashRequired: number;
public MarginCashRisk: number;
public TotalCashRisk: number;
public DepositTitle: string;
public HeaderBarText: string;
public HeaderBarValue: string;
public MoreDetailsString: string;
public PriceToBridge: number;
public BridgeDepositValue: number;
public ExternalFeePerTicket: number;
public OurCommission: number;
public Sort: number;
public ServiceFeeDescription: string;
public ApiToUse: string;
public AitherSettlementUUID: string;
public constructor(init?: Partial<GetETSForwardDepositOptionsForEntityContactViewModel>) { (Object as any).assign(this, init); }
}
export class ETSForwardOptionsViewModel
{
public QuoteGuid: string;
public Quantity: number;
public MonthNumber: number;
public StartDate: string;
public InvoicedBy: string;
public SelectedDepositPercentage: string;
public SelectedForwardOption: string;
public ThirdPartyName: string;
public CurrentServerTime: string;
public IsBridgeClient: boolean;
public ETSQuote: ETSQuoteViewModel;
public GetETSForwardDepositOptionsForEntityContact: GetETSForwardDepositOptionsForEntityContactViewModel[];
public constructor(init?: Partial<ETSForwardOptionsViewModel>) { (Object as any).assign(this, init); }
}
TypeScript 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
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"}]}