Margin Service API - Transaction - Add
| Entity | Transaction |
| Action | Add |
| URL | /transactions |
| HTTP Method | POST |
| Parameter Input | No |
| XML Input | Yes |
| Multiple Output | No |
| Synchronous | Yes |
Description
This request allows the Client to add or create a new transaction in CME CORE. The Client must submit the required attributes (specified below) for a new transaction, then the server validates the request. If the request is invalid, the server returns a status and an error message/code and if the request is valid, an internal identifier for the request along with the status are returned.
Multiple transactions can be added within one message. If processingMode="COMPLETE" then all transactions must pass validation, or none will be added. If processingMode="PARTIAL" then transactions that are invalid will not be added, but any valid transactions will be unaffected. Should this happen, the response will have have /transactionRpt@status="SUCCESS_WITH_ERRORS" and /transactionRpt/transaction/error@code and /transactionRpt/transaction/error@msg present for each transaction that failed.
Request
XPath | Name | Type | Required | Notes |
|---|---|---|---|---|
| Requesting User ID | No | ||
| Processing Mode | No | ||
| Portfolio ID | Yes | ||
| Transaction Type | Yes | ||
| Payload Encoding | Yes | ||
| Payload Format | Yes | ||
| String Payload | Yes |
Response
XPath | Name | Type | Required | Notes |
|---|---|---|---|---|
| Status | Yes | ||
| Error Code | No | ||
| Error Message | No | ||
| Create Time | Yes | ||
| ID | Yes | ||
| Portfolio ID | Yes | ||
| Entity Status | Yes | ||
| Transaction Type | Yes | ||
| Update Time | Yes | ||
| Error Code | No | ||
| Error Message | No | ||
| Payload Encoding | Yes | ||
| Payload Format | Yes | ||
| String Payload | Yes |
How was your Client Systems Wiki Experience? Submit Feedback
Copyright © 2024 CME Group Inc. All rights reserved.