Depending on applicable regulations or business limitations, specific API requests may not be available for your use.
Get All Folio Orders for a Member
Request orders (either all or open only) for a folio. This will return a list of orders. Only orders that are open or closed and not older than 10 days will be returned.
Request URL
Syntax | GET /restapi/members/{loginid}/orders |
---|---|
Example URL | https://api.uat.foliofn.com/restapi/members/name123/orders?openOnly=true |
Query Parameters
Name | Required? | Values | Description |
---|---|---|---|
openOnly |
no, default is false |
“true” or “false” |
Set to “true” to only return open orders. “false” will return all orders within the past 10 days. |
Response Data Fields
See Get a Folio Order for the details of each field.
Response Body Example
Status Code: 200 OK
Content-Type: application/json
Date: Wed, 18 Dec 2013 19:34:50 GMT
Location: https://api.uat.foliofn.com/restapi/members/name123/orders
Server: Sun GlassFish Enterprise Server v2.1.1
Transfer-Encoding: chunked
X-Powered-By: Servlet/2.5
[
{
"accountNumber":"RA1234ABCD",
"buyLimitPercent":"999999.00000000",
"commission":"0.00",
"creationDate":"2018-08-29T00:00:00.000-04:00",
"creationMethod":"2",
"discretionary":true,
"dollarShareBasedIndicator":"D",
"estimatedBuyDollarAmount":"0.00000",
"estimatedSellDollarAmount":"0.00000",
"executionDate":"2018-08-29T00:00:00.000-04:00",
"filledBuyDollarAmount":"0.00000",
"filledSellDollarAmount":"0.00000",
"folioNumber":"RB189380056D",
"folioOid":"1441151882982044930",
"folioOrderId":"105RXYZ",
"folioOrderOid":"2666130979599473699",
"modificationTimestamp":"2018-08-29T13:30:12.902-04:00",
"orderSubType":"M",
"orderType":"W",
"reasonForTrade":"NS",
"requestedBuyDollarAmount":"100.00000",
"requestedSellDollarAmount":"2.00000",
"scheduledWindowDatetime":"2018-08-29T11:00:00.000-04:00",
"securityOrders": [
{
"commission":"0.00",
"creationTimestamp":"2018-08-29T10:42:47.023-04:00",
"dollarShareBasedIndicator":"D",
"estimatedDollarAmount":"0.00000",
"estimatedPrice":"0.000000",
"estimatedShareAmount":"0.00000",
"filledDollarAmount":"0.00000",
"filledPrice":"0.00000",
"filledShareAmount":"0.00000",
"limitPrice":"0.000000",
"modificationTimestamp":"2018-08-29T13:30:12.903-04:00",
"quoteTimestamp":"2018-08-29T10:26:59.000-04:00",
"requestedDollarAmount":"2.00000",
"requestedPrice":"220.670000",
"requestedShareAmount":"0.00906",
"secFee":"0.00",
"security":{"ticker":"AAPL"},
"securityOrderId":"10VUFCPB",
"securityOrderOid":"432345565299716907",
"side":"2",
"state":"C",
"stateReasonCode":"201",
"stopPrice":"0.000000",
"tradeFee":"0.00"
},
{
"commission":"0.00",
"creationTimestamp":"2018-08-29T10:42:47.023-04:00",
"dollarShareBasedIndicator":"D",
"estimatedDollarAmount":"0.00000",
"estimatedPrice":"0.00000",
"estimatedShareAmount":"0.00000",
"filledDollarAmount":"0.00000",
"filledPrice":"0.00000",
"filledShareAmount":"0.00000",
"limitPrice":"0.00000",
"modificationTimestamp":"2018-08-29T13:30:12.903-04:00",
"quoteTimestamp":"2018-08-29T10:26:59.000-04:00",
"requestedDollarAmount":"100.00000",
"requestedPrice":"1259.330000",
"requestedShareAmount":"0.07941",
"secFee":"0.00",
"security":{"ticker":"GOOGL"},
"securityOrderId":"10VUFCPC",
"securityOrderOid":"5548434741992600364",
"side":"1",
"state":"C",
"stateReasonCode":"201",
"stopPrice":"0.000000",
"tradeFee":"0.00"
}
],
"sellLimitPercent":"999999.00000000",
"solicited":false,
"state":"C",
"stateReasonCode":"201"
"taxlotReliefMethod":"LGHL",
"totalCommission":"0.00",
"totalFee":"0.00",
"tradeOriginatingMemberOid":"1729382258151666074"
}
]
Change Log
08/31/2018
- New documentation.