Bridge

<back to all web services

ETSPlaceOrderSubmit

ETS
The following routes are available for this service:
POST/ETS/Place-Order
ETSPlaceOrderSubmit Parameters:
NameParameterData TypeRequiredDescription
OrderTypebodystringNo
QuoteGuidbodyGuidNo
UnitPricebodydoubleNo
PricebodydoubleNo
FinancingPricebodydoubleNo
FinancingStatusbodystringNo
ArrangementFeebodydoubleNo
ArrangementFeeDescriptionbodystringNo
ETSOrderInfoTextNonFinancedbodystringNo
ETSOrderInfoTextFinancedbodystringNo
PaymentTypebodystringNo
Quantitybodyint?No
OriginalQuantitybodyint?No
CompanyNamebodystringNo
FullNamebodystringNo
EmailAddressbodystringNo
CanPurchaseEUAbodyboolNo
ExternalFeePerTicketbodydoubleNo
OurCommissionForOrderbodydoubleNo
EUAPricebodydoubleNo
UnitCostPricebodydoubleNo
ThirdPartybodyboolNo
ThirdPartyNamebodystringNo
APIToUsebodystringNo
IoIIdbodystringNo
OfferIoibodystringNo
SpotAdditionalMarginbodydouble?No
AitherSettlementUUIDbodystringNo
LinkedVesselsbodyList<ETSLinkedVesselsViewModel>No
GetETSRegistrationStatusbodyGetETSRegistrationStatusViewModelNo
ETSLinkedVesselsViewModel Parameters:
NameParameterData TypeRequiredDescription
DeletedformboolNo
VesselIdformintNo
Quantityformint?No
MohaAccountformstringNo
IsQuoteformboolNo
GetETSRegistrationStatusViewModel Parameters:
NameParameterData TypeRequiredDescription
StatusformstringNo
AppliedByformstringNo
SavingResult Parameters:
NameParameterData TypeRequiredDescription
Idformint?No
GuidIdformGuid?No
StatusformSavingResultStatusNo
ErrorsformList<SavingResultErrors>No
SavingResultStatus Enum:
Success
Error
SavingResultErrors Parameters:
NameParameterData TypeRequiredDescription
ErrorformstringNo

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.

POST /ETS/Place-Order HTTP/1.1 
Host: internal.thebunkerbridge.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"OrderType":"String","QuoteGuid":"00000000000000000000000000000000","UnitPrice":0,"Price":0,"FinancingPrice":0,"FinancingStatus":"String","ArrangementFee":0,"ArrangementFeeDescription":"String","ETSOrderInfoTextNonFinanced":"String","ETSOrderInfoTextFinanced":"String","PaymentType":"String","Quantity":0,"OriginalQuantity":0,"CompanyName":"String","FullName":"String","EmailAddress":"String","CanPurchaseEUA":false,"ExternalFeePerTicket":0,"OurCommissionForOrder":0,"EUAPrice":0,"UnitCostPrice":0,"ThirdParty":false,"ThirdPartyName":"String","APIToUse":"String","IoIId":"String","OfferIoi":"String","SpotAdditionalMargin":0,"AitherSettlementUUID":"String","LinkedVessels":[{"Deleted":false,"VesselId":0,"Quantity":0,"MohaAccount":"String","IsQuote":false}],"GetETSRegistrationStatus":{"Status":"String","AppliedBy":"String"}}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Id":0,"GuidId":"00000000000000000000000000000000","Status":"Success","Errors":[{"Error":"String"}]}