Order Management System REST API - Order Controller
The order/for/<owner>/<account>
URI provides access to known Orders for a specific Trading Account.
Retrieve Orders for a Trading Account
Section titled “Retrieve Orders for a Trading Account”GET /order/for/<owner>/<account>
Retrieves all Orders for the Trading Account known to OMS.
URL Parameters
Section titled “URL Parameters”Parameter | Description |
---|---|
owner | A URL-encoded Owner Code. |
account | A URL-encoded Account ID unique to the Owner. |
Query Parameters
Section titled “Query Parameters”Parameter | Expected | Description |
---|---|---|
asAt | Optional | An ISO8601 date and time. The results returned will be those at the given timestamp. If omitted, returns the latest results. |
onlyActive | Optional | Boolean. When true, only returns orders that remain active. Orders with a status marked IsComplete will be omitted. |
Response
Section titled “Response”Code | Status | Description |
---|---|---|
200 | Success | Content is an array of OrderState objects. |
404 | Failure | Owner or Trading Account does not exist, or the authenticated identity does not have permission to see this Trading Account. |