Margin Service API - Transaction - Get
Description
The request allows the Client to retrieve the contents of a transaction which was already added to CORE (Add Transaction and Update Transaction). The must submit the unique CORE-assigned internal transaction identifier in the request URL. If the requested transaction does not exist with the identifier or if the client is not authorized to get the transaction then an error is returned. The server will return the requested transaction to the Client if valid and if the transaction is found.
Request
Parameter | Name | Type | Required | Notes |
---|---|---|---|---|
| Encoding | No | Defaults to | |
| Requesting User ID | No |
|
Response
XPath | Name | Type | Required | Notes |
---|---|---|---|---|
| Error Code | No |
| |
| Error Message | No |
| |
| ID | Yes |
| |
| Create Time | Yes |
| |
| Portfolio ID | Yes |
| |
| Status | Yes |
| |
| Transaction Type | Yes |
| |
| Update Time | Yes |
| |
| Payload Encoding | Yes |
| |
| Payload Format | Yes |
| |
| String Payload | No |
|
Errors
Code | Description |
---|---|
| Returned if the user does not have permission to access the specified portfolio. |
| Returned if the requested transaction could not be found. |
| The server was not able to process the request. More information (if available) will be provided in the error message. |
Examples
Basic
Request
GET /transactions/123?encoding=STRING
Response
<transactionRpt>
<transaction id="123" portfolioId="1234" status="UPDATED" type="TRADE">
<payload encoding="STRING" format="FIXML">
<string><![CDATA[<FIXML><!-- TrdCaptRpt goes here --></FIXML>]]></string>
</payload>
</transaction>
</transactionRpt>
How was your Client Systems Wiki Experience? Submit Feedback
Copyright © 2024 CME Group Inc. All rights reserved.