Bridge

<back to all web services

ETSOrders

ETS
The following routes are available for this service:
GET/ETS/Orders
System.NotSupportedException: Unknown language 'mjs', Supported languages: csharp, typescript, dart, java, kotlin, python, swift, vbnet, fsharp
   at ServiceStack.NativeTypes.LangGeneratorExtensions.GenerateSourceCode(MetadataTypes metadataTypes, MetadataTypesConfig typesConfig, String lang, IRequest req, Action`1 configure) in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/NativeTypes/ILangGenerator.cs:line 53
   at ServiceStack.NativeTypes.LangGeneratorExtensions.GenerateSourceCode(List`1 metadataTypes, String lang, IRequest req, Action`1 configure) in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/NativeTypes/ILangGenerator.cs:line 26
   at ServiceStack.Metadata.BaseMetadataHandler.d__12.MoveNext() in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/Metadata/BaseMetadataHandler.cs:line 207

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

HTTP + OTHER

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/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
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}]}