Margin Service API - Transaction - List
Parameter | Name | Type | Required | Notes |
---|---|---|---|---|
| Encoding | No | Defaults to | |
| Portfolio ID | Yes | ||
| Requesting User ID | No | ||
| Valid | No | If specified, limits the request to valid (if true) or invalid (if false) transactions. If not specified, both are returned. |
Response
XPath | Name | Type | Required | Notes |
---|---|---|---|---|
| Error Code | No | ||
| Error Message | No | ||
| ID | Yes | ||
| Portfolio ID | Yes | ||
| Status | Yes | ||
| Transaction Type | Yes | ||
| Payload Encoding | Yes | ||
| Payload Format | Yes | ||
| String Payload | No |
Errors
Code | Description |
---|---|
| 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?portfolioId=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>Â
<transaction id="234" portfolioId="1234" status="ERROR" type="TRADE">
<payload encoding="STRING" format="FIXML">
<string><![CDATA[<FIXML><!-- TrdCaptRpt goes here --></FIXML>]]></string>
</payload>
</transaction>
</transactionRpt>
Query for Invalid Transactions
Request
GET /transactions?portfolioId=123&encoding=STRING&valid=false
Response
How was your Client Systems Wiki Experience? Submit Feedback
Copyright © 2024 CME Group Inc. All rights reserved.