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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	CanPurchaseEUA: False,
	GetETSPriceDayChange: 
	{
		Id: 0,
		Today: 0001-01-01,
		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-01,
			ShowMarkToMarket: False
		}
	]
}