Endpoint Parameters
-
Request parameters
Name Type Origin Description $skip Integer Query-String The number of entries to skip from the beginning of the collection $top Integer Query-String The number of entries to return from the beginning of the collection FieldGroups OrderFieldGroup [] Query-String Optional. Specification of FieldGroups to be included in response model. Defaults to "ExchangeInfo" if not provided. MultiLegOrderId String Query-String Return only multi-leg orders with the given common MultiLegOrderId. Status OrderStatusFilter Query-String Optional. Selects only a subset of open orders to be returned based on status of the open order. Default is "Working" (i.e. orders related to working orders are excluded). -
Response Parameters
View Response CodesName Type Description __count Number The total count of items in the feed. __next String The link for the next page of items in the feed. Data OrderResponse [] The collection of entities for this feed. MaxRows Number The maximum number of rows that can be returned (if applicable). -
Request Example
Request URL
GET /port/v1/orders/me?$skip=1&$top=1&FieldGroups=DisplayAndFormat&MultiLegOrderId={MultiLegOrderId}&Status=Working
-
Response Example
Response body
{ "__next": "/openapi/port/....../?$top=1&$skip=1", "Data": [ { "AccountId": "192134INET", "AccountKey": "LZTc7DdejXODf-WSl2aCyQ==", "Amount": 250000, "AssetType": "FxSpot", "BuySell": "Buy", "CalculationReliability": "Ok", "ClientKey": "7m4I|vtYLUnEGg77o9uQhw==", "CurrentPrice": 1.09062, "CurrentPriceDelayMinutes": 0, "CurrentPriceType": "Ask", "DistanceToMarket": 0.04062, "Duration": { "DurationType": "GoodTillCancel" }, "IsForceOpen": false, "IsMarketOpen": false, "MarketPrice": 1.09062, "NonTradableReason": "None", "OpenOrderType": "Limit", "OrderAmountType": "Quantity", "OrderId": "49318458", "OrderRelation": "StandAlone", "OrderTime": "2017-04-12T07:56:00Z", "Price": 1.05, "Status": "Working", "Uic": 21 } ] }