| GET | /Deal-Recap |
|---|
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 DealRecap
Public Overridable Property Guid As Guid
End Class
End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Deal-Recap HTTP/1.1 Host: internal.thebunkerbridge.com Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <GetRecapDetailsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bridge.Core.ViewModels"> <Accepted>false</Accepted> <AdditionalCosts>String</AdditionalCosts> <AgentDetails>String</AgentDetails> <BuyerAccountName>String</BuyerAccountName> <CompanyLogo>AA==</CompanyLogo> <ConfirmationOnly>false</ConfirmationOnly> <ContactGuid>00000000-0000-0000-0000-000000000000</ContactGuid> <CountryFlag>AA==</CountryFlag> <CountryName>String</CountryName> <DateFrom>0001-01-01T00:00:00</DateFrom> <DateTo>0001-01-01T00:00:00</DateTo> <DeliveryMethod>String</DeliveryMethod> <DocumentTitle>String</DocumentTitle> <EnquiryGuid>00000000-0000-0000-0000-000000000000</EnquiryGuid> <EnquiryId>0</EnquiryId> <EntityName>String</EntityName> <FromContactName>String</FromContactName> <FromEntityContactId>0</FromEntityContactId> <GeneralComments>String</GeneralComments> <Guid>00000000-0000-0000-0000-000000000000</Guid> <IMONumber>0</IMONumber> <ImageGuid>00000000-0000-0000-0000-000000000000</ImageGuid> <PortCode>String</PortCode> <PortName>String</PortName> <RecapComments>String</RecapComments> <RecapGrades>String</RecapGrades> <RecapTerms>String</RecapTerms> <Rejected>false</Rejected> <TermsAndConditions>String</TermsAndConditions> <ToEntityContactId>0</ToEntityContactId> <VesselId>0</VesselId> <VesselName>String</VesselName> </GetRecapDetailsViewModel>