| GET | /ETS/Order-Details |
|---|
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 ETSOrderDetailsViewModel
Public Overridable Property Id As Integer
Public Overridable Property OrderGuid As Guid
Public Overridable Property OrderPlacedBy As String
Public Overridable Property OrderPlacedByImageGuid As Guid
Public Overridable Property OrderPlacedDateTime As String
Public Overridable Property Quantity As String
Public Overridable Property Status As String
Public Overridable Property Vessels As String
Public Overridable Property Forward As Boolean
Public Overridable Property OrderType As String
Public Overridable Property EUAPrice As String
Public Overridable Property GreyEpochBrokerPrice As String
Public Overridable Property BridgeArrangementFee As String
Public Overridable Property EUATotalPaid As String
Public Overridable Property OrderTotal As String
Public Overridable Property Deposit As String
Public Overridable Property DepositValue As String
Public Overridable Property MarginCoveredTo As String
Public Overridable Property PaymentRequests As String
Public Overridable Property CurrentPrice As String
Public Overridable Property Position As String
Public Overridable Property TotalPosition As String
Public Overridable Property FontColour As String
Public Overridable Property ThirdParty As Boolean
Public Overridable Property ThirdPartyName As String
Public Overridable Property Financed As Boolean
Public Overridable Property ShowMarkToMarket As Boolean
End Class
End Namespace
Namespace Bridge.Private.Api.DTO
Public Partial Class ETSOrderDetails
Public Overridable Property Id As Guid
End Class
End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /ETS/Order-Details HTTP/1.1 Host: internal.thebunkerbridge.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Id":0,"OrderGuid":"00000000000000000000000000000000","OrderPlacedBy":"String","OrderPlacedByImageGuid":"00000000000000000000000000000000","OrderPlacedDateTime":"String","Quantity":"String","Status":"String","Vessels":"String","Forward":false,"OrderType":"String","EUAPrice":"String","GreyEpochBrokerPrice":"String","BridgeArrangementFee":"String","EUATotalPaid":"String","OrderTotal":"String","Deposit":"String","DepositValue":"String","MarginCoveredTo":"String","PaymentRequests":"String","CurrentPrice":"String","Position":"String","TotalPosition":"String","FontColour":"String","ThirdParty":false,"ThirdPartyName":"String","Financed":false,"ShowMarkToMarket":false}