| 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; }
}
}
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/Registration HTTP/1.1 Host: internal.thebunkerbridge.com Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Company":{"Guid":"00000000000000000000000000000000","Name":"String","EmailAddressPromptTextNewUser":"String","InitialChatMessage":"String","NewEnquiryEmailTopText":"String","NewEnquiryEmailBottomText":"String","NewEnquiryEmailTopTextToBuyer":"String","NewEnquiryEmailBottomTextToBuyer":"String","EmailServerName":"String","FromEmailAddress":"String","LoginPassword":"String","PortNumber":0,"BridgeDomain":"String","PortalDomain":"String","SendGridAPIKey":"String","NewEnquiryButtonText":"String","EmailDocuments":false,"ETSOrderInfoTextNonFinanced":"String","ETSOrderInfoTextFinanced":"String","ETSRegistrationEmailAddress":"String","ETSNotRegisteredHeaderText":"String","ETSKYCHeaderText":"String","OrderConfirmationTCS":"String","MAX_ORDER_QTY":0},"GetETSPriceDayChange":{"Id":0,"Today":"0001-01-01T00:00:00.0000000","PreviousClose":0,"ClosePrice":0,"PercentageChange":0,"EURChange":0,"LabelDescription":"String","ShowGetQuoteButton":false,"ShowPriceSection":false,"MinutesRemaining":0,"MarketCountdownLabel":"String","IsRegistered":"String"},"GetETSRegistrationStatus":{"Status":"String","AppliedBy":"String"}}