Bridge

<back to all web services

ETSRegistration

ETS
The following routes are available for this service:
GET/ETS/Registration
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class ETSRegistration
    {
        
    }

    public static class ETSRegistrationViewModel
    {
        public CompanyViewModel Company = null;
        public GetETSPriceDayChangeViewModel GetETSPriceDayChange = null;
        public GetETSRegistrationStatusViewModel GetETSRegistrationStatus = null;
        
        public CompanyViewModel getCompany() { return Company; }
        public ETSRegistrationViewModel setCompany(CompanyViewModel value) { this.Company = value; return this; }
        public GetETSPriceDayChangeViewModel getGetETSPriceDayChange() { return GetETSPriceDayChange; }
        public ETSRegistrationViewModel setGetETSPriceDayChange(GetETSPriceDayChangeViewModel value) { this.GetETSPriceDayChange = value; return this; }
        public GetETSRegistrationStatusViewModel getGetETSRegistrationStatus() { return GetETSRegistrationStatus; }
        public ETSRegistrationViewModel setGetETSRegistrationStatus(GetETSRegistrationStatusViewModel value) { this.GetETSRegistrationStatus = value; return this; }
    }

    public static class CompanyViewModel
    {
        public UUID Guid = null;
        public String Name = null;
        public String EmailAddressPromptTextNewUser = null;
        public String InitialChatMessage = null;
        public String NewEnquiryEmailTopText = null;
        public String NewEnquiryEmailBottomText = null;
        public String NewEnquiryEmailTopTextToBuyer = null;
        public String NewEnquiryEmailBottomTextToBuyer = null;
        public String EmailServerName = null;
        public String FromEmailAddress = null;
        public String LoginPassword = null;
        public Integer PortNumber = null;
        public String BridgeDomain = null;
        public String PortalDomain = null;
        public String SendGridAPIKey = null;
        public String NewEnquiryButtonText = null;
        public Boolean EmailDocuments = null;
        public String ETSOrderInfoTextNonFinanced = null;
        public String ETSOrderInfoTextFinanced = null;
        public String ETSRegistrationEmailAddress = null;
        public String ETSNotRegisteredHeaderText = null;
        public String ETSKYCHeaderText = null;
        public String OrderConfirmationTCS = null;
        public Integer MAX_ORDER_QTY = null;
        
        public UUID getGuid() { return Guid; }
        public CompanyViewModel setGuid(UUID value) { this.Guid = value; return this; }
        public String getName() { return Name; }
        public CompanyViewModel setName(String value) { this.Name = value; return this; }
        public String getEmailAddressPromptTextNewUser() { return EmailAddressPromptTextNewUser; }
        public CompanyViewModel setEmailAddressPromptTextNewUser(String value) { this.EmailAddressPromptTextNewUser = value; return this; }
        public String getInitialChatMessage() { return InitialChatMessage; }
        public CompanyViewModel setInitialChatMessage(String value) { this.InitialChatMessage = value; return this; }
        public String getNewEnquiryEmailTopText() { return NewEnquiryEmailTopText; }
        public CompanyViewModel setNewEnquiryEmailTopText(String value) { this.NewEnquiryEmailTopText = value; return this; }
        public String getNewEnquiryEmailBottomText() { return NewEnquiryEmailBottomText; }
        public CompanyViewModel setNewEnquiryEmailBottomText(String value) { this.NewEnquiryEmailBottomText = value; return this; }
        public String getNewEnquiryEmailTopTextToBuyer() { return NewEnquiryEmailTopTextToBuyer; }
        public CompanyViewModel setNewEnquiryEmailTopTextToBuyer(String value) { this.NewEnquiryEmailTopTextToBuyer = value; return this; }
        public String getNewEnquiryEmailBottomTextToBuyer() { return NewEnquiryEmailBottomTextToBuyer; }
        public CompanyViewModel setNewEnquiryEmailBottomTextToBuyer(String value) { this.NewEnquiryEmailBottomTextToBuyer = value; return this; }
        public String getEmailServerName() { return EmailServerName; }
        public CompanyViewModel setEmailServerName(String value) { this.EmailServerName = value; return this; }
        public String getFromEmailAddress() { return FromEmailAddress; }
        public CompanyViewModel setFromEmailAddress(String value) { this.FromEmailAddress = value; return this; }
        public String getLoginPassword() { return LoginPassword; }
        public CompanyViewModel setLoginPassword(String value) { this.LoginPassword = value; return this; }
        public Integer getPortNumber() { return PortNumber; }
        public CompanyViewModel setPortNumber(Integer value) { this.PortNumber = value; return this; }
        public String getBridgeDomain() { return BridgeDomain; }
        public CompanyViewModel setBridgeDomain(String value) { this.BridgeDomain = value; return this; }
        public String getPortalDomain() { return PortalDomain; }
        public CompanyViewModel setPortalDomain(String value) { this.PortalDomain = value; return this; }
        public String getSendGridAPIKey() { return SendGridAPIKey; }
        public CompanyViewModel setSendGridAPIKey(String value) { this.SendGridAPIKey = value; return this; }
        public String getNewEnquiryButtonText() { return NewEnquiryButtonText; }
        public CompanyViewModel setNewEnquiryButtonText(String value) { this.NewEnquiryButtonText = value; return this; }
        public Boolean isEmailDocuments() { return EmailDocuments; }
        public CompanyViewModel setEmailDocuments(Boolean value) { this.EmailDocuments = value; return this; }
        public String getEtsOrderInfoTextNonFinanced() { return ETSOrderInfoTextNonFinanced; }
        public CompanyViewModel setEtsOrderInfoTextNonFinanced(String value) { this.ETSOrderInfoTextNonFinanced = value; return this; }
        public String getEtsOrderInfoTextFinanced() { return ETSOrderInfoTextFinanced; }
        public CompanyViewModel setEtsOrderInfoTextFinanced(String value) { this.ETSOrderInfoTextFinanced = value; return this; }
        public String getEtsRegistrationEmailAddress() { return ETSRegistrationEmailAddress; }
        public CompanyViewModel setEtsRegistrationEmailAddress(String value) { this.ETSRegistrationEmailAddress = value; return this; }
        public String getEtsNotRegisteredHeaderText() { return ETSNotRegisteredHeaderText; }
        public CompanyViewModel setEtsNotRegisteredHeaderText(String value) { this.ETSNotRegisteredHeaderText = value; return this; }
        public String getEtskycHeaderText() { return ETSKYCHeaderText; }
        public CompanyViewModel setEtskycHeaderText(String value) { this.ETSKYCHeaderText = value; return this; }
        public String getOrderConfirmationTCS() { return OrderConfirmationTCS; }
        public CompanyViewModel setOrderConfirmationTCS(String value) { this.OrderConfirmationTCS = value; return this; }
        public Integer getMaxOrderQty() { return MAX_ORDER_QTY; }
        public CompanyViewModel setMaxOrderQty(Integer value) { this.MAX_ORDER_QTY = value; return this; }
    }

    public static class GetETSPriceDayChangeViewModel
    {
        public Integer Id = null;
        public Date Today = null;
        public Double PreviousClose = null;
        public Double ClosePrice = null;
        public Double PercentageChange = null;
        public Double EURChange = null;
        public String LabelDescription = null;
        public Boolean ShowGetQuoteButton = null;
        public Boolean ShowPriceSection = null;
        public Integer MinutesRemaining = null;
        public String MarketCountdownLabel = null;
        public String IsRegistered = null;
        
        public Integer getId() { return Id; }
        public GetETSPriceDayChangeViewModel setId(Integer value) { this.Id = value; return this; }
        public Date getToday() { return Today; }
        public GetETSPriceDayChangeViewModel setToday(Date value) { this.Today = value; return this; }
        public Double getPreviousClose() { return PreviousClose; }
        public GetETSPriceDayChangeViewModel setPreviousClose(Double value) { this.PreviousClose = value; return this; }
        public Double getClosePrice() { return ClosePrice; }
        public GetETSPriceDayChangeViewModel setClosePrice(Double value) { this.ClosePrice = value; return this; }
        public Double getPercentageChange() { return PercentageChange; }
        public GetETSPriceDayChangeViewModel setPercentageChange(Double value) { this.PercentageChange = value; return this; }
        public Double getEurChange() { return EURChange; }
        public GetETSPriceDayChangeViewModel setEurChange(Double value) { this.EURChange = value; return this; }
        public String getLabelDescription() { return LabelDescription; }
        public GetETSPriceDayChangeViewModel setLabelDescription(String value) { this.LabelDescription = value; return this; }
        public Boolean isShowGetQuoteButton() { return ShowGetQuoteButton; }
        public GetETSPriceDayChangeViewModel setShowGetQuoteButton(Boolean value) { this.ShowGetQuoteButton = value; return this; }
        public Boolean isShowPriceSection() { return ShowPriceSection; }
        public GetETSPriceDayChangeViewModel setShowPriceSection(Boolean value) { this.ShowPriceSection = value; return this; }
        public Integer getMinutesRemaining() { return MinutesRemaining; }
        public GetETSPriceDayChangeViewModel setMinutesRemaining(Integer value) { this.MinutesRemaining = value; return this; }
        public String getMarketCountdownLabel() { return MarketCountdownLabel; }
        public GetETSPriceDayChangeViewModel setMarketCountdownLabel(String value) { this.MarketCountdownLabel = value; return this; }
        public String getIsRegistered() { return IsRegistered; }
        public GetETSPriceDayChangeViewModel setIsRegistered(String value) { this.IsRegistered = value; return this; }
    }

    public static class GetETSRegistrationStatusViewModel
    {
        public String Status = null;
        public String AppliedBy = null;
        
        public String getStatus() { return Status; }
        public GetETSRegistrationStatusViewModel setStatus(String value) { this.Status = value; return this; }
        public String getAppliedBy() { return AppliedBy; }
        public GetETSRegistrationStatusViewModel setAppliedBy(String value) { this.AppliedBy = value; return this; }
    }

}

