Bridge

<back to all web services

DealRecapAccept

Deal Recaps
The following routes are available for this service:
GET/Deal-Recap/Accept
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 GetRecapDetailsViewModel
            Public Sub New()
                CompanyLogo = New Byte(){}
                CountryFlag = New Byte(){}
            End Sub

            Public Overridable Property Guid As Guid
            Public Overridable Property DocumentTitle As String
            Public Overridable Property GeneralComments As String
            Public Overridable Property EnquiryId As Integer
            Public Overridable Property EnquiryGuid As Guid
            Public Overridable Property CompanyLogo As Byte()
            Public Overridable Property FromContactName As String
            Public Overridable Property ContactGuid As Guid
            Public Overridable Property EntityName As String
            Public Overridable Property VesselName As String
            Public Overridable Property IMONumber As Integer
            Public Overridable Property PortCode As String
            Public Overridable Property PortName As String
            Public Overridable Property CountryName As String
            Public Overridable Property CountryFlag As Byte()
            Public Overridable Property DateFrom As Date
            Public Overridable Property DateTo As Date
            Public Overridable Property BuyerAccountName As String
            Public Overridable Property DeliveryMethod As String
            Public Overridable Property AgentDetails As String
            Public Overridable Property RecapTerms As String
            Public Overridable Property AdditionalCosts As String
            Public Overridable Property RecapGrades As String
            Public Overridable Property Accepted As Nullable(Of Boolean)
            Public Overridable Property Rejected As Nullable(Of Boolean)
            Public Overridable Property FromEntityContactId As Integer
            Public Overridable Property ToEntityContactId As Integer
            Public Overridable Property RecapComments As String
            Public Overridable Property TermsAndConditions As String
            Public Overridable Property ImageGuid As Guid
            Public Overridable Property VesselId As Integer
            Public Overridable Property ConfirmationOnly As Boolean
        End Class
    End Namespace

    Namespace Bridge.Private.Api.DTO

        Public Partial Class DealRecapAccept
            Public Overridable Property Guid As Guid
        End Class
    End Namespace
End Namespace

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

{"Guid":"00000000000000000000000000000000","DocumentTitle":"String","GeneralComments":"String","EnquiryId":0,"EnquiryGuid":"00000000000000000000000000000000","CompanyLogo":"AA==","FromContactName":"String","ContactGuid":"00000000000000000000000000000000","EntityName":"String","VesselName":"String","IMONumber":0,"PortCode":"String","PortName":"String","CountryName":"String","CountryFlag":"AA==","DateFrom":"0001-01-01T00:00:00.0000000","DateTo":"0001-01-01T00:00:00.0000000","BuyerAccountName":"String","DeliveryMethod":"String","AgentDetails":"String","RecapTerms":"String","AdditionalCosts":"String","RecapGrades":"String","Accepted":false,"Rejected":false,"FromEntityContactId":0,"ToEntityContactId":0,"RecapComments":"String","TermsAndConditions":"String","ImageGuid":"00000000000000000000000000000000","VesselId":0,"ConfirmationOnly":false}