Bridge

<back to all web services

ETSForwardOptions

ETS
The following routes are available for this service:
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 .xml suffix or ?format=xml

HTTP + XML

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/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ETSForwardOptionsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bridge.Core.ViewModels">
  <CurrentServerTime>0001-01-01T00:00:00</CurrentServerTime>
  <ETSQuote>
    <DeviceType>String</DeviceType>
    <FinanceFee>0</FinanceFee>
    <FinancePercentage>0</FinancePercentage>
    <FinanceStatus>String</FinanceStatus>
    <FinanceTotal>0</FinanceTotal>
    <GreyEpochFee>0</GreyEpochFee>
    <GreyEpochPrice>0</GreyEpochPrice>
    <Id>0</Id>
    <PayNowTotal>0</PayNowTotal>
    <Quantity>0</Quantity>
    <QuoteDateTime>0001-01-01T00:00:00</QuoteDateTime>
    <QuoteGuid>00000000-0000-0000-0000-000000000000</QuoteGuid>
    <ServiceFee>0</ServiceFee>
    <ServiceFeeDescription>String</ServiceFeeDescription>
    <ServiceFeeType>String</ServiceFeeType>
    <ServiceFeeValue>0</ServiceFeeValue>
  </ETSQuote>
  <GetETSForwardDepositOptionsForEntityContact>
    <GetETSForwardDepositOptionsForEntityContactViewModel>
      <AitherSettlementUUID>String</AitherSettlementUUID>
      <AllowanceCostEach>0</AllowanceCostEach>
      <ApiToUse>String</ApiToUse>
      <BridgeDepositValue>0</BridgeDepositValue>
      <CreditAvailable>false</CreditAvailable>
      <DepAvailable>false</DepAvailable>
      <DepositCashRequired>0</DepositCashRequired>
      <DepositPercentage>0</DepositPercentage>
      <DepositTitle>String</DepositTitle>
      <DepositTotalValue>0</DepositTotalValue>
      <EUAPrice>0</EUAPrice>
      <ExternalFeePerTicket>0</ExternalFeePerTicket>
      <HeaderBarText>String</HeaderBarText>
      <HeaderBarValue>String</HeaderBarValue>
      <InvoiceFrom>String</InvoiceFrom>
      <MarginCashRisk>0</MarginCashRisk>
      <MarginCoveredTo>0</MarginCoveredTo>
      <MarginPercentageCovered>0</MarginPercentageCovered>
      <MarkupPercentage>0</MarkupPercentage>
      <MoreDetailsString>String</MoreDetailsString>
      <OrderTotalValue>0</OrderTotalValue>
      <OurCommission>0</OurCommission>
      <PriceToBridge>0</PriceToBridge>
      <ServiceFeeDescription>String</ServiceFeeDescription>
      <ServiceFeeType>String</ServiceFeeType>
      <Sort>0</Sort>
      <TotalCashRisk>0</TotalCashRisk>
      <TotalServiceFee>0</TotalServiceFee>
    </GetETSForwardDepositOptionsForEntityContactViewModel>
  </GetETSForwardDepositOptionsForEntityContact>
  <InvoicedBy>String</InvoicedBy>
  <IsBridgeClient>false</IsBridgeClient>
  <MonthNumber>0</MonthNumber>
  <Quantity>0</Quantity>
  <QuoteGuid>00000000-0000-0000-0000-000000000000</QuoteGuid>
  <SelectedDepositPercentage>String</SelectedDepositPercentage>
  <SelectedForwardOption>String</SelectedForwardOption>
  <StartDate>0001-01-01T00:00:00</StartDate>
  <ThirdPartyName>String</ThirdPartyName>
</ETSForwardOptionsViewModel>