Bridge

<back to all web services

ETSOrderDetails

ETS
The following routes are available for this service:
GET/ETS/Order-Details
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Bridge.Private.Api.DTO;
using Bridge.Core.ViewModels;

namespace Bridge.Core.ViewModels
{
    public partial class ETSOrderDetailsViewModel
    {
        public virtual int Id { get; set; }
        public virtual Guid OrderGuid { get; set; }
        public virtual string OrderPlacedBy { get; set; }
        public virtual Guid OrderPlacedByImageGuid { get; set; }
        public virtual string OrderPlacedDateTime { get; set; }
        public virtual string Quantity { get; set; }
        public virtual string Status { get; set; }
        public virtual string Vessels { get; set; }
        public virtual bool Forward { get; set; }
        public virtual string OrderType { get; set; }
        public virtual string EUAPrice { get; set; }
        public virtual string GreyEpochBrokerPrice { get; set; }
        public virtual string BridgeArrangementFee { get; set; }
        public virtual string EUATotalPaid { get; set; }
        public virtual string OrderTotal { get; set; }
        public virtual string Deposit { get; set; }
        public virtual string DepositValue { get; set; }
        public virtual string MarginCoveredTo { get; set; }
        public virtual string PaymentRequests { get; set; }
        public virtual string CurrentPrice { get; set; }
        public virtual string Position { get; set; }
        public virtual string TotalPosition { get; set; }
        public virtual string FontColour { get; set; }
        public virtual bool ThirdParty { get; set; }
        public virtual string ThirdPartyName { get; set; }
        public virtual bool Financed { get; set; }
        public virtual bool ShowMarkToMarket { get; set; }
    }

}

namespace Bridge.Private.Api.DTO
{
    public partial class ETSOrderDetails
    {
        public virtual Guid Id { get; set; }
    }

}

C# ETSOrderDetails DTOs

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/Order-Details HTTP/1.1 
Host: internal.thebunkerbridge.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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
}