Order Management System REST API - Exchange Controller
The exchange
URL provides management of Exchange metadata.
Retrieve all registered Exchanges
Section titled “Retrieve all registered Exchanges”GET /exchange
Retrieves all registered Exchange metadata.
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. |
Response
Section titled “Response”Code | Status | Description |
---|---|---|
200 | Success | Content is an array of ExchangeDetails objects. |
Add or update Exchange metadata
Section titled “Add or update Exchange metadata”POST /exchange
Requires the Alter
feature permission.
A single ExchangeDetails object.
Response
Section titled “Response”Code | Status | Description |
---|---|---|
204 | Success | Update completed successfully, or the update would make no changes. |
403 | Failure | The authenticated identity does not have the Alter permission. |
422 | Failure | Invalid data was provided. Content is a JSON array of one or more error codes describing the problem. |