Bridge

<back to all web services

GetCompany

Company
The following routes are available for this service:
GET/Get-Company
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
    End Namespace

    Namespace Bridge.Private.Api.DTO

        Public Partial Class GetCompany
        End Class
    End Namespace
End Namespace

VB.NET GetCompany 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 /Get-Company HTTP/1.1 
Host: internal.thebunkerbridge.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

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