Page tree
Skip to end of metadata
Go to start of metadata
The delete transaction request deletes a transaction from the CME CORE database.


EntityTransaction
ActionDelete
URL/transactions/{id}
HTTP MethodDELETE
Parameter InputYes
XML InputNo
Multiple OutputNo
SynchronousYes

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

ParameterNameTypeRequiredNotes
reqUserIdRequesting User IDString No

Response

XPathNameTypeRequiredNotes
/transactionRpt@statusStatusSync Report StatusYes
/transactionRpt/error@codeError MessageStringNo
/transactionRpt/error@msgError CodeStringNo
/transactionRpt/transaction@idIDStringYes
/transactionRpt/transaction@statusEntity StatusEntity StatusYes

Errors

CodeDescription
403Returned if the user does not have permission to access the specified transaction.
404Returned if the requested transaction could not be found.
500The 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>