Bridge

<back to all web services

ETSRegistration

ETS
The following routes are available for this service:
GET/ETS/Registration
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Bridge.Private.Api.DTO
Imports Bridge.Core.ViewModels

Namespace Global

    Namespace Bridge.Core.ViewModels

        Public Partial Class CompanyViewModel
            Public Overridable Property Guid As Guid
            Public Overridable Property Name As String
            Public Overridable Property EmailAddressPromptTextNewUser As String
            Public Overridable Property InitialChatMessage As String
            Public Overridable Property NewEnquiryEmailTopText As String
            Public Overridable Property NewEnquiryEmailBottomText As String
            Public Overridable Property NewEnquiryEmailTopTextToBuyer As String
            Public Overridable Property NewEnquiryEmailBottomTextToBuyer As String
            Public Overridable Property EmailServerName As String
            Public Overridable Property FromEmailAddress As String
            Public Overridable Property LoginPassword As String
            Public Overridable Property PortNumber As Integer
            Public Overridable Property BridgeDomain As String
            Public Overridable Property PortalDomain As String
            Public Overridable Property SendGridAPIKey As String
            Public Overridable Property NewEnquiryButtonText As String
            Public Overridable Property EmailDocuments As Boolean
            Public Overridable Property ETSOrderInfoTextNonFinanced As String
            Public Overridable Property ETSOrderInfoTextFinanced As String
            Public Overridable Property ETSRegistrationEmailAddress As String
            Public Overridable Property ETSNotRegisteredHeaderText As String
            Public Overridable Property ETSKYCHeaderText As String
            Public Overridable Property OrderConfirmationTCS As String
            Public Overridable Property MAX_ORDER_QTY As Integer
        End Class

        Public Partial Class ETSRegistrationViewModel
            Public Overridable Property Company As CompanyViewModel
            Public Overridable Property GetETSPriceDayChange As GetETSPriceDayChangeViewModel
            Public Overridable Property GetETSRegistrationStatus As GetETSRegistrationStatusViewModel
        End Class

        Public Partial Class GetETSPriceDayChangeViewModel
            Public Overridable Property Id As Integer
            Public Overridable Property Today As Date
            Public Overridable Property PreviousClose As Double
            Public Overridable Property ClosePrice As Double
            Public Overridable Property PercentageChange As Double
            Public Overridable Property EURChange As Double
            Public Overridable Property LabelDescription As String
            Public Overridable Property ShowGetQuoteButton As Boolean
            Public Overridable Property ShowPriceSection As Boolean
            Public Overridable Property MinutesRemaining As Integer
            Public Overridable Property MarketCountdownLabel As String
            Public Overridable Property IsRegistered As String
        End Class

        Public Partial Class GetETSRegistrationStatusViewModel
            Public Overridable Property Status As String
            Public Overridable Property AppliedBy As String
        End Class
    End Namespace

    Namespace Bridge.Private.Api.DTO

        Public Partial Class ETSRegistration
        End Class
    End Namespace
End Namespace

VB.NET ETSRegistration 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

HTTP + JSON

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"}}