Margin Service API - Transaction - Delete
The delete transaction request deletes a transaction from the CME CORE database.
Entity | Transaction |
Action | Delete |
URL | /transactions/{id} |
HTTP Method | DELETE |
Parameter Input | Yes |
XML Input | No |
Multiple Output | No |
Synchronous | Yes |
Description
This request allows the user to delete a specific transaction. The Client must submit the CME CORE-assigned transaction identifier in the request URL. If the requested transaction does not exist in the CME CORE database or if the user is not authorized to delete the transaction, an error is returned. Otherwise the server will delete the requested transaction.
Request
Parameter | Name | Type | Required | Notes |
---|---|---|---|---|
reqUserId | Requesting User ID | String | No |
Response
XPath | Name | Type | Required | Notes |
---|---|---|---|---|
/transactionRpt@status | Status | Sync Report Status | Yes | |
/transactionRpt/error@code | Error Message | String | No | |
/transactionRpt/error@msg | Error Code | String | No | |
/transactionRpt/transaction@id | ID | String | Yes | |
/transactionRpt/transaction@status | Entity Status | Entity Status | Yes |
Errors
Code | Description |
---|---|
403 | Returned if the user does not have permission to access the specified transaction. |
404 | Returned if the requested transaction could not be found. |
500 | The server was not able to process the request. More information (if available) will be provided in the error message. |
Examples
Basic
Request
DELETE /transactions/123
Response
<transactionRpt> <transaction id="123" status="DELETED" /> </trsansactionRpt>
How was your Client Systems Wiki Experience? Submit Feedback
Copyright © 2024 CME Group Inc. All rights reserved.