Java ETSRegistration 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/Registration HTTP/1.1 
Host: internal.thebunkerbridge.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ETSRegistrationViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bridge.Core.ViewModels">
  <Company>
    <BridgeDomain>String</BridgeDomain>
    <ETSKYCHeaderText>String</ETSKYCHeaderText>
    <ETSNotRegisteredHeaderText>String</ETSNotRegisteredHeaderText>
    <ETSOrderInfoTextFinanced>String</ETSOrderInfoTextFinanced>
    <ETSOrderInfoTextNonFinanced>String</ETSOrderInfoTextNonFinanced>
    <ETSRegistrationEmailAddress>String</ETSRegistrationEmailAddress>
    <EmailAddressPromptTextNewUser>String</EmailAddressPromptTextNewUser>
    <EmailDocuments>false</EmailDocuments>
    <EmailServerName>String</EmailServerName>
    <FromEmailAddress>String</FromEmailAddress>
    <Guid>00000000-0000-0000-0000-000000000000</Guid>
    <InitialChatMessage>String</InitialChatMessage>
    <LoginPassword>String</LoginPassword>
    <MAX_ORDER_QTY>0</MAX_ORDER_QTY>
    <Name>String</Name>
    <NewEnquiryButtonText>String</NewEnquiryButtonText>
    <NewEnquiryEmailBottomText>String</NewEnquiryEmailBottomText>
    <NewEnquiryEmailBottomTextToBuyer>String</NewEnquiryEmailBottomTextToBuyer>
    <NewEnquiryEmailTopText>String</NewEnquiryEmailTopText>
    <NewEnquiryEmailTopTextToBuyer>String</NewEnquiryEmailTopTextToBuyer>
    <OrderConfirmationTCS>String</OrderConfirmationTCS>
    <PortNumber>0</PortNumber>
    <PortalDomain>String</PortalDomain>
    <SendGridAPIKey>String</SendGridAPIKey>
  </Company>
  <GetETSPriceDayChange>
    <ClosePrice>0</ClosePrice>
    <EURChange>0</EURChange>
    <Id>0</Id>
    <IsRegistered>String</IsRegistered>
    <LabelDescription>String</LabelDescription>
    <MarketCountdownLabel>String</MarketCountdownLabel>
    <MinutesRemaining>0</MinutesRemaining>
    <PercentageChange>0</PercentageChange>
    <PreviousClose>0</PreviousClose>
    <ShowGetQuoteButton>false</ShowGetQuoteButton>
    <ShowPriceSection>false</ShowPriceSection>
    <Today>0001-01-01T00:00:00</Today>
  </GetETSPriceDayChange>
  <GetETSRegistrationStatus>
    <AppliedBy>String</AppliedBy>
    <Status>String</Status>
  </GetETSRegistrationStatus>
</ETSRegistrationViewModel>