Bridge

<back to all web services

ETSOrders

ETS
The following routes are available for this service:
GET/ETS/Orders
ETSOrders Parameters:
NameParameterData TypeRequiredDescription
DateFromqueryDateTime?No
DateToqueryDateTime?No
VesselIdqueryint?No
ETSViewModel Parameters:
NameParameterData TypeRequiredDescription
CanPurchaseEUAformboolNo
GetETSPriceDayChangeformGetETSPriceDayChangeViewModelNo
GetETSRegistrationStatusformGetETSRegistrationStatusViewModelNo
GetETSOrderListNewIncludingForwardsformList<GetETSOrderListNewIncludingForwardsViewModel>No
GetETSPriceDayChangeViewModel Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
TodayformDateTimeNo
PreviousCloseformdoubleNo
ClosePriceformdoubleNo
PercentageChangeformdoubleNo
EURChangeformdoubleNo
LabelDescriptionformstringNo
ShowGetQuoteButtonformboolNo
ShowPriceSectionformboolNo
MinutesRemainingformintNo
MarketCountdownLabelformstringNo
IsRegisteredformstringNo
GetETSRegistrationStatusViewModel Parameters:
NameParameterData TypeRequiredDescription
StatusformstringNo
AppliedByformstringNo
GetETSOrderListNewIncludingForwardsViewModel Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
OrderGuidformGuidNo
CompanyformstringNo
StatusformstringNo
OrderByNameformstringNo
OrderByImageGuidformGuidNo
QuantityformintNo
OrderPlacedDateTimeformstringNo
OrderVesselCountformintNo
UnitPriceformdoubleNo
TotalPriceformdoubleNo
IsForwardformboolNo
ForwardMonthformstringNo
IsThirdPartyformboolNo
ThirdPartyNameformstringNo
CurrentValueformdoubleNo
EUAMarkToMarketformdoubleNo
MonthStartingDateformDateTime?No
ShowMarkToMarketformboolNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /ETS/Orders HTTP/1.1 
Host: internal.thebunkerbridge.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"CanPurchaseEUA":false,"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"},"GetETSOrderListNewIncludingForwards":[{"Id":0,"OrderGuid":"00000000000000000000000000000000","Company":"String","Status":"String","OrderByName":"String","OrderByImageGuid":"00000000000000000000000000000000","Quantity":0,"OrderPlacedDateTime":"String","OrderVesselCount":0,"UnitPrice":0,"TotalPrice":0,"IsForward":false,"ForwardMonth":"String","IsThirdParty":false,"ThirdPartyName":"String","CurrentValue":0,"EUAMarkToMarket":0,"MonthStartingDate":"0001-01-01T00:00:00.0000000","ShowMarkToMarket":false}]}